Suporte do The Movie Database

How do I detect deleted episodes of a show?

I believe the only current (complicated) method is: Call CHANGES api with relevant dates, it will tell me which shows have changed, then I should get all seasons+eps of that show, then compare against my current list of eps, and figure out from there which were deleted.

It would be nice if there's an easier way, perhaps there is and I'm just not seeing it?

5 respostas (na página 1 de 1)

Jump to last post

Hi @gpvista, you're right there is no other way than by using the change methods.

An efficient way to solve this would be for me to add another set of daily exports for deleted ids. I've created a new ticket for me to think about this here.

Just to clarify, is there a changes() API for EPISODES, or just for shows?

Yup, all TV objects (series, seasons and episodes) have the change methods.

I think we're miscommunicating; I need an API that tells me "all tv eps that have changed", I can't do an API call on all 1m eps in my DB.

So I looked at the API, and I see "miscChangedMovies" and "miscChangedTvs", which covers movies and shows, but I don't see a "miscChangedEpisodes" function-- that's what's missing. Or am I wrong?

The only way to do it right now is from the TV series level, as I mentioned already there is no discrete TV episode change list. Right now, you would walk down the ladder to to speak from changed TV series.

  1. https://developers.themoviedb.org/3/changes/get-tv-change-list
  2. With an id, call: https://developers.themoviedb.org/3/tv/get-tv-changes
  3. When you come across a "season" key, call: https://developers.themoviedb.org/3/tv-seasons/get-tv-season-changes
  4. When you come across a "episode" key, call: https://developers.themoviedb.org/3/tv-episodes/get-tv-episode-changes

You drill down into the object with each request. So on an individual series level that works ok, but to see the bigger picture outside of a episode or season's associations, there's no way. The best way for that to work would probably be the way I mentioned in my first post, to publish separate a list of deleted ids.

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