mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	[postprocessor/embedthumbnail] Style fix
This commit is contained in:
		@@ -35,7 +35,8 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
 | 
				
			|||||||
        compat_urlretrieve(info['thumbnail'], temp_thumbnail)
 | 
					        compat_urlretrieve(info['thumbnail'], temp_thumbnail)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if info['ext'] == 'mp3':
 | 
					        if info['ext'] == 'mp3':
 | 
				
			||||||
            options = ['-i', temp_thumbnail, '-c', 'copy', '-map', '0', '-map', '1',
 | 
					            options = [
 | 
				
			||||||
 | 
					                '-i', temp_thumbnail, '-c', 'copy', '-map', '0', '-map', '1',
 | 
				
			||||||
                '-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._downloader.to_screen('[ffmpeg] Adding thumbnail to "%s"' % filename)
 | 
					            self._downloader.to_screen('[ffmpeg] Adding thumbnail to "%s"' % filename)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user