mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-05-20 23:16:44 +00:00
fix #255
This commit is contained in:
@@ -409,11 +409,12 @@
|
||||
"name": "目录实时监控",
|
||||
"description": "监控云盘目录文件变化,自动转移媒体文件。",
|
||||
"labels": "云盘,工具",
|
||||
"version": "2.5.8",
|
||||
"version": "2.5.9",
|
||||
"icon": "Linkease_A.png",
|
||||
"author": "thsrite",
|
||||
"level": 1,
|
||||
"history": {
|
||||
"v2.5.9": "增加定时任务执行",
|
||||
"v2.5.8": "fix bug",
|
||||
"v2.5.7": "修复获取目录设置配置",
|
||||
"v2.5.6": "修复软连接",
|
||||
|
||||
@@ -63,7 +63,7 @@ class CloudLinkMonitor(_PluginBase):
|
||||
# 插件图标
|
||||
plugin_icon = "Linkease_A.png"
|
||||
# 插件版本
|
||||
plugin_version = "2.5.8"
|
||||
plugin_version = "2.5.9"
|
||||
# 插件作者
|
||||
plugin_author = "thsrite"
|
||||
# 作者主页
|
||||
@@ -139,7 +139,7 @@ class CloudLinkMonitor(_PluginBase):
|
||||
self._monitor_dirs = config.get("monitor_dirs") or ""
|
||||
self._exclude_keywords = config.get("exclude_keywords") or ""
|
||||
self._interval = config.get("interval") or 10
|
||||
# self._cron = config.get("cron")
|
||||
self._cron = config.get("cron")
|
||||
self._size = config.get("size") or 0
|
||||
self._softlink = config.get("softlink")
|
||||
self._strm = config.get("strm")
|
||||
@@ -269,6 +269,7 @@ class CloudLinkMonitor(_PluginBase):
|
||||
"interval": self._interval,
|
||||
"history": self._history,
|
||||
"softlink": self._softlink,
|
||||
"cron": self._cron,
|
||||
"strm": self._strm,
|
||||
"scrape": self._scrape,
|
||||
"category": self._category,
|
||||
@@ -958,6 +959,28 @@ class CloudLinkMonitor(_PluginBase):
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
'component': 'VRow',
|
||||
'content': [
|
||||
{
|
||||
'component': 'VCol',
|
||||
'props': {
|
||||
'cols': 12,
|
||||
'md': 4
|
||||
},
|
||||
'content': [
|
||||
{
|
||||
'component': 'VTextField',
|
||||
'props': {
|
||||
'model': 'cron',
|
||||
'label': '定时任务',
|
||||
'placeholder': '0 0 * * *'
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
'component': 'VRow',
|
||||
'content': [
|
||||
|
||||
Reference in New Issue
Block a user