|
|
@ -914,7 +914,6 @@ class Plex(Library):
|
|
|
|
found_season = False
|
|
|
|
found_season = False
|
|
|
|
found_episode = False
|
|
|
|
found_episode = False
|
|
|
|
for season in self.query(item.seasons):
|
|
|
|
for season in self.query(item.seasons):
|
|
|
|
if season.seasonNumber:
|
|
|
|
|
|
|
|
season_name = f"Season{'0' if season.seasonNumber < 10 else ''}{season.seasonNumber}"
|
|
|
|
season_name = f"Season{'0' if season.seasonNumber < 10 else ''}{season.seasonNumber}"
|
|
|
|
if item_dir:
|
|
|
|
if item_dir:
|
|
|
|
season_poster_filter = os.path.join(item_dir, f"{season_name}.*")
|
|
|
|
season_poster_filter = os.path.join(item_dir, f"{season_name}.*")
|
|
|
|