mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
fix converting mp4 + disable auto thumbnail gen
This commit is contained in:
@@ -194,6 +194,7 @@ class PosterboardTweak(Tweak):
|
||||
with open(self.videoThumbnail, "rb") as thumb:
|
||||
thumb_contents = thumb.read()
|
||||
else:
|
||||
raise Exception("No thumbnail heic selected!")
|
||||
# get the thumbnail from the video
|
||||
thumb_contents = video_handler.get_thumbnail_from_contents(contents=video_contents)
|
||||
del video_contents
|
||||
|
||||
Reference in New Issue
Block a user