[6.0.3] Trakt for MediaPortal [2020-01-01] (3 Viewers)

Gcarr

MP Donator
  • Premium Supporter
  • August 17, 2014
    244
    90
    Home Country
    United States of America United States of America
    Not sure if this is the place to report but, I wanted to let you know what happened yesterday.
    I had a little problem, my Trakt authorization had expired on one of my clients. I finally got around to fixing that but, before doing that, I updated extensions, Online Videos to 2.9.0.0 and Trakt to 6.0.7.437
    After updating, I could not authorize Trakt because the update process would crash. I was getting this error:

    [2026-05-05 05:59:36,083] [Error ] [DashShows] [ERROR] - MediaPortal: Unhandled exception occurred
    [2026-05-05 05:59:36,083] [Log ] [DashShows] [ERROR] - Exception: System.TypeLoadException: Could not load type 'Newtonsoft.Json.JsonConvert' from assembly 'OnlineVideos, Version=2.9.0.0, Culture=neutral, PublicKeyToken=null'.

    I downgraded OV to 2.8.01 and Trakt to 6.0.7.435 and everything worked again. I don't know which was the culprit and I'm afraid to update and go through that process again. Attaching error log.
     

    Attachments

    • MediaPortal-Error.3.log
      24.3 KB

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,760
    7,224
    Sydney
    Home Country
    Australia Australia
    @Gcarr looks like Newtonsoft.Json.dll dependency may be missing from your installation (typically from C:\Program Files\Team MediaPortal\MediaPortal).

    @ajs does this come with MediaPortal installation by any chance? If not, then will needed to be included by Trakt as the latest release does use it in logging.

    The version I am currently using on my personal machine is 13.0.3.27908
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,959
    13,420
    Kyiv
    Home Country
    Ukraine Ukraine
    does this come with MediaPortal installation by any chance
    Of course, MediaPortal installs Newtonsoft.Json.dll and uses it in all plugins and grabbers.

    XML:
    <package id="Newtonsoft.Json" version="13.0.3" targetFramework="net40" requireReinstallation="true" />

     
    Last edited:

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,760
    7,224
    Sydney
    Home Country
    Australia Australia
    Ok, I can reproduce after installing either 2.9.0.0 or 2.9.1.0 OnlineVideos.

    So as it stands, you can use the latest Trakt, but use 2.8.0.1 of OnlineVideos until the problem is identified.
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    5,226
    4,176
    Nuenen
    Home Country
    Netherlands Netherlands
    just an update:
    trakt is build against an older version of onlinevideos (with the embedded newtonsoft.json) so my guess is trakt really wants it from onlinevideos instead of using the dll already present in mediaportal.
    When adding the new onlinevideos dll's to the external folder, it won't compile anymore due to onlinevideos being at .net48
    Working on fixing it now

    Edit: just pushed an update to the master branch
     
    Last edited:

    Users who are viewing this thread

    Top Bottom