fix 修复挂载目录log

This commit is contained in:
thsrite
2024-06-28 13:07:02 +08:00
parent 681069cd43
commit af80638d84
3 changed files with 5 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ MoviePilot三方插件市场https://github.com/thsrite/MoviePilot-Plugins/
- 目录监控(统一入库消息增强版) v1.0
- Sql执行器 v1.2
- 命令执行器 v1.2
- 云盘助手(docs%2FCloudAssistant.md) v2.0.3
- 云盘助手(docs%2FCloudAssistant.md) v2.0.4
- CloudDrive2助手 v1.2
- 软连接重定向 v1.0
- 云盘同步删除 v1.3

View File

@@ -522,11 +522,12 @@
"name": "云盘助手",
"description": "本地文件定时转移到云盘,软连接/strm回本地定时清理无效软连接。",
"labels": "云盘",
"version": "2.0.3",
"version": "2.0.4",
"icon": "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/cloudassistant.png",
"author": "thsrite",
"level": 3,
"history": {
"v2.0.4": "修复挂载目录log",
"v2.0.3": "修复默认值bug",
"v2.0.2": "插件自定义数据库操作,避免依赖主程序更新",
"v2.0.1": "修改若看参数名,具体看教程",

View File

@@ -65,7 +65,7 @@ class CloudAssistant(_PluginBase):
# 插件图标
plugin_icon = "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/cloudassistant.png"
# 插件版本
plugin_version = "2.0.3"
plugin_version = "2.0.4"
# 插件作者
plugin_author = "thsrite"
# 作者主页
@@ -429,8 +429,8 @@ class CloudAssistant(_PluginBase):
# 1、转移到云盘挂载路径 上传到cd2
# 挂载的路径
logger.info(f"挂载目录文件 {file_path}")
mount_file = str(file_path).replace(str(mon_path), str(mount_path))
logger.info(f"挂载目录文件 {mount_file}")
if str(upload_cloud) == "true":
upload = True