This commit is contained in:
Simon 2024-04-20 01:06:30 +02:00
parent 74a4eb263a
commit e83720290f
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 0 additions and 6 deletions

View File

@ -236,14 +236,8 @@ class Show:
path: str = f"Shows/{series_id}/Seasons"
all_seasons: dict = Jellyfin().get(path)
# print(f"[setup] {path=} all_seasons_items={all_seasons['Items']}")
return [str(i.get("IndexNumber")) for i in all_seasons["Items"]]
# res = [str(i.get("Name")) for i in all_seasons["Items"]]
# return [name.split(' ')[1] if ' ' in name else name for name in res]
def delete_folders(self, folders: list[str]) -> None:
"""delete temporary folders created"""
for folder in folders: