Update yt_dlp/postprocessor/embedthumbnail.py

Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
This commit is contained in:
fjueic
2023-12-29 07:37:00 -08:00
committed by GitHub
co-authored by Simon Sawicki
parent 8c31540e3a
commit 79bb8f51e4
+1 -1
View File
@@ -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: