The Movie Database Support

When I do a query for movies credits by a person, the results are not returned with pages like most other queries. If possible it would be great to return pages like most other queries.

4 erantzun (1(e)tik 1. orrian)

Jump to last post

Hi Ken,

Everything is returned in the /person/:id/movie_credits method. There is no need for pagination. Is there a particular reason you're looking for these to be paginated?

Cheers.

Most of the time it is fine, just a few actors return a bunch of results like Tom Hanks for example returns 83 movie credits. The reason i ask is I have a bunch of code that takes collections of movies and displays them to the user in pages of 20 which is what most of your queries return. I can re-use my existing for this. What I have done now is just show them the first page of results.

I can write my own paging routine if needed.

FYI I am about 95% done with the movies part of the XBMC addon. I am thinking of releasing version 1.0 with just movie support and add in TV and People in later verisons.

Thanks!

Ken

Ya, it's probably easiest for you to just grab the first 20 items from the array and page through them that way.

FYI I am about 95% done with the movies part of the XBMC add-on.

Great!

Ok I guess I was just trying to be lazy! ;)

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Ezarpenak

Elementu hau kalifikatu edo zerrenda batera gehitzea nahi al duzu?

Saioa hasi