From 1d5c82d32b4ae7fcd063ac11edccb16f0a92f8d6 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 14 Aug 2023 17:54:45 +0800 Subject: [PATCH 1/3] fix #114 --- app/plugins/chinesesubfinder/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/plugins/chinesesubfinder/__init__.py b/app/plugins/chinesesubfinder/__init__.py index 67002142..8a4b75db 100644 --- a/app/plugins/chinesesubfinder/__init__.py +++ b/app/plugins/chinesesubfinder/__init__.py @@ -206,7 +206,7 @@ class ChineseSubFinder(_PluginBase): # 是否蓝光原盘 item_bluray = item_transfer.is_bluray # 文件清单 - item_file_list = item_transfer.file_list + item_file_list = item_transfer.file_list_new if item_bluray: # 蓝光原盘虚拟个文件 From 205e185caf73333600a20808fdbef41aef1cd8bf Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 14 Aug 2023 18:04:34 +0800 Subject: [PATCH 2/3] fix #113 --- app/modules/plex/plex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/plex/plex.py b/app/modules/plex/plex.py index 2a3eafa1..b04c968f 100644 --- a/app/modules/plex/plex.py +++ b/app/modules/plex/plex.py @@ -154,7 +154,7 @@ class Plex(metaclass=Singleton): if not self._plex: return {} if item_id: - videos = self._plex.library.sectionByID(item_id).all() + videos = self._plex.fetchItem(item_id) else: videos = self._plex.library.search(title=title, year=year, libtype="show") if not videos: From 789a323352b655264d5d644fe95cac562480a7ea Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 14 Aug 2023 19:10:48 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20context.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/core/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/context.py b/app/core/context.py index 7b47777a..758f3684 100644 --- a/app/core/context.py +++ b/app/core/context.py @@ -473,7 +473,7 @@ class MediaInfo: @property def title_year(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 "" @property