Merge remote-tracking branch 'origin/wlj0807' into wlj0807

This commit is contained in:
mayun110
2023-08-14 19:18:01 +08:00
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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:

View File

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