Skip to content

Fix 500 error on items related to tmdb id handling - #124

Merged
dannyvfilms merged 2 commits into
dannyvfilms:latestfrom
nakenyon:fix/stale-tmdb-ids-and-tvdb-404-handling
Apr 1, 2026
Merged

Fix 500 error on items related to tmdb id handling#124
dannyvfilms merged 2 commits into
dannyvfilms:latestfrom
nakenyon:fix/stale-tmdb-ids-and-tvdb-404-handling

Conversation

@nakenyon

Copy link
Copy Markdown

I was experiencing an issue with England by Tom Scott when attempting to log view history. Not sure if others are experiencing the same with anything else.

I did have to manually alter my sqlite db to remove references to the incorrect TMDB ID, but seems to all be functioning now.

I am also not a developer by trade and was assisted by Claude throughout.

tmdb.py:
process_tv now accepts and threads through the correct media_id rather than always using the raw response["id"], fixing season card links
_build_specials_season_from_tvdb now catches ProviderAPIError so a bad/missing TVDB ID doesn't crash the page

views.py:
The specials enrichment call in media_details is now wrapped in a try/except for ProviderAPIError for the same reason

@dannyvfilms
dannyvfilms merged commit c5780d4 into dannyvfilms:latest Apr 1, 2026
1 of 2 checks passed
@nakenyon
nakenyon deleted the fix/stale-tmdb-ids-and-tvdb-404-handling branch May 4, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants