Skip to content

Add TMDB APIs for Movie & Series. Fixes #72 #197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ZackBoe
Copy link
Contributor

@ZackBoe ZackBoe commented Jul 25, 2025

Initially created combined API but moved to separate TMDBSeriesAPI and TMDBMovieAPI because TMDB APIs include the type in the URL. Not super thrilled about this, but it works.

Using one TMDBAPI class for both series & movie:

  • searchByTitle is workable with search multi
  • Would need to modify queryDetailedInfoById and getById to include type.
  • 'Create Media DB entry by id' command won't work without getting the type somehow.

Notes:

  • TMDB "API Key" is used, not "API Read Access Token" - unsure if this is clear enough.
  • Trimmed casts to first 5
  • Unsure how to format StreamingServices but this is available. Requires attribution, however.
  • Add country, boxOffice and ageRating fields for movies and series #196: Country is available as origin_country, original_language, or production_countries
  • Using 780w images. original is available for larger images, but can impact performance in bases & dataview.

Series notes:

  • The series level runtime field is deprecated (in favor of per season/episode runtimes), but many shows still have this. Many series have multiple runtimes - just grabbing the first.
  • Using production_companies (MGM Television, Double Secret Productions) for studio but this could also be networks (Showtime, Syfy)
  • Including credits, which on TMDB is for the latest season. Could swap to aggregate_credits
  • Add country, boxOffice and ageRating fields for movies and series #196: Content Rating is available per location.
  • I'd like to have a field for next_air_date but I can see this being very quickly (weekly, even daily) outdated. I'll just track this manually for my own usecase.

Movie notes:

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