This commit is contained in:
Silver 2024-05-11 00:42:19 +08:00 committed by GitHub
commit 65ef907222
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -16,12 +16,13 @@ from .ffmpeg import (
from .xattrpp import XAttrMetadataPP
from .execafterdownload import ExecAfterDownloadPP
from .metadatafromtitle import MetadataFromTitlePP
from .common import PostProcessor
def get_postprocessor(key):
if isinstance(key, PostProcessor):
return key
return globals()[key + 'PP']
__all__ = [
'EmbedThumbnailPP',
'ExecAfterDownloadPP',