This commit is contained in:
Rohit
2023-12-29 13:58:04 +05:30
parent 54605db1fa
commit 8c31540e3a
+1 -1
View File
@@ -103,7 +103,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
encoding=3, mime='image/%s' % thumbnail_ext, type=3, encoding=3, mime='image/%s' % thumbnail_ext, type=3,
desc=u'Cover (front)', data=thumbfile.read()) desc=u'Cover (front)', data=thumbfile.read())
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('unable to embed using mutagen; %s' % error_to_compat_str(err))
success = False success = False