mirror of https://github.com/yt-dlp/yt-dlp.git
[embedthumbnail] Fix thumbnail name in mp3 (#5163)
Authored by: How-Bout-No
This commit is contained in:
parent
867c66ff97
commit
e02e6d86db
|
@ -92,7 +92,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
|
||||||
if info['ext'] == 'mp3':
|
if info['ext'] == 'mp3':
|
||||||
options = [
|
options = [
|
||||||
'-c', 'copy', '-map', '0:0', '-map', '1:0', '-write_id3v1', '1', '-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)
|
||||||
self.run_ffmpeg_multiple_files([filename, thumbnail_filename], temp_filename, options)
|
self.run_ffmpeg_multiple_files([filename, thumbnail_filename], temp_filename, options)
|
||||||
|
|
Loading…
Reference in New Issue