From 60e1ffb8f465b8146392182ea508d595987c4c56 Mon Sep 17 00:00:00 2001 From: coissac Date: Fri, 10 Nov 2023 13:12:20 +0100 Subject: [PATCH] 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`. --- app/src/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/series.py b/app/src/series.py index 0e9a7f2..e21a39e 100644 --- a/app/src/series.py +++ b/app/src/series.py @@ -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"""