X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/e8cd8c4bd832446f1971215b9fedc4531555dc1a..620b803afb94df95e3761acf1e764a9eb3a4b00c:/youtube_dl/postprocessor/__init__.py?ds=inline diff --git a/youtube_dl/postprocessor/__init__.py b/youtube_dl/postprocessor/__init__.py index 7f19f71..0ffbca2 100644 --- a/youtube_dl/postprocessor/__init__.py +++ b/youtube_dl/postprocessor/__init__.py @@ -1,18 +1,36 @@ +from __future__ import unicode_literals +from .atomicparsley import AtomicParsleyPP from .ffmpeg import ( + FFmpegPostProcessor, + FFmpegAudioFixPP, + FFmpegEmbedSubtitlePP, + FFmpegExtractAudioPP, + FFmpegFixupStretchedPP, + FFmpegFixupM4aPP, FFmpegMergerPP, FFmpegMetadataPP, - FFmpegVideoConvertor, - FFmpegExtractAudioPP, - FFmpegEmbedSubtitlePP, + FFmpegVideoConvertorPP, ) from .xattrpp import XAttrMetadataPP +from .execafterdownload import ExecAfterDownloadPP + + +def get_postprocessor(key): + return globals()[key + 'PP'] + __all__ = [ + 'AtomicParsleyPP', + 'ExecAfterDownloadPP', + 'FFmpegAudioFixPP', + 'FFmpegEmbedSubtitlePP', + 'FFmpegExtractAudioPP', + 'FFmpegFixupM4aPP', + 'FFmpegFixupStretchedPP', 'FFmpegMergerPP', 'FFmpegMetadataPP', - 'FFmpegVideoConvertor', - 'FFmpegExtractAudioPP', - 'FFmpegEmbedSubtitlePP', + 'FFmpegPostProcessor', + 'FFmpegVideoConvertorPP', 'XAttrMetadataPP', ]