From c9c4a18c988c9a7f4f6cf126c63ccba461d27db4 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 23 Dec 2023 19:03:23 +0800 Subject: [PATCH] fix FFmpegThumb Log --- package.json | 2 +- plugins/ffmpegthumb/__init__.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 21628ef..bb3aa36 100644 --- a/package.json +++ b/package.json @@ -322,7 +322,7 @@ "FFmpegThumb": { "name": "FFmpeg缩略图", "description": "TheMovieDb没有背景图片时使用FFmpeg截取视频文件缩略图", - "version": "1.1", + "version": "1.2", "icon": "ffmpeg.png", "author": "jxxghp", "level": 1 diff --git a/plugins/ffmpegthumb/__init__.py b/plugins/ffmpegthumb/__init__.py index 9c8e472..e3b8e93 100644 --- a/plugins/ffmpegthumb/__init__.py +++ b/plugins/ffmpegthumb/__init__.py @@ -28,7 +28,7 @@ class FFmpegThumb(_PluginBase): # 插件图标 plugin_icon = "ffmpeg.png" # 插件版本 - plugin_version = "1.1" + plugin_version = "1.2" # 插件作者 plugin_author = "jxxghp" # 作者主页 @@ -341,8 +341,6 @@ class FFmpegThumb(_PluginBase): if FfmpegHelper.get_thumb(video_path=str(file_path), image_path=str(thumb_path), frames=self._timeline): logger.info(f"{file_path} 缩略图已生成:{thumb_path}") - else: - logger.warn(f"{file_path} 缩略图生成失败!") except Exception as err: logger.error(f"FFmpeg处理文件 {file_path} 时发生错误:{str(err)}")