TraktRater icon indicating copy to clipboard operation
TraktRater copied to clipboard

Support import of IMDb check-ins

Open curtisgibby opened this issue 12 years ago • 3 comments

IMDb has a relatively-new feature called check-ins. The user can download a CSV list of these check-ins, just like the ratings.csv. I think the checkins.csv import would be a very nice addition to the TraktRater application, especially for TV shows where you wouldn't necessarily need to rate every episode.

curtisgibby avatar Feb 26 '13 01:02 curtisgibby

Might have to rename TraktRater to something else if that was added :)

If the structure of the checkin csv is pretty similar to the rating one then I may add it in otherwise I may need to re-think this app to support watched / watchlists from other sites as well.

damienhaynes avatar Feb 26 '13 09:02 damienhaynes

So after I created this issue, I tried tweaking my own code that already parses the checkins.csv to push to the Trakt show/episode/seen API, but it turns out that the data from the IMDb export are formatted differently enough that it wouldn't be simple. For example, the IMDb export has the IMDb title ID, along with a field that's mapped with "Show Name: Episode Title" (e.g. "New Girl: Parking Lot"), but nothing to indicate which season/episode number that particular episode is (e.g. Season 2, Episode 17), which is what the Trakt show/episode/seen API seems to require.

You could still do it, by scraping the actual IMDb title page (e.g. http://www.imdb.com/title/tt2675986/ ), or by pulling some other third-party API to determine the season/episode number. Or you could support importing from the checkins.csv, but only for movies. But to me, the functionality still does not seem particularly useful, since Trakt doesn't currently support passing a date for when you watched the episode or movie. So, you can choose whether it's worth your time to implement.

curtisgibby avatar Feb 26 '13 15:02 curtisgibby

I already handle tv episode names when importing ratings for imdb episodes. I basically get the series record for a show, then look up the episode title. If there is a match, I then use the episode numbers and season numbers to import to trakt.

damienhaynes avatar Feb 26 '13 20:02 damienhaynes