mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-06-03 23:16:47 +00:00
fix #65
This commit is contained in:
@@ -26,7 +26,7 @@ MoviePilot三方插件市场:https://github.com/thsrite/MoviePilot-Plugins/
|
||||
- [Emby观影报告 v1.5](docs%2FEmbyReporter.md)
|
||||
- 演员订阅 v2.1
|
||||
- [短剧刮削 v3.2](docs%2FShortPlayMonitor.md)
|
||||
- 云盘实时监控 v2.4.1
|
||||
- 云盘实时监控 v2.4.2
|
||||
- 源文件恢复 v1.2
|
||||
- [微信消息转发 v2.7](docs%2FWeChatForward.md)
|
||||
- 订阅下载统计 v1.5
|
||||
|
||||
@@ -256,11 +256,12 @@
|
||||
"name": "云盘实时监控",
|
||||
"description": "监控云盘目录文件变化,自动转移链接。",
|
||||
"labels": "云盘",
|
||||
"version": "2.4.1",
|
||||
"version": "2.4.2",
|
||||
"icon": "Linkease_A.png",
|
||||
"author": "thsrite",
|
||||
"level": 1,
|
||||
"history": {
|
||||
"v2.4.2": "fix #65",
|
||||
"v2.4.1": "增加log",
|
||||
"v2.4": "修复二级目录",
|
||||
"v2.3": "去除无效变量",
|
||||
|
||||
@@ -60,7 +60,7 @@ class CloudLinkMonitor(_PluginBase):
|
||||
# 插件图标
|
||||
plugin_icon = "Linkease_A.png"
|
||||
# 插件版本
|
||||
plugin_version = "2.4.1"
|
||||
plugin_version = "2.4.2"
|
||||
# 插件作者
|
||||
plugin_author = "thsrite"
|
||||
# 作者主页
|
||||
@@ -407,9 +407,6 @@ class CloudLinkMonitor(_PluginBase):
|
||||
else:
|
||||
episodes_info = None
|
||||
|
||||
if self._category and mediainfo.category and not self._auto_category:
|
||||
target = target / mediainfo.category
|
||||
|
||||
if self._auto_category:
|
||||
# 转移文件
|
||||
transferinfo: TransferInfo = self.filetransfer.transfer(path=file_path,
|
||||
@@ -420,6 +417,9 @@ class CloudLinkMonitor(_PluginBase):
|
||||
episodes_info=episodes_info,
|
||||
scrape=self._scrape)
|
||||
else:
|
||||
if self._category and mediainfo.category:
|
||||
target = target / mediainfo.category
|
||||
|
||||
# 转移文件
|
||||
transferinfo: TransferInfo = self.filetransfer.transfer_media(in_path=file_path,
|
||||
in_meta=file_meta,
|
||||
|
||||
Reference in New Issue
Block a user