mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-03-27 10:05:57 +00:00
fix CloudStrm3.2 fix bug
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
### 更新记录
|
||||
|
||||
- 3.2 fix bug
|
||||
- 3.1 注册交互命令、注册公共服务
|
||||
- 3.0 实现改为定时扫描
|
||||
- 2.2 fix#12
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"CloudStrm": {
|
||||
"name": "云盘Strm生成",
|
||||
"description": "监控文件创建,生成Strm文件。",
|
||||
"version": "3.1",
|
||||
"version": "3.2",
|
||||
"icon": "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/create.png",
|
||||
"author": "thsrite",
|
||||
"level": 1
|
||||
|
||||
@@ -25,7 +25,7 @@ class CloudStrm(_PluginBase):
|
||||
# 插件图标
|
||||
plugin_icon = "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/create.png"
|
||||
# 插件版本
|
||||
plugin_version = "3.1"
|
||||
plugin_version = "3.2"
|
||||
# 插件作者
|
||||
plugin_author = "thsrite"
|
||||
# 作者主页
|
||||
@@ -151,6 +151,9 @@ class CloudStrm(_PluginBase):
|
||||
"""
|
||||
扫描
|
||||
"""
|
||||
if not self._enabled:
|
||||
logger.error("插件未开启")
|
||||
return
|
||||
if not self._dirconf or not self._dirconf.keys():
|
||||
logger.error("未获取到可用目录监控配置,请检查")
|
||||
return
|
||||
@@ -412,7 +415,7 @@ class CloudStrm(_PluginBase):
|
||||
"kwargs": {} # 定时器参数
|
||||
}]
|
||||
"""
|
||||
if self._enabled and self._cron:
|
||||
if self._enabled:
|
||||
return [{
|
||||
"id": "CloudStrm",
|
||||
"name": "云盘strm文件生成服务",
|
||||
|
||||
Reference in New Issue
Block a user