fix 下载器文件同步添加记录默认状态

This commit is contained in:
thsrite
2024-11-15 12:41:34 +08:00
parent f10025728b
commit eba8c3a6a5
3 changed files with 4 additions and 3 deletions

View File

@@ -193,11 +193,12 @@
"name": "下载器文件同步",
"description": "同步下载器的文件信息到数据库,删除文件时联动删除下载任务。",
"labels": "下载管理",
"version": "1.1.4",
"version": "1.1.6",
"icon": "Youtube-dl_A.png",
"author": "thsrite",
"level": 1,
"history": {
"v1.1.6": "添加记录默认状态",
"v1.1.5": "修复同步下载器种子",
"v1.1.3": "支持v2",
"v1.1.1": "修复时区问题导致的上次同步后8h内的种子不同步的问题"

View File

@@ -656,7 +656,6 @@ class MediaSyncDel(_PluginBase):
"exclude_path": self._exclude_path,
"library_path": self._library_path,
"notify": self._notify,
"cron": self._cron,
"sync_type": self._sync_type,
})
return

View File

@@ -22,7 +22,7 @@ class SyncDownloadFiles(_PluginBase):
# 插件图标
plugin_icon = "Youtube-dl_A.png"
# 插件版本
plugin_version = "1.1.5"
plugin_version = "1.1.6"
# 插件作者
plugin_author = "thsrite"
# 作者主页
@@ -191,6 +191,7 @@ class SyncDownloadFiles(_PluginBase):
"savepath": str(save_path),
"filepath": rel_path,
"torrentname": torrent_name,
"state": 1
}
)