Improvements

This commit is contained in:
CommanderRedYT 2024-03-19 16:15:05 +01:00
parent a17d8de8d4
commit 5833594769
No known key found for this signature in database
GPG Key ID: 572F157519DC8A5E

View File

@ -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