mirror of
https://github.com/tubearchivist/jellyfin.git
synced 2025-04-05 02:00:11 +00:00
cleanup
This commit is contained in:
parent
74a4eb263a
commit
e83720290f
@ -236,14 +236,8 @@ class Show:
|
|||||||
path: str = f"Shows/{series_id}/Seasons"
|
path: str = f"Shows/{series_id}/Seasons"
|
||||||
all_seasons: dict = Jellyfin().get(path)
|
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"]]
|
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:
|
def delete_folders(self, folders: list[str]) -> None:
|
||||||
"""delete temporary folders created"""
|
"""delete temporary folders created"""
|
||||||
for folder in folders:
|
for folder in folders:
|
||||||
|
Loading…
Reference in New Issue
Block a user