• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Trakt add-on not exporting new library additions to collection.

    Pages (3): 1 2 3 Next »

     
    • 0 Vote(s) - 0 Average

    Trakt add-on not exporting new library additions to collection.

    KodiUser1138
    Offline

    Member

    Posts: 275
    Threads: 33
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #1
    2025-01-03, 02:45 AM
    Not sure why but can't get the Trakt add-on to export new additions to my libraries to my Trakt collection. The export just fails when manually starting or during it's regualar scheduled task
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-01-03, 03:21 PM
    I'm assuming you are seeing something 429 errors in your jellyfin log when Trakt tries to sync?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    KodiUser1138
    Offline

    Member

    Posts: 275
    Threads: 33
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #3
    2025-01-04, 01:22 AM
    This is from the log when attempting to manually run the scheduled task. It's basically an instant fail.


    Code:
    System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
      at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
      at Trakt.Api.TraktApi.GetFromTrakt[T](String url, TraktUser traktUser, CancellationToken cancellationToken)
      at Trakt.Api.TraktApi.SendGetAllWatchedMoviesRequest(TraktUser traktUser)
      at Trakt.ScheduledTasks.SyncLibraryTask.SyncMovies(User user, TraktUser traktUser, IProgress`1 progress, Double currentProgress, Double availablePercent, CancellationToken cancellationToken)
      at Trakt.ScheduledTasks.SyncLibraryTask.SyncUserLibrary(User user, TraktUser traktUser, IProgress`1 progress, Double currentProgress, Double percentPerUser, CancellationToken cancellationToken)
      at Trakt.ScheduledTasks.SyncLibraryTask.ExecuteAsync(IProgress`1 progress, CancellationToken cancellationToken)
    [2025-01-03 18:19:10.426 -07:00] [ERR] [67] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error executing Scheduled Task
    System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
      at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
      at Trakt.Api.TraktApi.GetFromTrakt[T](String url, TraktUser traktUser, CancellationToken cancellationToken)
      at Trakt.Api.TraktApi.SendGetAllWatchedMoviesRequest(TraktUser traktUser)
      at Trakt.ScheduledTasks.SyncLibraryTask.SyncMovies(User user, TraktUser traktUser, IProgress`1 progress, Double currentProgress, Double availablePercent, CancellationToken cancellationToken)
      at Trakt.ScheduledTasks.SyncLibraryTask.SyncUserLibrary(User user, TraktUser traktUser, IProgress`1 progress, Double currentProgress, Double percentPerUser, CancellationToken cancellationToken)
      at Trakt.ScheduledTasks.SyncLibraryTask.ExecuteAsync(IProgress`1 progress, CancellationToken cancellationToken)
      at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
    [2025-01-03 18:19:10.434 -07:00] [INF] [67] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Export library to trakt.tv" Failed after 0 minute(s) and 0 seconds
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-01-04, 07:01 PM
    Try going to the Trakt plugin settings and re-authorizing since it looks like the authorization expired or was reset.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    KodiUser1138
    Offline

    Member

    Posts: 275
    Threads: 33
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #5
    2025-01-04, 10:56 PM
    I've done that already. Went to Trakt and dissasossiated all approved apps (only use JF) and re-authorized. That didn't help. I uninstalled and re-downloaded the add-on and that didn't work either. Frustrating. Thanks for looking at it though.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    KodiUser1138
    Offline

    Member

    Posts: 275
    Threads: 33
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #6
    2025-01-14, 09:05 AM
    I have fully revoked access to all devices, then authorized again and Jellyfin still just gives me an immediate fail when trying to export my library to Trakt. Frustrating at not being able to add new content to my library, despite my views for current content working fine.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2025-01-14, 02:16 PM
    At this point, you may want to contact Trakt. I don't normally use Trakt, but I installed it on my test instance and I can't replicate your problem. I was able to export to trakt no problem. And I don't see any settings in my Trakt account that would restrict access or something.

    Do you have debug logging enabled on the Trakt plugin? Not sure if the unauthroized messages you're mentioning are debug level or not.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    KodiUser1138
    Offline

    Member

    Posts: 275
    Threads: 33
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #8
    2025-01-14, 03:35 PM
    Trakt says to contact Jellyfin haha.

    There is no debug option I am aware of. Just frustrated as this all worked before. Outside of nuking JF again to try I don't know what else to do.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2025-01-14, 04:17 PM (This post was last modified: 2025-01-14, 04:17 PM by TheDreadPirate.)
    Go to Dashboard > My Plugins > Trakt. At the bottom, just above the save button, is a check box to enable debug logging for the plugin.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    KodiUser1138
    Offline

    Member

    Posts: 275
    Threads: 33
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #10
    2025-01-15, 01:51 AM
    OK found that, turned it on, tried the export and this is what came up in the log. No idea what I'm looking for here (running on fumes atm). Unless there is another Trakt specific log someplace I can't find. 


    Code:
    System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
      at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
      at Trakt.Api.TraktApi.GetFromTrakt[T](String url, TraktUser traktUser, CancellationToken cancellationToken)
      at Trakt.Api.TraktApi.SendGetAllWatchedMoviesRequest(TraktUser traktUser)
      at Trakt.ScheduledTasks.SyncLibraryTask.SyncMovies(User user, TraktUser traktUser, IProgress`1 progress, Double currentProgress, Double availablePercent, CancellationToken cancellationToken)
    [2025-01-14 18:49:45.880 -07:00] [ERR] [41] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error executing Scheduled Task
    System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
      at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
      at Trakt.Api.TraktApi.GetFromTrakt[T](String url, TraktUser traktUser, CancellationToken cancellationToken)
      at Trakt.Api.TraktApi.SendGetAllWatchedMoviesRequest(TraktUser traktUser)
      at Trakt.ScheduledTasks.SyncLibraryTask.SyncMovies(User user, TraktUser traktUser, IProgress`1 progress, Double currentProgress, Double availablePercent, CancellationToken cancellationToken)
      at Trakt.ScheduledTasks.SyncLibraryTask.SyncUserLibrary(User user, TraktUser traktUser, IProgress`1 progress, Double currentProgress, Double percentPerUser, CancellationToken cancellationToken)
      at Trakt.ScheduledTasks.SyncLibraryTask.ExecuteAsync(IProgress`1 progress, CancellationToken cancellationToken)
      at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
    [2025-01-14 18:49:45.883 -07:00] [INF] [41] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Export library to trakt.tv" Failed after 0 minute(s) and 0 seconds
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    Pages (3): 1 2 3 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode