Trakt api not working (1 Viewer)

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    4,566
    2,937
    Nuenen
    Home Country
    Netherlands Netherlands
    Let's just first see how adding the year works out...
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,566
    2,937
    Nuenen
    Home Country
    Netherlands Netherlands
    Manged to get the series year after all. And when putting it in the trackinginfo works like a charm!

    Thanks for the tips!
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,566
    2,937
    Nuenen
    Home Country
    Netherlands Netherlands
    Got another one that is not working:
    When watched it didn't passed that to the trakt server (got a 404).
    After setting it to watched on the trakt site, it still didn't get the watched status in onlinevideos.
    Suspected a difference in the title, so in onlinevideos I added the imdb id.
    Now I have this as traktinfo in onlinevideos:
    1606651162334.png

    And this in my watched.json:
    Code:
    {"last_watched_at":"2020-11-28T22:49:40.000Z",
     "movie":{
       "ids":{
         "slug":"thor-the-dark-world-2013","trakt":56358,"imdb":"tt1981115","tmdb":76338
        },
        "title":"Thor: The Dark World",
        "year":2013
      },
      "plays":1
    }

    But still in onlinevideos it doesn't show up as matched.
    Perhaps you could tweak the matching of traktinfo with the wachted.json to give preference to imdb if present?
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    But still in onlinevideos it doesn't show up as matched.
    Hi @doskabouter, I'm not sure why the scrobble failed with 404, maybe a possible bug on the trakt side as the title+year should of been enough for an exact match IMO with that particular movie.

    Regarding your issue with OnlineVideos not showing that movie as watched after marking as watched on trakt.tv, this is because the the trakt plugin's OnlineVideo handler has not implemented anything for SyncLibrary:

    I'm open to implementing that if you can give me more details, or if you are keen you can do it ;)
     
    Last edited:

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,566
    2,937
    Nuenen
    Home Country
    Netherlands Netherlands
    Still think it has to do with the title.
    I'm presenting it as "Thor the dark world" but in trakt it is "Thor: the dark world" (note the colon after Thor).

    And normally if I set a show or movie to watched, it also shows in mediaportal, so that is not the issue.
    If that wouldn't work I wouldn't have it in my watched.json...
    It is with this particular movie, and I still suspect the spelling difference...
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Thanks for the info, I didn't realise the OnlineVideos plugin reads from the TraktCache to mark items as watched or I just forgot :)
     

    Users who are viewing this thread

    Top Bottom