1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-24 05:02:50 +08:00

Add files via upload

This commit is contained in:
vayalil 2018-02-17 09:05:15 +11:00 committed by GitHub
parent 71f59dc6e0
commit 2b9a77c9bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -252,6 +252,14 @@ def _real_main(argv=None):
'key': 'MetadataFromTitle',
'titleformat': opts.metafromtitle
})
if opts.metafromuser:
postprocessors.append({
'key': 'MetadataFromUser',
'metadata': opts.metafromuser
})
if opts.extractaudio:
postprocessors.append({
'key': 'FFmpegExtractAudio',