mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-05-31 07:26:47 +00:00
fix 生成图片bug
This commit is contained in:
@@ -298,10 +298,11 @@ class ShortPlayMonitor(_PluginBase):
|
||||
if thumb_path.exists():
|
||||
logger.info(f"缩略图已存在:{thumb_path}")
|
||||
return
|
||||
if self.get_thumb(video_path=str(file_path),
|
||||
image_path=str(thumb_path),
|
||||
cover_conf=str(cover_conf),
|
||||
frames=self._timeline):
|
||||
self.get_thumb(video_path=str(file_path),
|
||||
image_path=str(thumb_path),
|
||||
cover_conf=str(cover_conf),
|
||||
frames=self._timeline)
|
||||
if Path(thumb_path).exists():
|
||||
logger.info(f"{file_path} 缩略图已生成:{thumb_path}")
|
||||
return thumb_path
|
||||
except Exception as err:
|
||||
|
||||
Reference in New Issue
Block a user