kaledi 41 Posted February 4, 2024 Posted February 4, 2024 Just updated to the new version of the server. Do I have to reconfigure trakt tokens for all users that use it? I've attempted this, but 'Export Library to trakt' keeps failing. I sync playstates across multple users so I need to use this function
Luke 42080 Posted February 4, 2024 Posted February 4, 2024 Quote Do I have to reconfigure trakt tokens for all users that use it? Hi, you might need to, due to the way that Trakt has been redesigned. Quote I've attempted this, but 'Export Library to trakt' keeps failing. Let's look at an example: How to Report a Problem Thanks.
kaledi 41 Posted February 4, 2024 Author Posted February 4, 2024 So I've obtained a new token for each user and input into the emby interface. I've attempted to run a scheduled task for trakt, and as I understand it. The token should disapear from the interface once it has been run. This is not the case. I submit a report.
Luke 42080 Posted February 4, 2024 Posted February 4, 2024 4 hours ago, kaledi said: So I've obtained a new token for each user and input into the emby interface. I've attempted to run a scheduled task for trakt, and as I understand it. The token should disapear from the interface once it has been run. This is not the case. I submit a report. The trakt config page for Emby isn't built like that. It's fine that it stays there.
kaledi 41 Posted February 5, 2024 Author Posted February 5, 2024 Thanks. Messaged you last night with log file. Hope that helps
Luke 42080 Posted February 6, 2024 Posted February 6, 2024 Try redoing your authentication and see if that helps.
kaledi 41 Posted February 6, 2024 Author Posted February 6, 2024 Should I do one at a time, and run a task each time, that way it would authenticate 1 user at a time?
Luke 42080 Posted February 6, 2024 Posted February 6, 2024 The scheduled task will sync everyone. A less resource intensive way of testing would be to reconfigure authentication and then try playing something and see if that playback gets sent to trakt. That's a much lighter way of testing it.
kaledi 41 Posted February 6, 2024 Author Posted February 6, 2024 Nothing seems to be synching. Looking in my trakt account, nothing appears to have updated since before the server update. I've disabled trakt to only 3 accounts and ones that have administrative rights, but that makes no difference. Did the log I sent you reveal anything?
kaledi 41 Posted February 6, 2024 Author Posted February 6, 2024 Reduced to one user profile with a token trakt setting set to on. Still failed. However, this time I noticed a few things update in trakt itself and the schedule task 'export to trakt' ran for 4.5 min, but failed at the end. I've sent you another logfile
kaledi 41 Posted February 6, 2024 Author Posted February 6, 2024 OK, it looks like media added to the library is synching up to trakt, but playstates aren't, or at least not back from trakt to the server
kaledi 41 Posted February 6, 2024 Author Posted February 6, 2024 Just now, Luke said: What do you mean by failed? On the scheduled task it is says failed at the conclusion of the task
Luke 42080 Posted February 6, 2024 Posted February 6, 2024 So you didn't start with my suggestion? I am trying to help, and this will be much easier if you can do that.
kaledi 41 Posted February 6, 2024 Author Posted February 6, 2024 Appologies, may be I misundertood your suggestion and do value your input. Let me see if I can see changes when doing as you suggest. I've also now managed to import playstates to a new user profile on Emby Server connected to my account (this wasn't working previously). Maybe it is actually working, now and I'll test some more.
kaledi 41 Posted February 6, 2024 Author Posted February 6, 2024 OK - it appears that I do have it working now. I think what has occured is that some watched statuses haven't synched to trakt (prior to 4.8) and for some reason import of playstates wasn't working for a new user I created, so these two things combined and the 'failed' marking for upload playstates made me think it wasn't working at all. 1
Dariusz 25 Posted March 6, 2024 Posted March 6, 2024 I ran into this issue after updating to emby 4.8, my sync stopped working and i just noticed now.. anyways, i did read through this exchange and it was an easy fix for me.. hope this helps if anyone runs into it as well. as @Lukesaid to do, i went to trakt in emby settings and requested to get a new pin to reauthenticate.. i replaced my current pin with new one i got from trakt, saved settings and i then marked a movie or show as watched.. i checked trakt and it was there and synced ok.. so all i did after was i ran the initial task in scheduler manually, just once to update my library with all the content that did not sync over past month and i see it's all there on trakt now.. so no need to run the task again, but as mentioned from now it should update trakt each time a movie/show episode is watched.. 1
Korvenwin 1 Posted March 16, 2024 Posted March 16, 2024 I'm having same issue with Trakt.tv plugin since february. I'm doing manually scrobble. I've tried what @Lukesuggest without success. It doesn't work after playing a movie or on scheduled task. This is the error on scheduled task: BadRequest at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod) at Trakt.Api.TraktApi.PostToTrakt(String url, Object data, TraktUser traktUser, CancellationToken cancellationToken) at Trakt.Api.TraktApi.RefreshUserAuth(TraktUser traktUser, CancellationToken cancellationToken) at Trakt.Api.TraktApi.SetRequestHeaders(HttpRequestOptions options, TraktUser traktUser, CancellationToken cancellationToken) at Trakt.Api.TraktApi.GetFromTrakt[T](String url, TraktUser traktUser, CancellationToken cancellationToken) at Trakt.ScheduledTasks.TraktUserSync.SyncMovies(User user, TraktUser traktUser, TraktApi traktApi, ISplittableProgress`1 progress, CancellationToken cancellationToken) at Trakt.ScheduledTasks.TraktUserSync.SyncUserData(User user, TraktUser traktUser, TraktApi traktApi, ISplittableProgress`1 progress, CancellationToken cancellationToken) at Trakt.ScheduledTasks.SyncLibrary.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
Luke 42080 Posted March 21, 2024 Posted March 21, 2024 On 3/16/2024 at 5:24 AM, Korvenwin said: I'm having same issue with Trakt.tv plugin since february. I'm doing manually scrobble. I've tried what @Lukesuggest without success. It doesn't work after playing a movie or on scheduled task. This is the error on scheduled task: BadRequest at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod) at Trakt.Api.TraktApi.PostToTrakt(String url, Object data, TraktUser traktUser, CancellationToken cancellationToken) at Trakt.Api.TraktApi.RefreshUserAuth(TraktUser traktUser, CancellationToken cancellationToken) at Trakt.Api.TraktApi.SetRequestHeaders(HttpRequestOptions options, TraktUser traktUser, CancellationToken cancellationToken) at Trakt.Api.TraktApi.GetFromTrakt[T](String url, TraktUser traktUser, CancellationToken cancellationToken) at Trakt.ScheduledTasks.TraktUserSync.SyncMovies(User user, TraktUser traktUser, TraktApi traktApi, ISplittableProgress`1 progress, CancellationToken cancellationToken) at Trakt.ScheduledTasks.TraktUserSync.SyncUserData(User user, TraktUser traktUser, TraktApi traktApi, ISplittableProgress`1 progress, CancellationToken cancellationToken) at Trakt.ScheduledTasks.SyncLibrary.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options) @KorvenwinTry redoing your Trakt authentication and see if that helps.
Korvenwin 1 Posted March 26, 2024 Posted March 26, 2024 On 3/21/2024 at 9:52 PM, Luke said: @KorvenwinTry redoing your Trakt authentication and see if that helps. I've reset authentication without sucess.
Luke 42080 Posted March 27, 2024 Posted March 27, 2024 17 hours ago, Korvenwin said: I've reset authentication without sucess. Hi, what exactly did you do? What exactly happened? How to Report a Problem
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now