dynamiccookies / radarr-actor-import

Webpage to search TMDB for actors and automatically add them to a Radarr server as an Import List.
MIT License
0 stars 0 forks source link

Add info modal for each result #18

Open dynamiccookies opened 3 weeks ago

dynamiccookies commented 3 weeks ago

Add a semi-transparent modal over each grid item displaying their popularity score, gender, and known work.

There isn't much info given for each actor, but there is more on each known_for work. May want to include media_type and release_date

Here's an example of what the API returns for a single actor (only showing one known_for):

{
  "adult": false,
  "gender": 2,
  "id": 19274,
  "known_for_department": "Acting",
  "name": "Seth Rogen",
  "original_name": "Seth Rogen",
  "popularity": 33.341,
  "profile_path": "/2dPFskUtoiG0xafsSEGl9Oz4teA.jpg",
  "known_for": [
    {
      "backdrop_path": "/uHTjgDGom9iOoUZke86gqMjBUgy.jpg",
      "id": 223702,
      "title": "Sausage Party",
      "original_title": "Sausage Party",
      "overview": "Hot dog Frank leads a group of supermarket products on a quest to discover the truth about their existence and what really happens when they become chosen to leave the grocery store.",
      "poster_path": "/vNgdPJQ5CI60oEiiHLKRNrsDhMy.jpg",
      "media_type": "movie",
      "adult": false,
      "original_language": "en",
      "genre_ids": [12, 16, 35, 14],
      "popularity": 78.333,
      "release_date": "2016-07-11",
      "video": false,
      "vote_average": 5.739,
      "vote_count": 7132
    },