mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
v2.3.3
- 增加了多个索引和认证站点支持 - HDDolby切换为使用API(需要调整站点设置,否则无法正常刷新站点数据) - 调整了IYUU认证使用的域名地址 - 继续完善任务工作流
This commit is contained in:
@@ -65,22 +65,22 @@ class AddDownloadAction(BaseAction):
|
|||||||
# 检查缓存
|
# 检查缓存
|
||||||
cache_key = f"{t.torrent_info.site}-{t.torrent_info.title}"
|
cache_key = f"{t.torrent_info.site}-{t.torrent_info.title}"
|
||||||
if self.check_cache(workflow_id, cache_key):
|
if self.check_cache(workflow_id, cache_key):
|
||||||
logger.info(f"{t.title} 已添加过下载,跳过")
|
logger.info(f"{t.torrent_info.title} 已添加过下载,跳过")
|
||||||
continue
|
continue
|
||||||
if not t.meta_info:
|
if not t.meta_info:
|
||||||
t.meta_info = MetaInfo(title=t.title, subtitle=t.description)
|
t.meta_info = MetaInfo(title=t.torrent_info.title, subtitle=t.torrent_info.description)
|
||||||
if not t.media_info:
|
if not t.media_info:
|
||||||
t.media_info = self.mediachain.recognize_media(meta=t.meta_info)
|
t.media_info = self.mediachain.recognize_media(meta=t.meta_info)
|
||||||
if not t.media_info:
|
if not t.media_info:
|
||||||
self._has_error = True
|
self._has_error = True
|
||||||
logger.warning(f"{t.title} 未识别到媒体信息,无法下载")
|
logger.warning(f"{t.torrent_info.title} 未识别到媒体信息,无法下载")
|
||||||
continue
|
continue
|
||||||
if params.only_lack:
|
if params.only_lack:
|
||||||
exists_info = self.downloadchain.media_exists(t.media_info)
|
exists_info = self.downloadchain.media_exists(t.media_info)
|
||||||
if exists_info:
|
if exists_info:
|
||||||
if t.media_info.type == MediaType.MOVIE:
|
if t.media_info.type == MediaType.MOVIE:
|
||||||
# 电影
|
# 电影
|
||||||
logger.warning(f"{t.title} 媒体库中已存在,跳过")
|
logger.warning(f"{t.torrent_info.title} 媒体库中已存在,跳过")
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
# 电视剧
|
# 电视剧
|
||||||
|
|||||||
@@ -88,6 +88,7 @@ class Workflow(Base):
|
|||||||
"state": 'W',
|
"state": 'W',
|
||||||
"result": None,
|
"result": None,
|
||||||
"current_action": None,
|
"current_action": None,
|
||||||
|
"run_count": 0,
|
||||||
})
|
})
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,2 +1,2 @@
|
|||||||
APP_VERSION = 'v2.3.2'
|
APP_VERSION = 'v2.3.3'
|
||||||
FRONTEND_VERSION = 'v2.3.2'
|
FRONTEND_VERSION = 'v2.3.3'
|
||||||
|
|||||||
Reference in New Issue
Block a user