mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-02 17:21:39 +03:00
Update yt_dlp/postprocessor/embedthumbnail.py
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
This commit is contained in:
@@ -105,7 +105,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
|
|||||||
audio.save()
|
audio.save()
|
||||||
temp_filename = filename # Mutagen saves to the original file
|
temp_filename = filename # Mutagen saves to the original file
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
self.report_warning('unable to embed using mutagen; %s' % error_to_compat_str(err))
|
self.report_warning(f'unable to embed using mutagen; {err}')
|
||||||
success = False
|
success = False
|
||||||
# Method 2: Use ffmpeg
|
# Method 2: Use ffmpeg
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user