sct / overseerr

Request management and media discovery tool for the Plex ecosystem
https://overseerr.dev
MIT License
3.89k stars 449 forks source link

Add Status filtering #3850

Open ineednewpajamas opened 6 months ago

ineednewpajamas commented 6 months ago

Description

Add filtering for Status field

Desired Behavior

To have the ability to filter for items with a certain status, for example 'Returning Series'

Additional Context

Screenshot_20240423-080403

Code of Conduct

wesleyem commented 4 months ago

Here is the discussion I had with Travis Bell at TMDB.

Statuses for Movies: Rumored, Planned, In Production, Post Production, Released, Canceled

Statuses for TV: Returning Series, Planned, In Production, Ended, Canceled, Pilot

The TMDB API allows their discover/tv endpoint to filter based on TV statuses, however, discover/movie doesn't. So some client side filtering would need to be done.

Additionally, the various 'statuses' aren't available at any endpoint so they would need to be hard coded.

kage1414 commented 3 months ago

I'm interested in contributing, would this be a good first issue for a mid-level developer?

kage1414 commented 1 month ago

I'll go ahead and take this one

kage1414 commented 1 month ago

@wesleyem I don't think this will be possible for filtering movies. The status property is only available on the find endpoint and not returned by the discover endpoint. The only way to feasibly do this with Movies is to grab the details for every single movie retrieved by the find endpoint and I don't think we want to do that. Once the with_status property is added to tmdb it will be possible. I'm going to go ahead and reduce the scope to just TV and create another issue for movies

wesleyem commented 1 month ago

@kage1414 concur. This fell off my scan because I hit that roadblock with the TMDB API.