2021-09-29 14:53:33 -06:00
|
|
|
# flake8: noqa: F401
|
|
|
|
|
|
|
|
from ..utils import load_plugins
|
2012-03-24 19:07:37 -06:00
|
|
|
|
2021-11-09 15:44:42 -07:00
|
|
|
from .common import PostProcessor
|
2015-04-24 00:48:49 -06:00
|
|
|
from .embedthumbnail import EmbedThumbnailPP
|
2021-09-29 14:53:33 -06:00
|
|
|
from .exec import ExecPP, ExecAfterDownloadPP
|
2014-01-06 21:59:22 -07:00
|
|
|
from .ffmpeg import (
|
2014-10-26 09:31:52 -06:00
|
|
|
FFmpegPostProcessor,
|
|
|
|
FFmpegEmbedSubtitlePP,
|
|
|
|
FFmpegExtractAudioPP,
|
2021-06-21 11:23:17 -06:00
|
|
|
FFmpegFixupDurationPP,
|
2015-01-09 21:45:51 -07:00
|
|
|
FFmpegFixupStretchedPP,
|
2021-06-21 11:23:17 -06:00
|
|
|
FFmpegFixupTimestampPP,
|
2016-03-01 13:08:50 -07:00
|
|
|
FFmpegFixupM3u8PP,
|
2015-01-23 10:39:12 -07:00
|
|
|
FFmpegFixupM4aPP,
|
2014-01-06 21:59:22 -07:00
|
|
|
FFmpegMergerPP,
|
|
|
|
FFmpegMetadataPP,
|
2015-02-28 06:43:24 -07:00
|
|
|
FFmpegSubtitlesConvertorPP,
|
2021-04-10 16:18:52 -06:00
|
|
|
FFmpegThumbnailsConvertorPP,
|
2021-03-14 17:02:13 -06:00
|
|
|
FFmpegSplitChaptersPP,
|
2021-04-10 18:22:55 -06:00
|
|
|
FFmpegVideoConvertorPP,
|
|
|
|
FFmpegVideoRemuxerPP,
|
2013-10-14 18:07:26 -06:00
|
|
|
)
|
2021-08-09 13:52:55 -06:00
|
|
|
from .metadataparser import (
|
|
|
|
MetadataFromFieldPP,
|
|
|
|
MetadataFromTitlePP,
|
|
|
|
MetadataParserPP,
|
|
|
|
)
|
2021-09-29 14:53:33 -06:00
|
|
|
from .modify_chapters import ModifyChaptersPP
|
2021-01-23 05:18:12 -07:00
|
|
|
from .movefilesafterdownload import MoveFilesAfterDownloadPP
|
2020-11-14 17:28:41 -07:00
|
|
|
from .sponskrub import SponSkrubPP
|
2021-09-29 14:53:33 -06:00
|
|
|
from .sponsorblock import SponsorBlockPP
|
|
|
|
from .xattrpp import XAttrMetadataPP
|
|
|
|
|
|
|
|
_PLUGIN_CLASSES = load_plugins('postprocessor', 'PP', globals())
|
2014-01-06 21:59:22 -07:00
|
|
|
|
2014-12-14 17:06:25 -07:00
|
|
|
|
|
|
|
def get_postprocessor(key):
|
|
|
|
return globals()[key + 'PP']
|
|
|
|
|
|
|
|
|
2021-11-09 15:44:42 -07:00
|
|
|
__all__ = [name for name in globals().keys() if name.endswith('PP')]
|
|
|
|
__all__.extend(('PostProcessor', 'FFmpegPostProcessor'))
|