mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-05-23 07:16:44 +00:00
fix 修复重建缓存不生效
This commit is contained in:
@@ -401,12 +401,13 @@
|
||||
"name": "云盘Strm助手",
|
||||
"description": "实时监控、定时全量增量生成strm文件。",
|
||||
"labels": "云盘",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"icon": "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/cloudcompanion.png",
|
||||
"author": "thsrite",
|
||||
"level": 1,
|
||||
"history": {
|
||||
"v1.0.7": "修复复制非媒体文件选项时父目录不存在",
|
||||
"v1.0.8": "修复重建缓存不生效",
|
||||
"v1.0.7": "修复复制非媒体文件时父目录不存在",
|
||||
"v1.0.6": "支持[目录实时监控]插件联动",
|
||||
"v1.0.5": "增加复制非媒体文件选项",
|
||||
"v1.0.4": "修复实时监控,只处理指定类型的文件",
|
||||
|
||||
@@ -58,7 +58,7 @@ class CloudStrmCompanion(_PluginBase):
|
||||
# 插件图标
|
||||
plugin_icon = "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/cloudcompanion.png"
|
||||
# 插件版本
|
||||
plugin_version = "1.0.7"
|
||||
plugin_version = "1.0.8"
|
||||
# 插件作者
|
||||
plugin_author = "thsrite"
|
||||
# 作者主页
|
||||
@@ -131,6 +131,9 @@ class CloudStrmCompanion(_PluginBase):
|
||||
logger.info("开始清理旧数据索引")
|
||||
self._rebuild = False
|
||||
self._cloud_files = []
|
||||
if Path(self._cloud_files_json).exists():
|
||||
Path(self._cloud_files_json).unlink()
|
||||
logger.info("旧数据索引清理完成")
|
||||
self.__update_config()
|
||||
|
||||
# 停止现有任务
|
||||
|
||||
Reference in New Issue
Block a user