fix 修复重建索引缓存

This commit is contained in:
thsrite
2024-11-07 19:09:37 +08:00
parent f8b8595c9f
commit c0ca8683ca
2 changed files with 7 additions and 5 deletions

View File

@@ -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文件"
}

View File

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