fix SyncDownloadFiles
This commit is contained in:
@ -13,13 +13,13 @@ from app.log import logger
|
|||||||
|
|
||||||
class SyncDownloadFiles(_PluginBase):
|
class SyncDownloadFiles(_PluginBase):
|
||||||
# 插件名称
|
# 插件名称
|
||||||
plugin_name = "SyncDownloadFiles"
|
plugin_name = "下载器文件同步"
|
||||||
# 插件描述
|
# 插件描述
|
||||||
plugin_desc = "同步下载器文件记录。"
|
plugin_desc = "同步下载器的文件信息到数据库,删除文件时联动删除下载任务。"
|
||||||
# 插件图标
|
# 插件图标
|
||||||
plugin_icon = "sync_file.png"
|
plugin_icon = "sync_file.png"
|
||||||
# 主题色
|
# 主题色
|
||||||
plugin_color = "bg-blue"
|
plugin_color = "#4686E3"
|
||||||
# 插件版本
|
# 插件版本
|
||||||
plugin_version = "1.0"
|
plugin_version = "1.0"
|
||||||
# 插件作者
|
# 插件作者
|
||||||
@ -269,7 +269,7 @@ class SyncDownloadFiles(_PluginBase):
|
|||||||
'component': 'VSwitch',
|
'component': 'VSwitch',
|
||||||
'props': {
|
'props': {
|
||||||
'model': 'onlyonce',
|
'model': 'onlyonce',
|
||||||
'label': '运行一次',
|
'label': '立即运行一次',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -285,7 +285,7 @@ class SyncDownloadFiles(_PluginBase):
|
|||||||
'component': 'VSwitch',
|
'component': 'VSwitch',
|
||||||
'props': {
|
'props': {
|
||||||
'model': 'history',
|
'model': 'history',
|
||||||
'label': '补充转移记录',
|
'label': '同时补充整理历史记录',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -333,7 +333,7 @@ class SyncDownloadFiles(_PluginBase):
|
|||||||
'model': 'dirs',
|
'model': 'dirs',
|
||||||
'label': '目录映射',
|
'label': '目录映射',
|
||||||
'rows': 5,
|
'rows': 5,
|
||||||
'placeholder': '每一行一个目录,下载器地址:mp地址'
|
'placeholder': '每一行一个目录,下载器保存目录:MoviePilot映射目录'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -352,7 +352,7 @@ class SyncDownloadFiles(_PluginBase):
|
|||||||
{
|
{
|
||||||
'component': 'VAlert',
|
'component': 'VAlert',
|
||||||
'props': {
|
'props': {
|
||||||
'text': '如果所选下载器种子很多的话,时间会有点久,请耐心等候,可查看日志。'
|
'text': '适用于非MoviePilot下载的任务,下载器种子数据较多时,同步时间将会较长,请耐心等候,可查看实时日志了解同步进度。'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user