Служба підтримки 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 підтвердити повідомлення
(стрілка вправо) наступна сторінка
(стрілка вліво) попередня сторінка

Налаштування

Хочете оцінити чи додати до списку?

Увійти

Немає облікового запису?

Приєднайтеся до спільноти