Add TMDB Type 6 (TV premiere) support for older movies and TV specials

- Enhanced digital release detection to also accept Type 6 (TV premiere) dates
- Fixes issue with 1966 "How the Grinch Stole Christmas!" and similar TV specials
- Detailed debugging revealed Type 6 was available but not being used
- Now properly handles older content that premiered on TV rather than theaters

Version bumped to 0.2.18
This commit is contained in:
2025-09-10 09:29:07 -04:00
parent 23a71e066d
commit 6bd7297c37
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
0.2.17
0.2.18
+4
View File
@@ -113,6 +113,10 @@ class TMDBClient:
parsed_date = _parse_date_to_iso(release_date)
_log("INFO", f"✅ TMDB: Found digital release date: {parsed_date}")
return parsed_date
elif release_type == 6 and release_date: # TV premiere (for older TV movies/specials)
parsed_date = _parse_date_to_iso(release_date)
_log("INFO", f"✅ TMDB: Found TV premiere date: {parsed_date}")
return parsed_date
_log("WARNING", f"❌ TMDB: No digital release found for {imdb_id} in {self.primary_country}")
return None