mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-06 14:55:02 +01:00
[cleanup] Misc (#12526)
Authored by: Grub4K, seproDev, gamer191, dirkf Co-authored-by: sepro <sepro@sepr0.com>
This commit is contained in:
parent
983095485c
commit
f36e4b6e65
14 changed files with 37 additions and 42 deletions
|
|
@ -743,7 +743,7 @@ class FFmpegMetadataPP(FFmpegPostProcessor):
|
|||
if value not in ('', None):
|
||||
value = ', '.join(map(str, variadic(value)))
|
||||
value = value.replace('\0', '') # nul character cannot be passed in command line
|
||||
metadata['common'].update({meta_f: value for meta_f in variadic(meta_list)})
|
||||
metadata['common'].update(dict.fromkeys(variadic(meta_list), value))
|
||||
|
||||
# Info on media metadata/metadata supported by ffmpeg:
|
||||
# https://wiki.multimedia.cx/index.php/FFmpeg_Metadata
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue