Suporte do The Movie Database

I happened to notice that for some queries the API is returning conflicting numbers of results, total_results is sometimes higher than the actual number of results, as an example, querying for 'Kung Fu Panda' returns:

{ "page": 1 "results": { "0": { "adult": "false" "backdrop_path": "/UJwhgwAxU42cm9XKncO9boFAEV.jpg" "id": 9502 "original_title": "Kung Fu Panda" "release_date": "2008-06-05" "poster_path": "/kShWOYf66HOuHTuCdIULgW4D60S.jpg" "popularity": 6.76111832255882 "title": "Kung Fu Panda" "vote_average": 6.4 "vote_count": 878 } "1": { "adult": "false" "backdrop_path": "null" "id": 152404 "original_title": "Kung Fu Panda: Po's Winter Wonderland" "release_date": "2010-11-15" "poster_path": "/3gxajJRugsFObstuWZPakdlGr66.jpg" "popularity": 0.23 "title": "Kung Fu Panda: Po's Winter Wonderland" "vote_average": 5 "vote_count": 2 } "2": { "adult": "false" "backdrop_path": "/eyiE1vuizMKVu8MoZkg2xsramFl.jpg" "id": 49444 "original_title": "Kung Fu Panda 2" "release_date": "2011-05-25" "poster_path": "/fTztLcGmOe7BzPbJzRaHXdEI2WG.jpg" "popularity": 5.99808764571379 "title": "Kung Fu Panda 2" "vote_average": 6.4 "vote_count": 476 } "3": { "adult": "false" "backdrop_path": "/a14RyRGC3kz7YeQtvphuYMtou9v.jpg" "id": 50393 "original_title": "Kung Fu Panda Holiday" "release_date": "2010-11-26" "poster_path": "/gp18R42TbSUlw9VnXFqyecm52lq.jpg" "popularity": 1.92774344266228 "title": "Kung Fu Panda Holiday" "vote_average": 7.7 "vote_count": 5 } "4": { "adult": "false" "backdrop_path": "null" "id": 140300 "original_title": "Kung Fu Panda 3" "release_date": "2015-12-23" "poster_path": "null" "popularity": 0.9384 "title": "Kung Fu Panda 3" "vote_average": 0 "vote_count": 0 } "5": { "adult": "false" "backdrop_path": "/hrjeL2XpS5NeFc1hdmJ8DkCPdBM.jpg" "id": 81003 "original_title": "Kung Fu Panda: Secrets of the Masters" "release_date": "2011-12-12" "poster_path": "/lNMQQaU2UVYprlhuFocavx0ICCL.jpg" "popularity": 1.69357630174051 "title": "Kung Fu Panda: Secrets of the Masters" "vote_average": 5.6 "vote_count": 5 } "6": { "adult": "false" "backdrop_path": "/51xNCEVTIVNdq1q3p8y16je8DZT.jpg" "id": 15854 "original_title": "Kung Fu Panda: Secrets of the Furious Five" "release_date": "2008-11-08" "poster_path": "/1K82HieXcMZIQjaYel9cTyzsG9g.jpg" "popularity": 1.53370978896539 "title": "Kung Fu Panda: Secrets of the Furious Five" "vote_average": 7.1 "vote_count": 12 } } "total_pages": 1 "total_results": 8 }

Seems to be either a missing result, or an off-by-one in calculating total_results, I'm guessing that this is a bug somewhere along the line.

1 resposta (na página 1 de 1)

Jump to last post

This is being caused by some stale items in our Solr index. I've created a new ticket for this and will look at it when I get some time.

Cheers.

Não consegue encontrar um certo filme ou série? Inicie sessão e adicione-o.

Geral

s focus the search bar
p abrir menu do perfil
esc close an open window
? open keyboard shortcut window

Em páginas de Média

b go back (or to parent when applicable)
e ir para a página de edição

Em páginas de temporadas de séries

(seta para a direita) ir para a próxima temporada
(seta para a esquerda) ir para a temporada anterior

Em Páginas de Episódios de Séries

(seta para a direita) ir para o próximo episódio
(seta para a esquerda) ir para o episódio anterior

Em Todas as Páginas de Imagens

a abrir janela para adicionar imagem

Em Todas as Páginas de Edição

t open translation selector
ctrl+ s submit form

Em Páginas de Discussão

n criar uma nova discussão
w toggle watching status
p toggle public/private
c toggle close/open
a abrir actividade
r reply to discussion
l ir para a última resposta
ctrl+ enter submit your message
(seta para a direita) página seguinte
(seta para a esquerda) página anterior

Definições

Deseja classificar ou adicionar este item a uma lista?

Iniciar Sessão

Ainda não é um membro?

Crie uma Conta e Adere a Comunidade