This commit is contained in:
thsrite
2024-02-22 15:46:51 +08:00
parent e0e0c58b39
commit 30e6ac78c1
4 changed files with 5 additions and 4 deletions

View File

@@ -26,5 +26,5 @@ MoviePilot三方插件市场https://github.com/thsrite/MoviePilot-Plugins/
- [豆瓣明星热映订阅 1.3](docs%2FActorSubscribe.md)
- [短剧刮削 2.5](docs%2FShortPlayMonitor.md)
- [云盘实时链接 1.1](docs%2FCloudLinkMonitor.md)
- [源文件恢复 1.1](docs%2FLinkToSrc.md)
- [源文件恢复 1.2](docs%2FLinkToSrc.md)

View File

@@ -2,5 +2,6 @@
### 更新记录
- 1.2 fix bug
- 1.1 支持指定需要恢复的硬链接目录
- 1.0 根据MoviePilot的转移记录中的硬链文件恢复源文件

View File

@@ -130,7 +130,7 @@
"LinkToSrc": {
"name": "源文件恢复",
"description": "根据MoviePilot的转移记录中的硬链文件恢复源文件。",
"version": "1.1",
"version": "1.2",
"icon": "Time_machine_A.png",
"author": "thsrite",
"level": 1

View File

@@ -15,7 +15,7 @@ class LinkToSrc(_PluginBase):
# 插件图标
plugin_icon = "Time_machine_A.png"
# 插件版本
plugin_version = "1.1"
plugin_version = "1.2"
# 插件作者
plugin_author = "thsrite"
# 作者主页
@@ -42,7 +42,7 @@ class LinkToSrc(_PluginBase):
self.__update_config()
def _task(self):
db_path = Path(Settings.CONFIG_PATH).joinpath('user.db')
db_path = Settings().CONFIG_PATH / 'user.db'
try:
gradedb = sqlite3.connect(db_path)
except Exception as e: