leepeuker / movary

Self hosted web app to track and rate your watched movies
MIT License
407 stars 14 forks source link

Show current streaming providers for movie #331

Closed JVT038 closed 1 year ago

JVT038 commented 1 year ago

When I visit a movie, I want to know where I can legally watch the movie online. Example on TMDB:

image

I don't know if it's possible to fetch these details via the TMDB API, but if it is, then we should do that.

leepeuker commented 1 year ago

There is a TMDB API endpoint for this: https://developer.themoviedb.org/reference/movie-watch-providers: https://api.themoviedb.org/3/movie/{movie_id}/watch/providers

It provides movie streaming information per country. We need to add an option for users to set the preferred country (in the general user settings I guess?), so that we can provide the streaming information matching the users location.