This commit is contained in:
+1
-1
@@ -2198,7 +2198,7 @@ async def update_episode_nfo(imdb_id: str, season: int, episode: int, request: R
|
||||
return {"success": False, "message": f"Series directory not found for {imdb_id}"}
|
||||
|
||||
# Get season directory
|
||||
season_dir = series_path / config.tv_season_dir_format.format(season=season)
|
||||
season_dir = series_path / config.get_season_dir_name(season)
|
||||
if not season_dir.exists():
|
||||
return {"success": False, "message": f"Season directory not found: {season_dir}"}
|
||||
|
||||
|
||||
+1
-1
@@ -1796,7 +1796,7 @@ async def bulk_update_nfo_files(dependencies: dict, imdb_ids: list = None, fix_a
|
||||
for ep in episodes:
|
||||
try:
|
||||
series_path = Path(ep['series_path'])
|
||||
season_dir = series_path / config.tv_season_dir_format.format(season=ep['season'])
|
||||
season_dir = series_path / config.get_season_dir_name(ep['season'])
|
||||
|
||||
if not season_dir.exists():
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user