Soporte de 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 respuestas (en la página 1 de 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! ;)

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión