[mythtv-commits] [MythTV/mythtv] 6c3260: Python tmdb3: Add API to get correct release dates
rcrdnalor
noreply at github.com
Fri Jun 17 17:12:03 UTC 2022
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 6c3260c8b911a1f006eaf9a2130c4b014d7f9cf2
https://github.com/MythTV/mythtv/commit/6c3260c8b911a1f006eaf9a2130c4b014d7f9cf2
Author: Roland Ernst <rcrernst at gmail.com>
Date: 2022-06-17 (Fri, 17 Jun 2022)
Changed paths:
M mythtv/bindings/python/tmdb3/tmdb3/__init__.py
M mythtv/bindings/python/tmdb3/tmdb3/lookup.py
M mythtv/bindings/python/tmdb3/tmdb3/tmdb_api.py
Log Message:
-----------
Python tmdb3: Add API to get correct release dates
The Movie Database deprecates the API call to `movie/{id}/releases`
and favours `movie/{id}/release_dates` instead.
The fetched dates are now sorted according the rules of themoviedb,
if a release for a country is available.
Otherwise, the primaray release date reported by `movie/{id}` is used.
See
https://www.themoviedb.org/
https://developers.themoviedb.org/3/
https://developers.themoviedb.org/3/movies/get-movie-release-dates
https://developers.themoviedb.org/3/movies/get-movie-details
More information about the mythtv-commits
mailing list