Jump to content


Photo

Trakt Plugin Not Updating Watched Status When Marked Watched Manually

trakt kodi

Best Answer Luke , 05 December 2017 - 11:27 AM

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 !

Go to the full post


  • Please log in to reply
28 replies to this topic

#1 cublikefoot OFFLINE  

cublikefoot

    Newbie

  • Members
  • 8 posts
  • Local time: 04:40 PM

Posted 24 June 2017 - 06:32 PM

Hello,

 

I'm having an issue with the Trakt plugin when using external players with Kodi. I have the latest version of the Trakt Emby Plugin (3.0.6369.28749) and the latest Emby beta version (3.2.20.12).

 

I got back from a trip a week ago and noticed that the Trakt plugin was no longer updating the watched status of any episode or movie watched through an external player on Kodi. It updates just fine when no external player is used (watched directly through Kodi), but when an external play is used (such as VLC or Media Player Classic), the watched status is not updated even when completed. I believe this is somewhat related to a previous issue I had posted (which got no response), as when I mark something as watched (in either Kodi or the Emby web client itself), Trakt is not updated. Previously, if I had simply marked something as watched (regardless of whether or not I had actually watched it), it would be updated on Trakt immediately. As stated in the previous thread I made, I had to mark every episode watched through an external player as "watched" manually in Kodi, triggering a Trakt update. I still do that, but this time there's no Trakt update. I'm still able to import watched statuses and sync collection data though.

 

I noticed these lines in the log after watching an episode through an external player:

2017-06-24 17:48:22.7894 Info SessionManager: Playback stopped reported by app Kodi 2.3.48 playing Snooze... A Trip to Yuka`s Dream!. Stopped at 1000 ms
2017-06-24 17:48:22.7894 Info Trakt: Playback Stopped
2017-06-24 17:48:22.7894 Info Trakt: Item Not fully played. Tell trakt.tv we are no longer watching but don't scrobble

I think the issue is from Kodi reporting that the video had stopped at 1000 ms, when it had actually played the entire file, just through an external player (VLC in this case). As such, Trakt wouldn't update.



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135735 posts
  • Local time: 04:40 PM

Posted 27 June 2017 - 04:59 PM

@Angelblue05, just to confirm, can you tell me what gets reported in the playback stop message with the add-on when using an external player? thanks !



#3 cublikefoot OFFLINE  

cublikefoot

    Newbie

  • Members
  • 8 posts
  • Local time: 04:40 PM

Posted 27 June 2017 - 06:18 PM

Here's the log starting from playback ending (in an external player) to me updating the watched status in Kodi manually:

 

Spoiler

 



#4 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12572 posts
  • Local time: 03:40 PM

Posted 27 June 2017 - 06:52 PM

Apologies about your first post not getting answered. Unfortunately, when using an external player with Kodi, it does not communicate the position of playback. There's nothing we can do about that, but once you mark something as watched manually in Kodi, it should definitely be communicated to your Emby server if you are using Emby for kodi. If that isn't the case, could you provide your Kodi log capturing this action? Thanks.


Edited by Angelblue05, 27 June 2017 - 06:54 PM.


#5 cublikefoot OFFLINE  

cublikefoot

    Newbie

  • Members
  • 8 posts
  • Local time: 04:40 PM

Posted 27 June 2017 - 07:05 PM

but once you mark something as watched manually in Kodi, it should definitely be communicated to your Emby server if you are using Emby for kodi.

 

The Emby server is receiving the watched status updates from Kodi (they are marked as watched on the web client), but they are not being sent to Trakt, which I assume is because the Trakt addon does not detect the file as being "fully played" (as the log shows). The Trakt addon does detect when an episode is playing (although the position isn't synced, but that doesn't matter to me), but it does not mark it as watched once completed. I think something changed in the way that the Trakt addon determines "watched" as just a few weeks ago the addon would update my Trakt profile with the correct watched status immediately after marking the item as watched manually (in Kodi).


Edited by cublikefoot, 27 June 2017 - 07:06 PM.

  • Angelblue05 likes this

#6 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12572 posts
  • Local time: 03:40 PM

Posted 27 June 2017 - 07:11 PM

Hmm, if you mark as watched manually, it "should" not matter the played percentage, Trakt should update with that info regardless.

 

@Luke

 

Let me know if there's anything else, but doesn't seem like the issue is with Kodi, right?



#7 cublikefoot OFFLINE  

cublikefoot

    Newbie

  • Members
  • 8 posts
  • Local time: 04:40 PM

Posted 27 June 2017 - 07:21 PM

Let me know if there's anything else, but doesn't seem like the issue is with Kodi, right?

I don't believe it is a Kodi issue, as the same thing happens when updating the "watched' status through the Emby web client, bypassing Kodi completely.

 

I see in the log that it does find the episode in question that I want to mark as completed, and it appears to try to communicate that, but it does not show up on Trakt:

2017-06-27 19:14:08.6189 Debug Trakt: {"shows":[],"episodes":[{"watched_at":"2017-06-27T23:14:03Z","ids":{"tvdb":6099585}}]}
2017-06-27 19:14:08.6873 Info HttpClient: HttpClientManager POST: https://api-v2launch.trakt.tv/sync/history

I do have two users on the Emby server, each linked to a separate Trakt account, I wonder if that may be an issue? The second user has the same problem though (episodes watched through an external player do not show up, but those watched in Kodi do).

I just reinstalled the Trakt plugin and reset the config with only one user and the problem persists. I get the same message in the log, but no update on Trakt: 

2017-06-27 19:23:59.0452 Debug Trakt: {"shows":[],"episodes":[{"watched_at":"2017-06-27T23:23:54Z","ids":{"tvdb":6099585}}]}
2017-06-27 19:23:59.0887 Info HttpClient: HttpClientManager POST: https://api-v2launch.trakt.tv/sync/history

Edit:

Here is what the log shows when the episode is watched through Kodi directly, rather than marked as "watched" manually through Emby or Kodi:

2017-06-27 19:26:45.3194 Info Trakt: Playback Started
2017-06-27 19:26:45.3194 Debug Trakt: 21b7053a1c674baa9be34b59e53476dd appears to be monitoring A:\Anime\Granblue Fantasy The Animation (2017)\Season 1\Granblue Fantasy The Animation_S01E12.mkv
2017-06-27 19:26:45.3194 Debug Trakt: Send episode status update
2017-06-27 19:26:45.3194 Debug Trakt: {"episode":{"ids":{"tvdb":6099585}},"progress":0,"app_version":"3.2.20.15","app_date":"2017-06-27"}
2017-06-27 19:26:45.3194 Info HttpServer: HTTP Response 204 to 192.168.1.19. Time: 2ms. http://192.168.1.19:8096/emby/Sessions/Playing 
2017-06-27 19:26:45.3604 Info HttpClient: HttpClientManager POST: https://api-v2launch.trakt.tv/scrobble/start

2017-06-27 19:27:38.7577 Info Trakt: Playback Stopped
2017-06-27 19:27:38.7577 Info Trakt: Item is played. Scrobble
2017-06-27 19:27:38.7577 Debug Trakt: {"episode":{"ids":{"tvdb":6099585}},"progress":100,"app_version":"3.2.20.15","app_date":"2017-06-27"}
2017-06-27 19:27:38.7577 Info HttpServer: HTTP Response 204 to 192.168.1.19. Time: 2ms. http://192.168.1.19:8096/emby/Sessions/Playing/Stopped 
2017-06-27 19:27:38.8042 Info HttpClient: HttpClientManager POST: https://api-v2launch.trakt.tv/scrobble/stop

The episode shows up as "completed" on Trakt after this, but why is this not the case with those marked manually?


Edited by cublikefoot, 27 June 2017 - 07:30 PM.

  • Angelblue05 likes this

#8 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12572 posts
  • Local time: 03:40 PM

Posted 27 June 2017 - 07:38 PM

It seems to me like an error in logic in the Trakt plugin.



#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135735 posts
  • Local time: 04:40 PM

Posted 27 June 2017 - 11:23 PM

So now you're saying it does work with external players?



#10 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12572 posts
  • Local time: 03:40 PM

Posted 27 June 2017 - 11:29 PM

So now you're saying it does work with external players?

The issue, I believe, is when manually marking stuff as watched, Trakt plugin doesn't send anything to trakt. According to logs, it seems perhaps it's looking at the played % and doesn't do anything based on that. Manually marked as watched should be skipping that verification.


Edited by Angelblue05, 27 June 2017 - 11:30 PM.


#11 cublikefoot OFFLINE  

cublikefoot

    Newbie

  • Members
  • 8 posts
  • Local time: 04:40 PM

Posted 27 June 2017 - 11:33 PM

The issue, I believe, is when manually marking stuff as watched, Trakt plugin doesn't send anything to trakt.

Yes, here's my process when watching something in Kodi:

 

1. Open item through Kodi (I changed the default Kodi player to an external player)

2. Watch the episode

3. When episode finishes, external player closes

4. The item is marked as watched in Kodi, but then is immediately unmarked as watched (the topic of my first post)

5. I then mark the item as watched, manually in Kodi (to work around the issue in step 4)

6. The item is updated as watched on the Emby server, but is not reflected on Trakt.

 

I'm sorry for the confusion, I could have left the external players out of the situation entirely, as that is a different issue on its own. Manual updates to watched status on Emby are not reflected on Trakt, which by extension affects external players in Kodi.


Edited by cublikefoot, 27 June 2017 - 11:35 PM.


#12 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135735 posts
  • Local time: 04:40 PM

Posted 27 June 2017 - 11:34 PM

i just want to make sure i understand exactly what scenarios it works for and what it doesn't.



#13 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12572 posts
  • Local time: 03:40 PM

Posted 27 June 2017 - 11:41 PM

The trakt issue has nothing to do with Kodi. It's strictly an issue with the Trakt plugin not sending anything when manually marking items as watched. Like I said in my previous post, I think perhaps it's looking at the played percentage when it shouldn't be for things manually marked as watched.

 

Edit: I'll test on my side. Let you know.

 

Edit2: Yep, manually marking as watched in the webclient and nothing is reported in trakt. There's nothing in log however. So it's like trakt doesn't even trigger.


Edited by Angelblue05, 28 June 2017 - 12:16 AM.


#14 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12572 posts
  • Local time: 03:40 PM

Posted 28 June 2017 - 12:22 AM

@Luke

 

I've tested, manually marking a title as watched in the webclient, nothing gets reported in trakt. It doesn't even seem like trakt is triggering (I've enabled debugging in the plugin). The item id of the episode: 546062402fbcf6463a520fec5137f5e7

2017-06-27 23:04:08.9662 Info HttpServer: HTTP GET http://corruption-pc:8096/emby/Items/40d889d126ec76ed5ab0423714311f4e/ThemeMedia?userId=d4000909883845059aadef13b7110375&InheritFromParent=true. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
2017-06-27 23:04:08.9662 Info HttpServer: HTTP Response 200 to 192.168.0.189. Time: 3ms. http://corruption-pc:8096/emby/Items/40d889d126ec76ed5ab0423714311f4e/ThemeMedia?userId=d4000909883845059aadef13b7110375&InheritFromParent=true
2017-06-27 23:04:11.4548 Info HttpServer: HTTP GET http://corruption-pc:8096/emby/Users/d4000909883845059aadef13b7110375/Items/546062402fbcf6463a520fec5137f5e7. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
2017-06-27 23:04:11.4548 Info HttpServer: HTTP Response 200 to 192.168.0.189. Time: 7ms. http://corruption-pc:8096/emby/Users/d4000909883845059aadef13b7110375/Items/546062402fbcf6463a520fec5137f5e7
2017-06-27 23:04:12.6338 Info HttpServer: HTTP POST http://corruption-pc:8096/emby/Users/d4000909883845059aadef13b7110375/PlayedItems/546062402fbcf6463a520fec5137f5e7?DatePlayed=20170627230410. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
2017-06-27 23:04:12.6508 Info HttpServer: HTTP Response 200 to 192.168.0.189. Time: 17ms. http://corruption-pc:8096/emby/Users/d4000909883845059aadef13b7110375/PlayedItems/546062402fbcf6463a520fec5137f5e7?DatePlayed=20170627230410
2017-06-27 23:04:13.1513 Info App: Emby.Kodi.SyncQueue: Starting User Changes Sync...
2017-06-27 23:04:13.1513 Debug App: Emby.Kodi.SyncQueue: Starting to save items for d4000909-8838-4505-9aad-ef13b7110375
2017-06-27 23:04:13.1513 Debug App: Emby.Kodi.SyncQueue: Updating ItemId '546062402fbcf6463a520fec5137f5e7' for UserId: 'd4000909883845059aadef13b7110375'
2017-06-27 23:04:13.1513 Debug App: Emby.Kodi.SyncQueue: Updating ItemId '40d889d126ec76ed5ab0423714311f4e' for UserId: 'd4000909883845059aadef13b7110375'
2017-06-27 23:04:13.1888 Info App: Emby.Kodi.SyncQueue: "USERSYNC" User d4000909883845059aadef13b7110375(Angel) posted 2 Updates: 546062402fbcf6463a520fec5137f5e7,40d889d126ec76ed5ab0423714311f4e
2017-06-27 23:04:13.1888 Info App: Emby.Kodi.SyncQueue: User Changes Sync Finished Taking 00:00:00.0375086
2017-06-27 23:04:13.9612 Info HttpServer: HTTP GET http://192.168.0.190:8096/emby/Users/e65e0f2c364745cf8ceca001910e55ac/Items?format=json&Fields=Path%2CGenres%2CSortName%2CStudios%2CWriter%2CProductionYear%2CTaglines%2CCommunityRating%2COfficialRating%2CCumulativeRunTimeTicks%2CMetascore%2CAirTime%2CDateCreated%2CMediaStreams%2CPeople%2COverview%2CCriticRating%2CCriticRatingSummary%2CEtag%2CShortOverview%2CProductionLocations%2CTags%2CProviderIds%2CParentId%2CRemoteTrailers%2CSpecialEpisodeNumbers%2CMediaSources%2CVoteCount&Ids=40d889d126ec76ed5ab0423714311f4e. UserAgent:
2017-06-27 23:04:13.9877 Info HttpServer: HTTP Response 200 to 192.168.0.190. Time: 27ms. http://192.168.0.190:8096/emby/Users/e65e0f2c364745cf8ceca001910e55ac/Items?format=json&Fields=Path%2CGenres%2CSortName%2CStudios%2CWriter%2CProductionYear%2CTaglines%2CCommunityRating%2COfficialRating%2CCumulativeRunTimeTicks%2CMetascore%2CAirTime%2CDateCreated%2CMediaStreams%2CPeople%2COverview%2CCriticRating%2CCriticRatingSummary%2CEtag%2CShortOverview%2CProductionLocations%2CTags%2CProviderIds%2CParentId%2CRemoteTrailers%2CSpecialEpisodeNumbers%2CMediaSources%2CVoteCount&Ids=40d889d126ec76ed5ab0423714311f4e
2017-06-27 23:04:13.9987 Info HttpServer: HTTP GET http://192.168.0.190:8096/emby/Users/e65e0f2c364745cf8ceca001910e55ac/Items?format=json&Fields=Path%2CGenres%2CSortName%2CStudios%2CWriter%2CProductionYear%2CTaglines%2CCommunityRating%2COfficialRating%2CCumulativeRunTimeTicks%2CMetascore%2CAirTime%2CDateCreated%2CMediaStreams%2CPeople%2COverview%2CCriticRating%2CCriticRatingSummary%2CEtag%2CShortOverview%2CProductionLocations%2CTags%2CProviderIds%2CParentId%2CRemoteTrailers%2CSpecialEpisodeNumbers%2CMediaSources%2CVoteCount&Ids=546062402fbcf6463a520fec5137f5e7. UserAgent:
2017-06-27 23:04:13.9987 Info HttpServer: HTTP Response 200 to 192.168.0.190. Time: 3ms. http://192.168.0.190:8096/emby/Users/e65e0f2c364745cf8ceca001910e55ac/Items?format=json&Fields=Path%2CGenres%2CSortName%2CStudios%2CWriter%2CProductionYear%2CTaglines%2CCommunityRating%2COfficialRating%2CCumulativeRunTimeTicks%2CMetascore%2CAirTime%2CDateCreated%2CMediaStreams%2CPeople%2COverview%2CCriticRating%2CCriticRatingSummary%2CEtag%2CShortOverview%2CProductionLocations%2CTags%2CProviderIds%2CParentId%2CRemoteTrailers%2CSpecialEpisodeNumbers%2CMediaSources%2CVoteCount&Ids=546062402fbcf6463a520fec5137f5e7
2017-06-27 23:04:14.0477 Info HttpServer: HTTP GET http://192.168.0.190:8096/emby/Emby.Kodi.SyncQueue/GetServerDateTime?format=json. UserAgent:
2017-06-27 23:04:14.0477 Info App: Emby.Kodi.SyncQueue: Server Time Requested...
2017-06-27 23:04:14.0477 Debug App: Emby.Kodi.SyncQueue: Class Variable Created!
2017-06-27 23:04:14.0477 Debug App: Emby.Kodi.SyncQueue: Getting Ready to Set Variables!
2017-06-27 23:04:14.0477 Debug App: Emby.Kodi.SyncQueue: ServerDateTime = 2017-06-28T04:04:14Z
2017-06-27 23:04:14.0477 Debug App: Emby.Kodi.SyncQueue: RetentionDateTime = 2017-06-13T00:00:00Z
2017-06-27 23:04:14.0477 Info HttpServer: HTTP Response 200 to 192.168.0.190. Time: 1ms. http://192.168.0.190:8096/emby/Emby.Kodi.SyncQueue/GetServerDateTime?format=json
2017-06-27 23:04:15.7639 Debug App: SessionInfoWebSocketListener Begin transmitting over websocket to ::ffff:192.168.0.189:49906
2017-06-27 23:04:15.7639 Debug App: ScheduledTasksWebSocketListener Begin transmitting over websocket to ::ffff:192.168.0.189:49906
2017-06-27 23:04:15.7639 Debug App: ActivityLogWebSocketListener Begin transmitting over websocket to ::ffff:192.168.0.189:49906
2017-06-27 23:04:15.7639 Info HttpServer: HTTP GET http://corruption-pc:8096/emby/Sessions. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
2017-06-27 23:04:15.7639 Info HttpServer: HTTP Response 200 to 192.168.0.189. Time: 1ms. http://corruption-pc:8096/emby/Sessions
2017-06-27 23:04:15.7639 Info HttpServer: HTTP GET http://corruption-pc:8096/emby/ScheduledTasks. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
2017-06-27 23:04:15.7639 Info HttpServer: HTTP GET http://corruption-pc:8096/emby/System/Info. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
2017-06-27 23:04:15.7639 Info HttpServer: HTTP GET http://corruption-pc:8096/emby/News/Product?StartIndex=0&Limit=4. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
2017-06-27 23:04:15.7639 Info HttpServer: HTTP GET http://corruption-pc:8096/emby/System/ActivityLog/Entries?startIndex=0&limit=7&minDate=2017-06-27T04%3A04%3A13.888Z. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
2017-06-27 23:04:15.7639 Info HttpServer: HTTP GET http://corruption-pc:8096/emby/DisplayPreferences/dashboard?userId=d4000909883845059aadef13b7110375&client=dashboard. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
2017-06-27 23:04:15.7639 Info HttpServer: HTTP Response 200 to 192.168.0.189. Time: 2ms. http://corruption-pc:8096/emby/DisplayPreferences/dashboard?userId=d4000909883845059aadef13b7110375&client=dashboard
2017-06-27 23:04:15.7639 Info HttpServer: HTTP Response 200 to 192.168.0.189. Time: 2ms. http://corruption-pc:8096/emby/ScheduledTasks
2017-06-27 23:04:15.7764 Debug JsonSerializer: Deserializing file C:\Users\Corruption\AppData\Roaming\Emby-Server\cache\news.json
2017-06-27 23:04:15.7764 Info HttpServer: HTTP Response 200 to 192.168.0.189. Time: 9ms. http://corruption-pc:8096/emby/News/Product?StartIndex=0&Limit=4
2017-06-27 23:04:15.7764 Info HttpServer: HTTP Response 200 to 192.168.0.189. Time: 20ms. http://corruption-pc:8096/emby/System/Info
2017-06-27 23:04:15.7994 Info HttpServer: HTTP Response 200 to 192.168.0.189. Time: 28ms. http://corruption-pc:8096/emby/System/ActivityLog/Entries?startIndex=0&limit=7&minDate=2017-06-27T04%3A04%3A13.888Z
2017-06-27 23:04:15.7994 Info HttpServer: HTTP GET http://corruption-pc:8096/emby/Packages/Updates?PackageType=UserInstalled. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
2017-06-27 23:04:15.7994 Info InstallationManager: Opening C:\Users\Corruption\AppData\Roaming\Emby-Server\cache\serverpackages.json
2017-06-27 23:04:15.8115 Info HttpServer: HTTP GET http://corruption-pc:8096/emby/Items/b01ecbb5c822dce78c3fb76b131785c4/Images/Primary?width=275&tag=29672cbc6ec4e0f3aaf710866569a891&quality=90. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
2017-06-27 23:04:15.8115 Info HttpServer: HTTP GET http://corruption-pc:8096/emby/Packages/Updates?PackageType=System. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
2017-06-27 23:04:15.8115 Info HttpClient: Checking for cache file C:\Users\Corruption\AppData\Roaming\Emby-Server\cache\httpclient\f70ca6622474da8168a3b6c06f651a16
2017-06-27 23:04:15.8290 Info HttpServer: HTTP Response 200 to 192.168.0.189. Time: 10ms. http://corruption-pc:8096/emby/Packages/Updates?PackageType=System
2017-06-27 23:04:15.8290 Info HttpServer: HTTP Response 200 to 192.168.0.189. Time: 28ms. http://corruption-pc:8096/emby/Packages/Updates?PackageType=UserInstalled
2017-06-27 23:04:15.8410 Info HttpResultFactory: Transmit file C:\Users\Corruption\AppData\Roaming\Emby-Server\cache\temp\f71854c188214ad3a9d7f675c5ce7dd0.webp
2017-06-27 23:04:15.8410 Info HttpServer: HTTP Response 200 to 192.168.0.189. Time: 30ms. http://corruption-pc:8096/emby/Items/b01ecbb5c822dce78c3fb76b131785c4/Images/Primary?width=275&tag=29672cbc6ec4e0f3aaf710866569a891&quality=90
2017-06-27 23:04:16.2635 Info HttpServer: HTTP POST http://corruption-pc:8096/emby/Sessions/Playing/Stopped. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
2017-06-27 23:04:16.2635 Debug App: ReportPlaybackStopped PlaySessionId: 1498622362908
2017-06-27 23:04:16.2635 Info SessionManager: Playback stopped reported by app Emby Mobile 3.2.20.15 playing Pretty Little Liars End Credits Theme. Stopped at 7942 ms
2017-06-27 23:04:16.2635 Info Trakt: Playback Stopped
2017-06-27 23:04:16.2635 Info HttpServer: HTTP Response 204 to 192.168.0.189. Time: 4ms. http://corruption-pc:8096/emby/Sessions/Playing/Stopped
2017-06-27 23:04:16.7806 Info App: Emby.Kodi.SyncQueue: Starting User Changes Sync...
2017-06-27 23:04:16.7806 Debug App: Emby.Kodi.SyncQueue: Starting to save items for d4000909-8838-4505-9aad-ef13b7110375
2017-06-27 23:04:16.7806 Debug App: Emby.Kodi.SyncQueue: Updating ItemId 'b01ecbb5c822dce78c3fb76b131785c4' for UserId: 'd4000909883845059aadef13b7110375'
2017-06-27 23:04:16.8041 Info App: Emby.Kodi.SyncQueue: "USERSYNC" User d4000909883845059aadef13b7110375(Angel) posted 1 Updates: b01ecbb5c822dce78c3fb76b131785c4
2017-06-27 23:04:16.8041 Info App: Emby.Kodi.SyncQueue: User Changes Sync Finished Taking 00:00:00.0235035
2017-06-27 23:04:13.1888 Info App: Emby.Kodi.SyncQueue: "USERSYNC" User d4000909883845059aadef13b7110375(Angel) posted 2 Updates:  546062402fbcf6463a520fec5137f5e7,40d889d126ec76ed5ab0423714311f4e
2017-06-27 23:04:13.1888 Info App: Emby.Kodi.SyncQueue: User Changes Sync Finished Taking 00:00:00.0375086

Edited by Angelblue05, 28 June 2017 - 12:23 AM.


#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135735 posts
  • Local time: 04:40 PM

Posted 28 June 2017 - 12:46 AM

does the movie have a movie db id or imdb id?



#16 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12572 posts
  • Local time: 03:40 PM

Posted 28 June 2017 - 12:52 AM

It's an episode and there is a tvdb id. If /playing/stopped is called, I see Trakt trigger. If it's /playeditems (manually checked as watched), nothing.


Edited by Angelblue05, 28 June 2017 - 12:52 AM.


#17 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135735 posts
  • Local time: 04:40 PM

Posted 28 June 2017 - 12:53 AM

does the episode have a season and episode number?



#18 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12572 posts
  • Local time: 03:40 PM

Posted 28 June 2017 - 12:56 AM

does the episode have a season and episode number?

Yes it does. It has all it's metadata. It reports correctly to trakt if I actually play the episode and stop it at the end mark.



#19 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135735 posts
  • Local time: 04:40 PM

Posted 28 June 2017 - 12:57 AM

What about with a movie?



#20 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12572 posts
  • Local time: 03:40 PM

Posted 28 June 2017 - 12:59 AM

What about with a movie?

Same deal, playing the movie sends the watched status to trakt, but manually marking as watched doesn't trigger Trakt.

 

Watching:

2017-06-27 23:59:12.6104 Info SessionManager: Playback stopped reported by app Emby Mobile 3.2.20.15 playing Arrival. Stopped at 6896945 ms
2017-06-27 23:59:12.6104 Info Trakt: Playback Stopped
2017-06-27 23:59:12.6104 Info Trakt: Item is played. Scrobble

Manually mark as watched, no trakt lines anywhere near that timeframe:

2017-06-27 23:58:40.5719 Info HttpServer: HTTP POST http://corruption-pc:8096/emby/Users/d4000909883845059aadef13b7110375/PlayedItems/8bb52e890f3f439bf553286a7a08bd59?DatePlayed=20170627235838. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
2017-06-27 23:58:40.5764 Info HttpServer: HTTP Response 200 to 192.168.0.189. Time: 5ms. http://corruption-pc:8096/emby/Users/d4000909883845059aadef13b7110375/PlayedItems/8bb52e890f3f439bf553286a7a08bd59?DatePlayed=20170627235838 
2017-06-27 23:58:41.0893 Info App: Emby.Kodi.SyncQueue: Starting User Changes Sync...
2017-06-27 23:58:41.0893 Debug App: Emby.Kodi.SyncQueue:  Starting to save items for d4000909-8838-4505-9aad-ef13b7110375

Edited by Angelblue05, 28 June 2017 - 01:03 AM.






Also tagged with one or more of these keywords: trakt, kodi

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users