mirror of
https://github.com/tubearchivist/jellyfin.git
synced 2024-11-16 17:00:14 +00:00
Improvements
This commit is contained in:
parent
429010f664
commit
7d1941ed75
@ -232,7 +232,9 @@ class Show:
|
||||
|
||||
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"""
|
||||
|
Loading…
Reference in New Issue
Block a user