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 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: 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: # 蓝光原盘虚拟个文件