From fa93cb8ce7ca32bec533e120bdc26ad5a38fd02d Mon Sep 17 00:00:00 2001 From: thsrite Date: Fri, 24 Nov 2023 22:01:10 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BA=91=E7=9B=98strm=E6=94=AF=E6=8C=81m?= =?UTF-8?q?2ts=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- package.json | 6 +++--- plugins/cloudstrm/__init__.py | 8 ++++---- plugins_record/CloudStrm.md | 1 + 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index cb78688..e711130 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ MoviePilot三方插件市场:https://github.com/thsrite/MoviePilot-Plugins/ - [站点数据统计 1.0](plugins_record%2FSiteStatisticNoMsg.md) (无未读消息版本) - [站点未读消息 1.2](plugins_record%2FSiteUnreadMsg.md) -- [云盘strm生成 1.6](plugins_record%2FCloudStrm.md) +- [云盘strm生成 1.7](plugins_record%2FCloudStrm.md) - [Strm文件模式转换 1.0](plugins_record%2FStrmConvert.md) - [清理订阅缓存 1.0](plugins_record%2FSubscribeClear.md) - [添加种子下载 1.0](plugins_record%2FDownloadTorrent.md) diff --git a/package.json b/package.json index e2c2a34..b828ff0 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,9 @@ "level": 2 }, "CloudStrm": { - "name": "云盘strm生成", - "description": "监控文件创建,生成strm文件。", - "version": "1.6", + "name": "云盘Strm生成", + "description": "监控文件创建,生成Strm文件。", + "version": "1.7", "icon": "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/cloudstrm.png", "color": "#999999", "author": "thsrite", diff --git a/plugins/cloudstrm/__init__.py b/plugins/cloudstrm/__init__.py index bad6fdf..04f38ba 100644 --- a/plugins/cloudstrm/__init__.py +++ b/plugins/cloudstrm/__init__.py @@ -38,15 +38,15 @@ class FileMonitorHandler(FileSystemEventHandler): class CloudStrm(_PluginBase): # 插件名称 - plugin_name = "云盘strm生成" + plugin_name = "云盘Strm生成" # 插件描述 - plugin_desc = "监控文件创建,生成strm文件。" + plugin_desc = "监控文件创建,生成Strm文件。" # 插件图标 plugin_icon = "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/cloudstrm.png" # 主题色 plugin_color = "#999999" # 插件版本 - plugin_version = "1.6" + plugin_version = "1.7" # 插件作者 plugin_author = "thsrite" # 作者主页 @@ -64,7 +64,7 @@ class CloudStrm(_PluginBase): _onlyonce = False _relay = 3 _observer = [] - _video_formats = ('.mp4', '.avi', '.rmvb', '.wmv', '.mov', '.mkv', '.flv', '.ts', '.webm', '.iso', '.mpg') + _video_formats = ('.mp4', '.avi', '.rmvb', '.wmv', '.mov', '.mkv', '.flv', '.ts', '.webm', '.iso', '.mpg', '.m2ts') _dirconf = {} _modeconf = {} diff --git a/plugins_record/CloudStrm.md b/plugins_record/CloudStrm.md index af2971b..bba58bf 100644 --- a/plugins_record/CloudStrm.md +++ b/plugins_record/CloudStrm.md @@ -2,6 +2,7 @@ ### 更新记录 +- 1.7 支持m2ts视频格式 - 1.6 支持开启监控延迟 - 1.5 优化异步执行 - 1.4 异步开启目录监控