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