lardbit / nefarious

Web application for automatically downloading TV & Movies (w/ VPN)
https://lardbit.github.io/nefarious/
GNU General Public License v3.0
1.04k stars 76 forks source link

Add paging to search UI #115

Closed panmona closed 3 years ago

panmona commented 3 years ago

When searching for movies only the first ~20 movies are shown. When your wished movie is not on that page, you can't add that movie. So I suggest to add paging like on themoviedb. By the way: a filter like "release year" would be very nice to have.

Both of these features are supported by their API: https://developers.themoviedb.org/3/search/search-movies

lardbit commented 3 years ago

Good points! I guess I've never needed to page next on the search page. I like the release date filter as well. I'll keep this open until I have time to work on it.

panmona commented 3 years ago

I noticed this issue when I was trying to add the movie Burning. Is there a way to manually circumvent this limitation for the time being?

lardbit commented 3 years ago

Yeah, a workaround is to just swap the tmdb id in the URL. So, just click on a random search result, and then swap the id in the URL. So, Burning has the tmdb id of 491584 so swap like:

image

lardbit commented 3 years ago

^ I got the tmdb id of Burning from the link you provided. It's in the URL.

lardbit commented 3 years ago

@panmau, I added paging to the Search screen. See f5d86eabf5401d99f6418a280ba9d8e194c48bf0. I'm closing this ticket but keep in mind it'll take an hour or so for the docker image to be built via Github Actions.

panmona commented 3 years ago

Just checked it, thanks for adding it :+1: Would be even better if the current/previous/later pages could also be shown but that's just a nice to have and not really important. Time is better spent focusing on some other issues!