2014-11-26 20:01:20 +01:00
|
|
|
from __future__ import unicode_literals
|
2012-03-25 03:07:37 +02:00
|
|
|
|
2015-04-24 08:48:49 +02:00
|
|
|
from .embedthumbnail import EmbedThumbnailPP
|
2014-01-07 05:59:22 +01:00
|
|
|
from .ffmpeg import (
|
2014-10-26 16:31:52 +01:00
|
|
|
FFmpegPostProcessor,
|
|
|
|
FFmpegEmbedSubtitlePP,
|
|
|
|
FFmpegExtractAudioPP,
|
2015-01-10 05:45:51 +01:00
|
|
|
FFmpegFixupStretchedPP,
|
2016-03-01 21:08:50 +01:00
|
|
|
FFmpegFixupM3u8PP,
|
2015-01-23 18:39:12 +01:00
|
|
|
FFmpegFixupM4aPP,
|
2014-01-07 05:59:22 +01:00
|
|
|
FFmpegMergerPP,
|
|
|
|
FFmpegMetadataPP,
|
2014-12-15 01:06:25 +01:00
|
|
|
FFmpegVideoConvertorPP,
|
2020-05-16 18:09:12 +02:00
|
|
|
FFmpegVideoRemuxerPP,
|
2015-02-28 14:43:24 +01:00
|
|
|
FFmpegSubtitlesConvertorPP,
|
2013-10-15 02:07:26 +02:00
|
|
|
)
|
2014-01-07 05:59:22 +01:00
|
|
|
from .xattrpp import XAttrMetadataPP
|
2014-08-23 21:30:13 +02:00
|
|
|
from .execafterdownload import ExecAfterDownloadPP
|
2015-03-04 22:33:56 +01:00
|
|
|
from .metadatafromtitle import MetadataFromTitlePP
|
2021-01-23 13:18:12 +01:00
|
|
|
from .movefilesafterdownload import MoveFilesAfterDownloadPP
|
2020-11-15 01:28:41 +01:00
|
|
|
from .sponskrub import SponSkrubPP
|
2014-01-07 05:59:22 +01:00
|
|
|
|
2014-12-15 01:06:25 +01:00
|
|
|
|
|
|
|
def get_postprocessor(key):
|
|
|
|
return globals()[key + 'PP']
|
|
|
|
|
|
|
|
|
2014-01-07 05:59:22 +01:00
|
|
|
__all__ = [
|
2015-04-24 08:48:49 +02:00
|
|
|
'EmbedThumbnailPP',
|
2014-10-26 16:31:52 +01:00
|
|
|
'ExecAfterDownloadPP',
|
|
|
|
'FFmpegEmbedSubtitlePP',
|
|
|
|
'FFmpegExtractAudioPP',
|
2016-03-01 21:08:50 +01:00
|
|
|
'FFmpegFixupM3u8PP',
|
2015-01-23 18:39:12 +01:00
|
|
|
'FFmpegFixupM4aPP',
|
2015-01-10 05:45:51 +01:00
|
|
|
'FFmpegFixupStretchedPP',
|
2014-01-07 05:59:22 +01:00
|
|
|
'FFmpegMergerPP',
|
|
|
|
'FFmpegMetadataPP',
|
2014-10-26 16:31:52 +01:00
|
|
|
'FFmpegPostProcessor',
|
2015-02-28 14:43:24 +01:00
|
|
|
'FFmpegSubtitlesConvertorPP',
|
2014-12-15 01:06:25 +01:00
|
|
|
'FFmpegVideoConvertorPP',
|
2020-05-16 18:09:12 +02:00
|
|
|
'FFmpegVideoRemuxerPP',
|
2015-03-04 22:33:56 +01:00
|
|
|
'MetadataFromTitlePP',
|
2021-01-23 13:18:12 +01:00
|
|
|
'MoveFilesAfterDownloadPP',
|
2020-11-15 01:28:41 +01:00
|
|
|
'SponSkrubPP',
|
2014-01-07 05:59:22 +01:00
|
|
|
'XAttrMetadataPP',
|
|
|
|
]
|