mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 04:37:06 -05:00 
			
		
		
		
	[postprocessor/embedthumbnail] Allow mkv to embed thumbnails
Fixes #6046
This commit is contained in:
		@@ -40,7 +40,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
 | 
			
		||||
                'Skipping embedding the thumbnail because the file is missing.')
 | 
			
		||||
            return [], info
 | 
			
		||||
 | 
			
		||||
        if info['ext'] == 'mp3':
 | 
			
		||||
        if info['ext'] in ('mp3', 'mkv'):
 | 
			
		||||
            options = [
 | 
			
		||||
                '-c', 'copy', '-map', '0', '-map', '1',
 | 
			
		||||
                '-metadata:s:v', 'title="Album cover"', '-metadata:s:v', 'comment="Cover (Front)"']
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user