From 58335947699c1f3215b65557fc91344a789c1879 Mon Sep 17 00:00:00 2001 From: CommanderRedYT Date: Tue, 19 Mar 2024 16:15:05 +0100 Subject: [PATCH] Improvements --- app/src/series.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/series.py b/app/src/series.py index 4995431..bfeda69 100644 --- a/app/src/series.py +++ b/app/src/series.py @@ -210,9 +210,11 @@ class Show: jf_id: str = self.show["Id"] path: str = f"Items/{jf_id}/Refresh?Recursive=true&ImageRefreshMode=Default&MetadataRefreshMode=Default" # noqa: E501 Jellyfin().post(path, False) - for _ in range(12): + for _ in range(100): all_existing: set[str] = set(self._get_existing_seasons()) + print(f"[setup] seasons: {all_existing}") + if expected_season in all_existing: return