TMDbLib icon indicating copy to clipboard operation
TMDbLib copied to clipboard

Merged ID detection

Open rpm61 opened this issue 6 years ago • 6 comments

I am hoping that TMDb is providing information on Id's that have been merged. I have found that in some cases at least, an Id may return a 404 from the API, and also from the site with an "oops" page, but that the program may not necessarily be deleted and instead may have been merged into another Id. This is not uncommon especially in the case of duplicate record merges, but TMDb does not redirect the old page to the new one and I am looking for a way to determine this circumstance programmatically. At this point I don't believe the changes API is even indicating deletions. Is this information available somewhere that I am missing?

rpm61 avatar Feb 12 '19 17:02 rpm61

The Changes API should indicate deletions. I saw that referenced somewhere recently.

As for getting a list of "old id's" for any object, you'll probably have to put forward a feature request on TMDb's forums. If they make that, we'll make a corresponding API update here.

LordMike avatar Feb 13 '19 14:02 LordMike

OK thank you, I'll put the feature request in and let you know if it happens.

rpm61 avatar Feb 13 '19 20:02 rpm61

Great :)

Hadn't thought about id's merging, so it'll probably be good for those syncing up with their own DB's.

LordMike avatar Feb 13 '19 20:02 LordMike

Request in.

https://www.themoviedb.org/talk/5c657bd90e0a267dfd9c044f

rpm61 avatar Feb 14 '19 14:02 rpm61

Leaving this open so we can track it.

LordMike avatar Feb 14 '19 15:02 LordMike

The request was updated Friday and a ticket created for merged ID tracking which you can vote on here.

The reply also states that deleted Id's are returned by the changes endpoint with the Adult field set to null. Another ticket here is in place for a daily export of deleted Id's.

rpm61 avatar Feb 18 '19 13:02 rpm61