Skip to content
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

[Feature] Display list of the first 5 actors listed on TMDB for each Movie and TV Show #156

Open
BeardedTek opened this issue Dec 13, 2021 · 2 comments

Comments

@BeardedTek
Copy link

One thing I would love to see is the display of the top actors in each movie.

I have no problem delving into the code to figure out what needs to be done, but would just need a bit of help locating that section.

This has become one of my favorite projects on the internet and I honestly don't know what I'd do without it. THANK YOU for your time!

@lardbit
Copy link
Owner

lardbit commented Dec 20, 2021

Yeah I think that would be a nice addition. I've also been thinking about adding the streaming platform (e.g Netflix) so users can decide whether to download if they already have access to that service.

I'll keep this open until I get some time to work on it, but I'll include some code references if you decide to delve into it.

See DEVELOPMENT.md for instructions on how to build the front & back-ends.

Getting the cast data

You'll use The Movie Database API service to query a movie's cast. Here's an example query for Ghostbusters: Afterlife (using nefarious' api key in the url)

nefarious uses this python tmdb client for interacting with tmdb.

Here's a simple python example you can model after which gets the "discover" content.

Add a new API url via https://github.com/lardbit/nefarious/blob/master/src/nefarious/api/urls.py

Displaying the cast data

Media Results components

Movie result component:

Client API:
https://github.com/lardbit/nefarious/blob/master/src/frontend/src/app/api.service.ts

@BeardedTek
Copy link
Author

I'll be trying to start tackling this in the next month or so once my main pet project releases its first stable version. Thanks for all the amazing work!!!

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

No branches or pull requests

2 participants