Improvements

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

View File

@ -74,7 +74,7 @@ class Library:
path: str = f"Items/{collection_id}/Refresh?Recursive=true&ImageRefreshMode=Default&MetadataRefreshMode=Default" # noqa: E501
Jellyfin().post(path, False)
for _ in range(12):
for _ in range(24):
response = Jellyfin().get("Library/VirtualFolders")
for folder in response:
if not folder["ItemId"] == collection_id: