Jump to content

trakt.tv not scrobbling again


Go to solution Solved by Luke,

Recommended Posts

Posted

I had this problem in the past, but it was chalked up to needing a new API key from Trakt.
This time I've tried the API key a few times with no lock.
Also, the account is not locked on the Trakt side.

Here's the pertinent log section. All it says is "BadRequest" which isn't very specific.

2024-08-18 21:54:16.989 Info Trakt: Item is played. Scrobble
2024-08-18 21:54:17.555 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey)
2024-08-18 21:54:18.089 Info HttpClient: POST https://api.trakt.tv/oauth/token
2024-08-18 21:54:18.214 Error Trakt: Exception handled sending status update
	*** Error Report ***
	Version: 4.8.8.0
	Command line: C:\Users\jeremy\Desktop\HTPC_Apps\Emby_Portable\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.22631
	Framework: .NET 6.0.30
	OS/Process: x64/x64
	Runtime: C:/Users/jeremy/Desktop/HTPC_Apps/Emby_Portable/system/System.Private.CoreLib.dll
	Processor count: 12
	Data path: C:\Users\jeremy\Desktop\HTPC_Apps\Emby_Portable\programdata
	Application path: C:\Users\jeremy\Desktop\HTPC_Apps\Emby_Portable\system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: 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.PostToTrakt(String url, Object data, TraktUser traktUser, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.SendEpisodeStatusUpdateAsyncInternal(List`1 episodeDatas, MediaStatus status, TraktUser traktUser, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.SendEpisodeStatusUpdateAsync(Episode episode, MediaStatus status, TraktUser traktUser, Single progressPercent, CancellationToken cancellationToken)
	   at Trakt.ServerMediator.KernelPlaybackStopped(Object sender, PlaybackStopEventArgs e)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()

 

Thanks.

Posted

Hi @GollyJerplease attach the complete emby server log. thanks.

  • 2 weeks later...
Posted
15 minutes ago, GollyJer said:

@luke?

Can you try reconfiguring your Trakt credentials? Thanks.

Posted

Hey @LukeThanks for the reply. I had tried that a couple times before posting.

But! I think I figured out what's going on. I run the Adguard app on my TV and it looks like it was blocking traffic to trak.tv.
I added trakt to he whitelist and things we watched yesterday showed up in the trakt history.

Now the next challenge. How do I go about getting emby to update trakt with the last 6 months of missed tracking? Thanks!

msedge_lWYHRGn71s.png

  • Solution
Posted
Quote

How do I go about getting emby to update trakt with the last 6 months of missed tracking? Thanks!

Hi, your best bet would be to do a one-time manual run of the Trakt scheduled task(s). 

Posted

Dang... well, I thought it was fixed, but it looks like a ton of history is still missing. 

Maybe the Emby TV app wasn't updating the server database watch-entry when trak.tv was blocked? I know that doesn't make any sense. Just thinking out loud.

Posted
Quote

Maybe the Emby TV app wasn't updating the server database watch-entry when trak.tv was blocked?

Hi, no. The core server won't act differently depending on what the Trakt plugin does.

Posted
Quote

it looks like a ton of history is still missing. 

Such as?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...