fix season00 assets

pull/685/head
meisnate12 3 years ago
parent 1b7652ba9f
commit 6a282708f8

@ -1 +1 @@
1.15.1-develop37 1.15.1-develop38

@ -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}.*")

Loading…
Cancel
Save