Update in series.py the _get_existing_seasons method

By changing the searched tag to `Name`, I stopped getting timeouts generated by `_wait_for_season`.
This commit is contained in:
coissac 2023-11-10 13:12:20 +01:00 committed by GitHub
parent 3c88c19eb1
commit 60e1ffb8f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ class Show:
path: str = f"Shows/{series_id}/Seasons"
all_seasons: dict = Jellyfin().get(path)
return [str(i.get("IndexNumber")) for i in all_seasons["Items"]]
return [str(i.get("Name")) for i in all_seasons["Items"]]
def delete_folders(self, folders: list[str]) -> None:
"""delete temporary folders created"""