lardbit / nefarious

Web application for automatically downloading TV & Movies (w/ VPN)

Home Page:https://lardbit.github.io/nefarious/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

BeardedTek opened this issue · comments

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!

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

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!!!