From 4d5a668971f656b1fae14e5b1e2ee957936ede05 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Fri, 9 Jun 2023 23:55:33 +0800 Subject: [PATCH] fix --- app/chain/download.py | 1 + app/core/context.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/chain/download.py b/app/chain/download.py index d82e9477..a49d36dc 100644 --- a/app/chain/download.py +++ b/app/chain/download.py @@ -379,6 +379,7 @@ class DownloadChain(ChainBase): __append_no_exists(season, episodes) # 存在不完整的剧集 if no_exists: + logger.info(f"媒体库中已存在部分剧集,缺失:{no_exists}") return False, no_exists # 全部存在 return True, no_exists diff --git a/app/core/context.py b/app/core/context.py index cec25d41..52dc9c24 100644 --- a/app/core/context.py +++ b/app/core/context.py @@ -371,7 +371,7 @@ class MediaInfo(object): def get_title_string(self): if self.title: - return "%s (%s)" % (self.title, self.year) if self.year else self.title + return "%s (%s)" % (self.title, self.year) if self.year else self.title return "" def get_overview_string(self, max_len: int = 140):