Skip to content

Commit 9b95fde

Browse files
committed
v2.3.3
- 增加了多个索引和认证站点支持 - HDDolby切换为使用API(需要调整站点设置,否则无法正常刷新站点数据) - 调整了IYUU认证使用的域名地址 - 继续完善任务工作流
1 parent 2851f16 commit 9b95fde

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

app/actions/add_download.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -65,22 +65,22 @@ def execute(self, workflow_id: int, params: dict, context: ActionContext) -> Ac
6565
# 检查缓存
6666
cache_key = f"{t.torrent_info.site}-{t.torrent_info.title}"
6767
if self.check_cache(workflow_id, cache_key):
68-
logger.info(f"{t.title} 已添加过下载,跳过")
68+
logger.info(f"{t.torrent_info.title} 已添加过下载,跳过")
6969
continue
7070
if not t.meta_info:
71-
t.meta_info = MetaInfo(title=t.title, subtitle=t.description)
71+
t.meta_info = MetaInfo(title=t.torrent_info.title, subtitle=t.torrent_info.description)
7272
if not t.media_info:
7373
t.media_info = self.mediachain.recognize_media(meta=t.meta_info)
7474
if not t.media_info:
7575
self._has_error = True
76-
logger.warning(f"{t.title} 未识别到媒体信息,无法下载")
76+
logger.warning(f"{t.torrent_info.title} 未识别到媒体信息,无法下载")
7777
continue
7878
if params.only_lack:
7979
exists_info = self.downloadchain.media_exists(t.media_info)
8080
if exists_info:
8181
if t.media_info.type == MediaType.MOVIE:
8282
# 电影
83-
logger.warning(f"{t.title} 媒体库中已存在,跳过")
83+
logger.warning(f"{t.torrent_info.title} 媒体库中已存在,跳过")
8484
continue
8585
else:
8686
# 电视剧

app/db/models/workflow.py

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def reset(db, wid: int):
8888
"state": 'W',
8989
"result": None,
9090
"current_action": None,
91+
"run_count": 0,
9192
})
9293
return True
9394

version.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
APP_VERSION = 'v2.3.2'
2-
FRONTEND_VERSION = 'v2.3.2'
1+
APP_VERSION = 'v2.3.3'
2+
FRONTEND_VERSION = 'v2.3.3'

0 commit comments

Comments
 (0)