damienhaynes / TraktRater

TraktRater is a tool written in C# to help users transfer user episode, show and movie user ratings and watchlists from multiple media database sites around the web.
638 stars 36 forks source link

Importing TV Shows from IMDB as Movies in Trakt #163

Closed ikf7457 closed 2 weeks ago

ikf7457 commented 3 weeks ago

Thanks for taking the time to create this tool. I just used it to import my watch list and ratings/history from IMBD (via csv export/import) and while the Movies have come across correctly, all the TV shows have been added as Movies. ie the tool (or Trakt) hasn't added the TV Shows, it's attempted to find Movies with the same name as the TV shows and it's added those instead. This has happened for both the watchlist and ratings/history. Did I miss something in the instructions? Is this expected behaviour or something not quite working as it should? Thanks.

damienhaynes commented 3 weeks ago

Thanks.

That is a strange result, do you mind sharing your CSV file? I can take a look to see if something has changed, in particular the identification of tv shows vs movies. If not, I can download my test one when I get a chance to take a look.

ikf7457 commented 3 weeks ago

Hi,

Thanks for the quick reply.

I've attached the two .csv files.

I did try using the web scrape but that didn't work either, for ratings or watchlist, so maybe IMDB changed something on their side?

Thanks

Ian


From: Damien Haynes @.> Sent: 18 August 2024 10:36 To: damienhaynes/TraktRater @.> Cc: ikf7457 @.>; Author @.> Subject: Re: [damienhaynes/TraktRater] Importing TV Shows from IMDB as Movies in Trakt (Issue #163)

Thanks.

That is a strange result, do you mind sharing your CSV file? I can take a look to see if something has changed, in particular the identification of tv shows vs movies. If not, I can download my test one when I get a chance to take a look.

— Reply to this email directly, view it on GitHubhttps://github.com/damienhaynes/TraktRater/issues/163#issuecomment-2295195548, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BKTMZSSJHNDYEJSMBGHTPU3ZSBTI7AVCNFSM6AAAAABMWF6AGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJVGE4TKNJUHA. You are receiving this because you authored the thread.

damienhaynes commented 3 weeks ago

Hi @ikf7457,

I did not get your attachments for some reason. However, I downloaded the latest csv exports for my login and did notice that there is a change.

I will make a fix and let you know when available.

Cheers Damien

damienhaynes commented 2 weeks ago

There may be more changes I haven't picked up on yet but the main thing is, is that they have renamed "tvepisode" to "tv episode" and "tvseries" to "tv series" ignoring the case.

So if you want to it to work with your current version you can do a mass rename in the csv's or just wait for an updated release.

ThisIsCyreX commented 1 week ago

This line from an imdb-ratings-export.csv with a TV Special:

tt13623136,6,2024-02-01,"The Guardians of the Galaxy Holiday Special","The Guardians of the Galaxy Holiday Special",https://www.imdb.com/title/tt13623136,TV Special,6.9,42,2022,"Action, Adventure, Comedy, Sci-Fi",96963,"2022-11-25","James Gunn"

will result in this:

[...]
2024-08-30 00:17:09.003 [DEBG] [][03]: Address: http://api.trakt.tv/sync/ratings, Post: {"shows":[{"ids":{"imdb":"tt13623136"},"title":"The Guardians of the Galaxy Holiday Special","year":2022,"rated_at":"2024-02-01T00:00:00Z","rating":6}]}
2024-08-30 00:17:09.160 [DEBG] [][03]: Response: {"added":{"movies":0,"shows":0,"seasons":0,"episodes":0},"not_found":{"movies":[],"shows":[{"ids":{"imdb":"tt13623136"},"title":"The Guardians of the Galaxy Holiday Special","year":2022,"rated_at":"2024-02-01T00:00:00Z","rating":6}],"seasons":[],"episodes":[],"people":[],"users":[]}}
2024-08-30 00:17:09.160 [INFO] [][01]: Unable to sync ratings for 1 shows as they're not found on trakt.tv!
[...]

Changing it to tvspecial did not work, but to Movie did.

Thank you!