Assistance de TMDB

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 réponses (sur la page 1 sur 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.

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenêtre ouverte
? Ouvrir la fenêtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenêtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion