Repository navigation
Handle empty TV first air dates - #496
Merged
Merged
Conversation
willmakenoise
added a commit
to willmakenoise/python-overseerr
that referenced
this pull request
Oct 4, 2026
|
Just ran into the same issue, glad theres already a pr. |
Collaborator
|
@RafaelSchridi Good question, I checked the Seerr source. Seerr passes TMDB dates through unchanged ( |
felixschndr
added a commit
that referenced
this pull request
Oct 28, 2026
) * Add poster_path, backdrop_path and release_date to Movie/TV models * Treat Movie's empty release_date as None, like #496 does for TV --------- Co-authored-by: Felix Schneider <mail@fschneider.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
The Search API can return TV results where the firstAirDate is "".
When that is the case python-overseerr tries to deserializes it as date, which causes: ValueError: Invalid isoformat string: ''".
I noticed it when I was using the search term "Dredd". Judge Dredd: Mega-City One returns firstAirDate "". This change treats an empty date as None.
With the help of AI (ChatGPT) a regression test was added. 55 tests passed, 36 snapshots passed.
Related Issues
No related issues.