]> jfr.im git - yt-dlp.git/commitdiff
[EmbedThumbnail] Do not remove id3v1 tags
authorpukkandan <redacted>
Sat, 9 Apr 2022 15:49:00 +0000 (21:19 +0530)
committerpukkandan <redacted>
Sat, 9 Apr 2022 19:51:34 +0000 (01:21 +0530)
yt_dlp/postprocessor/embedthumbnail.py

index 84ab54f44be973c85e1d6e255d097cb9861674e0..057007f2e9861382e6909a8ff239467034cbbd88 100644 (file)
@@ -101,7 +101,7 @@ def run(self, info):
         success = True
         if info['ext'] == 'mp3':
             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)"']
 
             self._report_run('ffmpeg', filename)