Soporte de The Movie Database

There seems to be an issue with retrieving an actors credits for a TV series when duplicate ID's exist. For example:

Scott Bakula https://www.themoviedb.org/person/2154-scott-bakula

1989 Quantum Leap - (98 episodes) as Sam Beckett 1989 Quantum Leap - (2 episodes) https://www.themoviedb.org/tv/4018-quantum-leap

Nathan Fillion https://www.themoviedb.org/person/51797-nathan-fillion

1997 Buffy the Vampire Slayer - (145 episodes) as Caleb 1997 Buffy the Vampire Slayer - (5 episodes)

https://www.themoviedb.org/tv/95-buffy-the-vampire-slayer

Is there any way to work around this with the API? At the moment when I retrieve an actors credits for a TV show with duplicate ID's they are coming back with no seasons and missing data.

1 respuesta (en la página 1 de 1)

Jump to last post

Hi dontfeedthecode,

It's just a data issue, you can see Scott Bakula is added as a guest star: https://www.themoviedb.org/tv/4018-quantum-leap/season/5/episode/11

When I query his tv credits:

https://api.themoviedb.org/3/person/2154/tv_credits?api_key=###

Both entries are returned:

{
  "cast": [
    ...,
    {
      "character": "",
      "credit_id": "52575a28760ee36aaa2990b3",
      "episode_count": 2,
      "first_air_date": "1989-03-26",
      "id": 4018,
      "name": "Quantum Leap",
      "original_name": "Quantum Leap",
      "poster_path": "/xpsszjreNk32LCmzUo9E6rknwzW.jpg"
    },
    {
      "character": "Sam Beckett",
      "credit_id": "52575a48760ee36aaa29ce59",
      "episode_count": 98,
      "first_air_date": "1989-03-26",
      "id": 4018,
      "name": "Quantum Leap",
      "original_name": "Quantum Leap",
      "poster_path": "/xpsszjreNk32LCmzUo9E6rknwzW.jpg"
    },
    ...
  ],
  "id": 2154
}

When you make a call to a credit for season members, it won't show the episodes, only season. If the season is present, you can assume they are a "season regular" and therefore in every episode.

https://api.themoviedb.org/3/credit/52575a48760ee36aaa29ce59?api_key=###

To fix the problem with the data, you can either remove the data yourself (as you find it) or report it in the content issues forum and one of our moderators can help you out.

¿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