0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-22 06:00:00 +00:00

[EmbedThumbnail] Do not remove id3v1 tags

This commit is contained in:
pukkandan 2022-04-09 21:19:00 +05:30
parent 98804d034d
commit f894294636
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39

View file

@ -101,7 +101,7 @@ def run(self, info):
success = True success = True
if info['ext'] == 'mp3': if info['ext'] == 'mp3':
options = [ options = [
'-c', 'copy', '-map', '0:0', '-map', '1:0', '-id3v2_version', '3', '-c', 'copy', '-map', '0:0', '-map', '1:0', '-write_id3v1', '1', '-id3v2_version', '3',
'-metadata:s:v', 'title="Album cover"', '-metadata:s:v', 'comment="Cover (front)"'] '-metadata:s:v', 'title="Album cover"', '-metadata:s:v', 'comment="Cover (front)"']
self._report_run('ffmpeg', filename) self._report_run('ffmpeg', filename)