update: to handle specials
Local Docker Build (Dev) / build-dev (push) Successful in 7s

This commit is contained in:
2025-10-28 17:00:56 -04:00
parent babe5ac0df
commit b709a377c8
4 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -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
View File
@@ -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