Jump to content

Trakt plugin not updating local watched state for all media


Intropy

Recommended Posts

I am trying to sync watched states from trakt to emby, but not all media watched states are being synced. I do see that when I watch media in emby that gets recorded to trakt correctly.

 

Config:

<?xml version="1.0"?>                                                           
<PluginConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">                                        
  <TraktUsers>                                                                  
    <TraktUser>                                                                 
      <UserName>Foo</UserName>                                              
      <Password>Bar</Password>                                  
      <LinkedMbUserId>some_guid</LinkedMbUserId>         
      <UsesAdvancedRating>false</UsesAdvancedRating>                            
      <UserToken>baz</UserToken>                               
      <SkipUnwatchedImportFromTrakt>true</SkipUnwatchedImportFromTrakt>         
      <PostWatchedHistory>true</PostWatchedHistory>                             
      <ExtraLogging>true</ExtraLogging>                                         
      <ExportMediaInfo>false</ExportMediaInfo>                                  
      <LocationsExcluded />                                                     
    </TraktUser>                                                                
  </TraktUsers>                                                                 
</PluginConfiguration>

Log snippets

 

startup

2017-09-02 14:17:15.324 Info Main: Emby
	Command line: /usr/pbi/emby-amd64/lib/emby-server/MediaBrowser.Server.Mono.exe -ffmpeg /usr/pbi/emby-amd64/bin/ffmpeg -ffprobe /usr/pbi/emby-amd64/bin/ffprobe -programdata /var/db/emby-server
	Operating system: Unix 11.0.0.0
	64-Bit OS: True
	64-Bit Process: True
	Mono: 4.6.1 (Stable 4.6.1.5/ef43c15 Mon Jun 12 05:53:22 UTC 2017)
	Processor count: 2
	Program data path: /var/db/emby-server
	Application directory: /usr/pbi/emby-amd64/lib/emby-server
...
2017-09-02 14:17:16.081 Info App: Loading Trakt, Version=3.0.6434.24505, Culture=neutral, PublicKeyToken=null

running trakt:

2017-09-02 14:18:58.798 Info TaskManager: Executing Import playstates from Trakt.tv
...
2017-09-02 14:18:58.815 Debug XmlSerializer: Deserializing file /var/db/emby-server/plugins/configurations/Trakt.xml
2017-09-02 14:18:58.832 Info HttpClient: HttpClientManager GET: https://api-v2launch.trakt.tv/sync/watched/movies
2017-09-02 14:18:59.804 Info HttpClient: HttpClientManager GET: https://api-v2launch.trakt.tv/sync/watched/shows
2017-09-02 14:19:01.307 Info Trakt: Trakt.tv watched Movies count = 700
2017-09-02 14:19:01.307 Info Trakt: Trakt.tv watched Shows count = 243
...
2017-09-02 14:19:06.271 Debug Trakt: Movie is in Watched list Movie 1
2017-09-02 14:19:06.276 Debug Trakt: Movie is in Watched list Movie 2
2017-09-02 14:19:06.279 Debug Trakt: Movie is in Watched list Movie 3
...
2017-09-02 14:19:06.450 Debug Trakt: Movie is in Watched list Movie 78
<a bunch of lines like the above pertaining to tv shows>
2017-09-02 14:19:17.637 Info TaskManager: Import playstates from Trakt.tv Completed after 0 minute(s) and 18 seconds

Only 78 lines like the above mention movies, but this is far fewer than either the set of watched movies, the set of movies present within emby or the intersection of those sets. I haven't dug much into show state updates yet, so I don't know whether they are all syncing down correctly.

Link to comment
Share on other sites

  • 3 months later...

@@Intropy

 

Our Trakt plugin has been updated to 3.1.2. Due to Trakt API changes, you will need to install the update, and then re-authenticate using the trakt plugin configuration screen.

 

In addition, there are improvements to the Trakt syncing process. Please let us know if this helps. Thanks !

Link to comment
Share on other sites

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...