mirror of
https://github.com/tubearchivist/jellyfin.git
synced 2025-01-23 17:20:13 +00:00
skip season folder if exists
This commit is contained in:
parent
1ebdea7b13
commit
0e14c2b7c5
@ -125,7 +125,8 @@ class Show:
|
|||||||
for year in all_expected:
|
for year in all_expected:
|
||||||
if year not in all_existing:
|
if year not in all_existing:
|
||||||
path: str = os.path.join(base, channel_name, year)
|
path: str = os.path.join(base, channel_name, year)
|
||||||
os.mkdir(path)
|
if not os.path.exists(path):
|
||||||
|
os.mkdir(path)
|
||||||
folders.append(path)
|
folders.append(path)
|
||||||
|
|
||||||
self._wait_for_seasons()
|
self._wait_for_seasons()
|
||||||
|
Loading…
Reference in New Issue
Block a user