3 from .common
import PostProcessor
4 from .embedthumbnail
import EmbedThumbnailPP
5 from .exec import ExecAfterDownloadPP
, ExecPP
11 FFmpegFixupDuplicateMoovPP
,
12 FFmpegFixupDurationPP
,
15 FFmpegFixupStretchedPP
,
16 FFmpegFixupTimestampPP
,
20 FFmpegSplitChaptersPP
,
21 FFmpegSubtitlesConvertorPP
,
22 FFmpegThumbnailsConvertorPP
,
23 FFmpegVideoConvertorPP
,
26 from .metadataparser
import (
31 from .modify_chapters
import ModifyChaptersPP
32 from .movefilesafterdownload
import MoveFilesAfterDownloadPP
33 from .sponskrub
import SponSkrubPP
34 from .sponsorblock
import SponsorBlockPP
35 from .xattrpp
import XAttrMetadataPP
36 from ..plugins
import load_plugins
38 _PLUGIN_CLASSES
= load_plugins('postprocessor', 'PP')
41 def get_postprocessor(key
):
42 return globals()[key
+ 'PP']
45 globals().update(_PLUGIN_CLASSES
)
46 __all__
= [name
for name
in globals() if name
.endswith('PP')]
47 __all__
.extend(('PostProcessor', 'FFmpegPostProcessor'))