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 回复(第 1 页,共 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.

找不到电影或节目?登录并创建它吧。

全站通用

s 聚焦到搜索栏
p 打开个人资料菜单
esc 关闭打开的窗口
? 打开键盘快捷键窗口

在媒体页面

b 返回(或返回上级)
e 进入编辑页面

在电视季页面

(右箭头)下一季
(左箭头)前一季

在电视集页面

(右箭头)下一集
(左箭头)上一集

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

t 打开翻译选择器
ctrl+ s 提交

在讨论页面

n 创建新讨论
w 切换关注状态
p 设为公开 / 私密讨论
c 关闭 / 开放讨论
a 打开活动页
r 回复讨论
l 跳转至最新回复
ctrl+ enter 发送信息
(右箭头)下一页
(左箭头)前一页

设置

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区