diff --git a/package.v2.json b/package.v2.json index 8875fe5..a0ca683 100644 --- a/package.v2.json +++ b/package.v2.json @@ -416,11 +416,12 @@ "name": "云盘Strm助手", "description": "实时监控、定时全量增量生成strm文件。", "labels": "云盘", - "version": "1.0.2", + "version": "1.0.3", "icon": "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/cloudcompanion.png", "author": "thsrite", "level": 1, "history": { + "v1.0.3": "修复重建索引缓存", "v1.0.2": "增加可玩性交互命令", "v1.0": "实时监控、定时全量增量生成strm文件" } diff --git a/plugins.v2/cloudstrmcompanion/__init__.py b/plugins.v2/cloudstrmcompanion/__init__.py index 2bbb8f4..a637f0d 100644 --- a/plugins.v2/cloudstrmcompanion/__init__.py +++ b/plugins.v2/cloudstrmcompanion/__init__.py @@ -58,7 +58,7 @@ class CloudStrmCompanion(_PluginBase): # 插件图标 plugin_icon = "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/cloudcompanion.png" # 插件版本 - plugin_version = "1.0.2" + plugin_version = "1.0.3" # 插件作者 plugin_author = "thsrite" # 作者主页 @@ -126,6 +126,7 @@ class CloudStrmCompanion(_PluginBase): if self._rebuild: logger.info("开始清理旧数据索引") self._rebuild = False + self._cloud_files = [] self.__update_config() # 停止现有任务 @@ -987,10 +988,10 @@ class CloudStrmCompanion(_PluginBase): 'props': { 'type': 'info', 'variant': 'tonal', - 'text': 'strm格式化方式:' + 'text': 'strm格式化方式,自行把()替换为alist/cd2上路径,url编码格式:' '1.本地源文件路径:{local_file}。' - '2.alist路径:http://192.168.31.103:5244/d{cloud_file}。' - '3.cd2路径:http://192.168.31.103:19798/static/http/192.168.31.103:19798/False/{cloud_file}。' + '2.alist路径:http://192.168.31.103:5244/d(){cloud_file}。' + '3.cd2路径:http://192.168.31.103:19798/static/http/192.168.31.103:19798/False/(){cloud_file}。' '4.其他api路径:http://192.168.31.103:2001/{cloud_file}' } }