1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-24 07:40:24 +01:00

add author including mov, exclusion wasn't needed

This commit is contained in:
kikuyan 2021-07-15 17:08:34 +09:00
parent 92821a5131
commit 9ef58fbbf3

View File

@ -512,8 +512,7 @@ class FFmpegMetadataPP(FFmpegPostProcessor):
if info['ext'] in ('mov', 'avi', 'wav'): if info['ext'] in ('mov', 'avi', 'wav'):
add_comment('', 'description') add_comment('', 'description')
add_comment('composer') # may be by --metadata-from-title add_comment('composer') # may be by --metadata-from-title
if info['ext'] in ('mp4', 'm4a', 'avi', 'wav'): add_comment('author') # may be by --metadata-from-title
add_comment('author') # may be by --metadata-from-title
add_comment('conductor') # may be by --metadata-from-title add_comment('conductor') # may be by --metadata-from-title
add_comment('publisher', ('uploader', 'uploader_id')) add_comment('publisher', ('uploader', 'uploader_id'))
add_comment('URL', 'webpage_url') add_comment('URL', 'webpage_url')