from ..utils import (
PostProcessingError,
+ cli_configuration_args,
encodeFilename,
)
PostProcessor objects follow a "mutual registration" process similar
to InfoExtractor objects.
+
+ Optionally PostProcessor can use a list of additional command-line arguments
+ with self._configuration_args.
"""
_downloader = None
except Exception:
self._downloader.report_warning(errnote)
+ def _configuration_args(self, default=[]):
+ return cli_configuration_args(self._downloader.params, 'postprocessor_args', default)
+
class AudioConversionError(PostProcessingError):
pass