fix converting mp4 + disable auto thumbnail gen

This commit is contained in:
leminlimez
2025-03-27 13:45:15 -04:00
parent 2982e1d186
commit 79e20995d7
5 changed files with 27 additions and 24 deletions

View File

@@ -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