mirror of
https://github.com/tubearchivist/jellyfin.git
synced 2024-11-16 17:00:14 +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:
|
||||
if year not in all_existing:
|
||||
path: str = os.path.join(base, channel_name, year)
|
||||
os.mkdir(path)
|
||||
if not os.path.exists(path):
|
||||
os.mkdir(path)
|
||||
folders.append(path)
|
||||
|
||||
self._wait_for_seasons()
|
||||
|
Loading…
Reference in New Issue
Block a user