fix #120 Plex问题
This commit is contained in:
parent
0711a1b51e
commit
102e48106e
@ -159,6 +159,9 @@ class Plex(metaclass=Singleton):
|
||||
videos = self._plex.library.search(title=title, year=year, libtype="show")
|
||||
if not videos:
|
||||
return {}
|
||||
if isinstance(videos, list):
|
||||
episodes = videos[0].episodes()
|
||||
else:
|
||||
episodes = videos.episodes()
|
||||
season_episodes = {}
|
||||
for episode in episodes:
|
||||
|
Loading…
x
Reference in New Issue
Block a user