Поддръжка на The Movie Database

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 отговора (на страница 1 от общо 1)

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

Не можете да откриете филм или сериал? Влезте, за да го създадете.

Глобални

s фокусиране на лентата за търсене
p отваряне на меню "Профил"
esc затваряне на отворен прозорец
? отваряне на прозореца за клавишните комбинации

На страниците за медиите

b връщане назад
e към страницата за редактиране

На страниците за сезони

(стрелка надясно) към следващ сезон
(стрелка наляво) към предишния сезон

На страниците за епизоди

(стрелка надясно) към следващ епизод
(стрелка наляво) предишен епизод

На всички страници за изображения

a отваряне на прозорец за добавяне на изображение

На всички страници за редактиране

t меню за избор на език, на превода
ctrl+ s изпращане на форма

На страниците за дискусия

n създаване на нова дискусия
w статус на наблюдаване
p публична/лична
c затваряне/отваряне
a отваряне на действия
r отговаряне в дискусия
l към последния отговор
ctrl+ enter изпращане на вашето съобщение
(стрелка надясно) следваща страница
(стрелка наляво) предишна страница

Настройки

Искате ли да го оцените или добавите към списък?

Вход