[FfmpegMetadata] Write id3v1 tags

pull/3343/head
pukkandan 2 years ago
parent 61d3665d9d
commit 22fba53fbd
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -769,6 +769,9 @@ class FFmpegMetadataPP(FFmpegPostProcessor):
if value is not None and mobj:
metadata[mobj.group('i') or 'common'][mobj.group('key')] = value
# Write id3v1 metadata also since Windows Explorer can't handle id3v2 tags
yield ('-write_id3v1', '1')
for name, value in metadata['common'].items():
yield ('-metadata', f'{name}={value}')

Loading…
Cancel
Save