web: more web updated and improvements
Local Docker Build (Dev) / build-dev (push) Successful in 5s

This commit is contained in:
2025-10-15 16:02:51 -04:00
parent d02ee396e9
commit 4b77872fd5
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1 +1 @@
2.2.9
2.2.11
+3 -3
View File
@@ -980,8 +980,8 @@ async def get_episode_date_options(dependencies: dict, imdb_id: str, season: int
episodes = external_clients.tmdb.get_tv_season_episodes(tmdb_id, season)
print(f"🔍 DEBUG: TMDB episodes found: {episodes}")
if episode in episodes:
air_date = episodes[episode]
if int(episode) in episodes:
air_date = episodes[int(episode)]
print(f"🔍 DEBUG: TMDB air date for S{season:02d}E{episode:02d}: {air_date}")
if air_date:
@@ -1008,7 +1008,7 @@ async def get_episode_date_options(dependencies: dict, imdb_id: str, season: int
})
print(f"✅ Added 'Use Air Date' option from TMDB: {air_date}")
else:
print(f"❌ Episode {episode} not found in TMDB season {season} data")
print(f"❌ Episode {int(episode)} not found in TMDB season {season} data")
else:
print(f"❌ No TV series ID found in TMDB for {imdb_id}")
except Exception as e:
+1 -1
View File
@@ -248,7 +248,7 @@ class SonarrClient:
_log("WARNING", f"No import events, using grab date: {earliest_grab['date']} for episode {episode_id}")
return earliest_grab["date"]
_log("WARNING", f"No reliable import events found for episode {episode_id}")
_log("WARNING", f"No reliable import events found for episode {episode_id} - should use air date instead")
return None