[TOOL] Sync Ratings and Watchlist to trakt.tv (IMDb, TMDb, TVDb, Listal, Criticker, Letterboxd) | Page 3

Discussion in 'Trakt' started by ltfearme, March 20, 2014.

  1. FeIix

    FeIix Portal Member

    Joined:
    March 20, 2016
    Messages:
    10
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +1 / 0
    Home Country:
    Italy Italy
    Ok, waiting news. (y)


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,455
    Likes Received:
    4,239
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,379 / 0
    Home Country:
    Australia Australia
    @felix,

    I have done a first pass on supporting Letterboxd (Ratings and Watched flags). You can find the attached test version here. For watched flags I use both the Diary and Watched csv's, the Diary file also includes actual watched dates so its better that just the Watched CSV by itself.

    Note: because the CSVs from Letterboxd do not include IMDb or TMDb IDs I have to fallback to Title + Year matching on trakt.tv, I think that should be okay since both sites use the same data source i.e. TMDb.
     

    Attached Files:

  4. FeIix

    FeIix Portal Member

    Joined:
    March 20, 2016
    Messages:
    10
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +1 / 0
    Home Country:
    Italy Italy
    Thanks, seems to work well, but something does not add:

    Letterboxd
    [​IMG]
    Trakt
    [​IMG]
     
  5. FeIix

    FeIix Portal Member

    Joined:
    March 20, 2016
    Messages:
    10
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +1 / 0
    Home Country:
    Italy Italy
    Another matter, the "watched.csv" file contains all the movies which I've seen, without specifying when, if today I add 20 films, for example, Trakt will mark them as seen today.
    Is it possible that these movies are not added as seen today, but at release date?

    Furthermore there is a problem with the votes:
    [​IMG]
    In the "ratings.csv" file, for example, I have this film:
    Code (Text):
    1. 2016-03-16,The Grand Budapest Hotel,2014,https://letterboxd.com/film/the-grand-budapest-hotel/,4.5
    But the rating 4.5, is approximated to 5, and therefore on Trakt results to be a 10 rather than a 9.
    Same problem with all the other votes "x.5".
     
  6. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,455
    Likes Received:
    4,239
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,379 / 0
    Home Country:
    Australia Australia
    Hard to say why that is, I would need to see all the CSVs and the TraktRater log.
     
  7. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,455
    Likes Received:
    4,239
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,379 / 0
    Home Country:
    Australia Australia
    Yes it is possible to add that as a option.

    I didn't see this issue myself, 4.5=9, 3.5=7 etc. I can take a look at the log to see if any clues, I wonder if it has anything to do with your regional settings, what country are they set to in Windows?
     
  8. FeIix

    FeIix Portal Member

    Joined:
    March 20, 2016
    Messages:
    10
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +1 / 0
    Home Country:
    Italy Italy
    OK, the country is Italy, but currently I don't have pc at hand, I will upload the files as soon as possible.
     
  9. FeIix

    FeIix Portal Member

    Joined:
    March 20, 2016
    Messages:
    10
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +1 / 0
    Home Country:
    Italy Italy
    Here it the files, they should all be.
     
  10. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,455
    Likes Received:
    4,239
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,379 / 0
    Home Country:
    Australia Australia
    @felix,

    Regarding the missing movie, it was not imported because the API reported it not found:
    Code (Text):
    1.  
    2. 2016-04-03 12:50:46.395 [DEBG] [][03]: Response: {"added":{"movies":25,"episodes":0},"not_found":{"movies":[{"ids":null,"title":"Rob-B-Hood","year":2006,"watched_at":"2016-03-19T00:00:00Z"}],"shows":[],"seasons":[],"episodes":[],"people":[]}}
    3. 2016-04-03 12:50:46.457 [INFO] [][01]: Unable to sync Letterboxd watched states for 1 movies as they're not found on trakt.tv!
    4.  
    The movie in question is Rob-B-Hood (2006). I can see it does exist at trakt here: https://trakt.tv/movies/robin-b-hood-2006, this appears to be a bug with the API on the server as im not doing anything wrong.

    I will test on my end to see if the same issue and report it as a bug.
     
  11. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,455
    Likes Received:
    4,239
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,379 / 0
    Home Country:
    Australia Australia
    @felix,

    forget what I said above, it's an issue with title of the movie not in sync. After a closer look I noticed the Title is different Rob-B-Hood (2006) vs Robin-B-Hood (2006).

    The Title on TMDb is Rob-B-Hood, so I have clicked the refresh data link for that movie on trakt, it should sync across the same title soon. Please try again later once that is done.
     

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!