The Movie Database Support

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 replies (on page 1 of 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.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login