invader 16 Posted November 25, 2019 Share Posted November 25, 2019 (edited) Hello there, I noticed the Trakt plugin was updated, this is when the issue started. Tested Emby app on iOS, Raspberry Pi running Emby Theatre (latest stable installed from .deb file) and the web player. All mark TV episodes as watched twice. The real end time is one, and it looks like the start time is the other. This only happens after you finish the episode. IE when you start it, there is no watch in Trakt, just 2 as soon as the episode is completed. Screenshot of Trakt attached I enabled degub logging in the Trakt plugin and the Emby server. I have the corresponding log file but I'd rather not post it publicly, please let me know and I can send it if required. Note I haven't been able to install the Server update (4.3.0.26) as it isn't appearing in the Synology package manager yet My server version is v4.2.0.1 Thanks. Edited November 25, 2019 by invader 1 Link to comment Share on other sites More sharing options...
Luke 38157 Posted November 25, 2019 Share Posted November 25, 2019 Hi there, please attach the emby server log from when this happened. Thanks. Link to comment Share on other sites More sharing options...
sephrat 16 Posted November 25, 2019 Share Posted November 25, 2019 This sounds a bit like an issue I had with series: https://emby.media/community/index.php?/topic/77029-series-episode-wrongly-set-as-played-in-special-cases/ (issue #2). Although your issue looks less random than the one I had. It was a bug in Emby core, not the plugin. 4.2 seems old, I think this was fixed in 4.3. Updating may fix the bug. Link to comment Share on other sites More sharing options...
vdatanet 1566 Posted November 25, 2019 Share Posted November 25, 2019 I'm still having this issue: Link to comment Share on other sites More sharing options...
invader 16 Posted November 25, 2019 Author Share Posted November 25, 2019 Hi Luke, do you mind if I send you the logs directly. Prefer to not post publicly. Link to comment Share on other sites More sharing options...
Luke 38157 Posted November 25, 2019 Share Posted November 25, 2019 Sure. Link to comment Share on other sites More sharing options...
vdatanet 1566 Posted November 25, 2019 Share Posted November 25, 2019 (edited) Another example: 2019-11-25 21:20:07.786 Info SessionManager: Playback stopped reported by app tvOS 1.4.2.36 (Beta) playing Planeta prohibido. Stopped at 5910196 ms 2019-11-25 21:20:07.788 Info HttpServer: HTTP Response 200 to 192.168.1.117. Time: 6ms. http://192.168.1.100:8096/emby/Users/575b9dd9ae9242548f5bd17cd52c541f/Items/Resume?Fields=PrimaryImageAspectRatio&IncludeItemTypes=Movie&limit=4&EnableImageTypes=Primary%2CThumb%2CBackdrop&EnableTotalRecordCount=false 2019-11-25 21:20:07.788 Info HttpServer: HTTP Response 204 to 192.168.1.117. Time: 4ms. http://192.168.1.100:8096/emby/Sessions/Playing/Stopped 2019-11-25 21:20:07.788 Info Trakt: Playback Stopped 2019-11-25 21:20:07.788 Info Trakt: Item is played. Scrobble 2019-11-25 21:20:07.789 Info HttpClient: POST https://api.trakt.tv/scrobble/stop I see played times slightly differents embyserver.txt Edited November 25, 2019 by vdatanet Link to comment Share on other sites More sharing options...
vdatanet 1566 Posted November 26, 2019 Share Posted November 26, 2019 (edited) Items played with Plex only have one play in Trakt, In contrast, items played in Emby usually have two plays in Trakt. Big Bang Theory was played in Plex. Witness and Batwoman were played in Emby. First watched date corresponds with start date and Second watched date corresponds with end date. I have to say that this does not always happen but very often. Edited November 26, 2019 by vdatanet Link to comment Share on other sites More sharing options...
vdatanet 1566 Posted November 26, 2019 Share Posted November 26, 2019 Look at this, now it's 14:20 in Spain. I've finished watching this episode at 14:08. Trakt reports it was watched at 14:08 and watched at 15:08, a future date. Link to comment Share on other sites More sharing options...
vdatanet 1566 Posted November 26, 2019 Share Posted November 26, 2019 With version 3.3.8, Trakt still has two plays after watching a item. Link to comment Share on other sites More sharing options...
Bazzu85 22 Posted November 27, 2019 Share Posted November 27, 2019 (edited) same situation for me.. see attached screen: Edited November 27, 2019 by Bazzu85 Link to comment Share on other sites More sharing options...
invader 16 Posted November 27, 2019 Author Share Posted November 27, 2019 Updated to: Emby Server 4.3.0.30 Trakt plugin v3.3.8 Duplicate watch issue still exists however seems to have changed. One watch at the correct time. One in the future. Link to comment Share on other sites More sharing options...
sephrat 16 Posted November 28, 2019 Share Posted November 28, 2019 (edited) I run Trakt v3.3.8 and experience the same issue. Movie was set as watched at 21:00 and 23:05. I started watching at 21:00 2019-11-27 21:00:00.748 Info SessionManager: Playback start reported by app AndroidTv 1.7.60g playing Prometheus. Started at 0 ms 2019-11-27 21:00:00.751 Info HttpServer: HTTP Response 204 to client_ip. Time: 80ms. http://server_ip:8096/emby/Sessions/Playing 2019-11-27 21:00:00.756 Info Trakt: Playback Started 2019-11-27 21:00:00.765 Info HttpClient: POST https://api.trakt.tv/scrobble/start I don't know if that's important but Trakt update task ran during the playblack: 2019-11-27 21:23:31.567 Info TaskManager: IntervalTrigger fired for task: Import playstates from Trakt.tv 2019-11-27 21:23:31.568 Info TaskManager: Executing Import playstates from Trakt.tv 2019-11-27 21:23:31.568 Info HttpClient: GET https://api.trakt.tv/sync/watched/movies 2019-11-27 21:23:32.380 Info HttpClient: GET https://api.trakt.tv/sync/watched/shows 2019-11-27 21:23:32.967 Info HttpClient: GET https://api.trakt.tv/sync/playback/movies 2019-11-27 21:23:33.270 Info HttpClient: GET https://api.trakt.tv/sync/playback/episodes 2019-11-27 21:23:33.833 Info Trakt: Trakt.tv watched Movies count = xxx 2019-11-27 21:23:33.833 Info Trakt: Trakt.tv watched Shows count = xxx 2019-11-27 21:23:33.833 Info Trakt: Trakt.tv playback Movies count = xxx 2019-11-27 21:23:33.833 Info Trakt: Trakt.tv playback Episodes count = xxx 2019-11-27 21:23:33.878 Info HttpServer: HTTP POST http://server_ip:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 9; SHIELD Android TV Build/PPR1.180610.011) 2019-11-27 21:23:33.879 Info HttpServer: HTTP Response 204 to client_ip. Time: 1ms. http://server_ip:8096/emby/Sessions/Playing/Progress 2019-11-27 21:23:33.928 Info TaskManager: Import playstates from Trakt.tv Completed after 0 minute(s) and 2 seconds Then playback stopped: 2019-11-27 23:05:07.285 Info SessionManager: Playback stopped reported by app AndroidTv 1.7.60g playing Prometheus. Stopped at 7089907 ms 2019-11-27 23:05:07.289 Info HttpServer: HTTP Response 204 to client_ip. Time: 46ms. http://server_ip:8096/emby/Sessions/Playing/Stopped 2019-11-27 23:05:07.302 Info Trakt: Playback Stopped 2019-11-27 23:05:07.302 Info Trakt: Item is played. Scrobble 2019-11-27 23:05:07.302 Info HttpClient: POST https://api.trakt.tv/scrobble/stop 2019-11-27 23:05:07.507 Info HttpServer: HTTP GET http://server_ip:8096/emby/Items/42081/Similar?Fields=Overview%2CPrimaryImageAspectRatio&UserId=a588284f0b2442d2a5c836c18f76c398&Limit=1&format=json. UserAgent: Dalvik/2.1.0 (Linux; U; Android 9; SHIELD Android TV Build/PPR1.180610.011) 2019-11-27 23:05:07.516 Info HttpServer: HTTP Response 200 to client_ip. Time: 9ms. http://server_ip:8096/emby/Items/42081/Similar?Fields=Overview%2CPrimaryImageAspectRatio&UserId=a588284f0b2442d2a5c836c18f76c398&Limit=1&format=json 2019-11-27 23:05:07.579 Info HttpServer: SocketException: http://server_ip:8096/emby/videos/42081/stream.mkv?DeviceId=825dafa62d79b200&MediaSourceId=b4aa5076625c8aeb75e5f57ff9fd90a0&Static=true&PlaySessionId=5b451767c4ae4b78ab49365edc5c63ab&api_key=fef502c1affe4bde86d84ce4c8f221ab 2019-11-27 23:05:07.579 Info HttpServer: HTTP Response 206 to client_ip. Time: 7506329ms. http://server_ip:8096/emby/videos/42081/stream.mkv?DeviceId=825dafa62d79b200&MediaSourceId=b4aa5076625c8aeb75e5f57ff9fd90a0&Static=true&PlaySessionId=5b451767c4ae4b78ab49365edc5c63ab 2019-11-27 23:05:08.330 Info HttpClient: POST https://api.trakt.tv/sync/history Edit: I've enabled Trakt debug logging and will post them when I experience the issue again. Edited November 28, 2019 by sephrat Link to comment Share on other sites More sharing options...
vdatanet 1566 Posted November 28, 2019 Share Posted November 28, 2019 (edited) 2019-11-28 20:37:47.975 Info Trakt: Playback Started 2019-11-28 20:52:49.886 Info Trakt: Playback Stopped 2019-11-28 20:52:49.886 Info Trakt: Item is played. Scrobble I've disabled Trakt tasks, only scrobbling. I have one watch at start time and another watch at end time, but both appear at end time. Logs look correct. Edited November 28, 2019 by vdatanet 1 Link to comment Share on other sites More sharing options...
frankmb 27 Posted November 30, 2019 Share Posted November 30, 2019 I'm experiencing the exact same problem. Two plays of the same episode after watching it. Server 4.3.0.30 Trakt plugin 3.3.8.0 Watch times in Trakt history are the time the episode was started and the time it finished. 1 Link to comment Share on other sites More sharing options...
fbrassin 37 Posted November 30, 2019 Share Posted November 30, 2019 I have the same problem. Server 4.3.0.30 Trakt plugin 3.3.8.0 1 Link to comment Share on other sites More sharing options...
tr0nllam 34 Posted December 1, 2019 Share Posted December 1, 2019 Same issue here as well. 1 Link to comment Share on other sites More sharing options...
justsomebody 2 Posted December 2, 2019 Share Posted December 2, 2019 Another "me too". Trakt plugin 3.3.8.0, server 4.3.0.30. 1 Link to comment Share on other sites More sharing options...
MyronAub 13 Posted December 2, 2019 Share Posted December 2, 2019 Me too, everything appears twice in Trakt since I upgraded to the 2019 second generation FireTV Cube; once with viewing start time and then again with viewing end time. Server 4.3.0.30 Fire TV Cube AndroidTv 1.7.53a Trakt plugin 3.3.8.0 Link to comment Share on other sites More sharing options...
justsomebody 2 Posted December 3, 2019 Share Posted December 3, 2019 More logs from today. This is with debug logging enabled in the Trakt plugin settings. 2019-12-02 18:33:23.689 Info SessionManager: Playback start reported by app Emby Theater 3.0.10 playing 409 Conflict. Started at 0 ms 2019-12-02 18:33:23.690 Info HttpServer: HTTP Response 204 to 192.168.20.18. Time: 3ms. http://192.168.20.18:8096/emby/Sessions/Playing 2019-12-02 18:33:23.690 Info Trakt: Playback Started 2019-12-02 18:33:23.690 Info HttpClient: POST https://api.trakt.tv/scrobble/start 2019-12-02 19:21:35.455 Info SessionManager: Playback stopped reported by app Emby Theater 3.0.10 playing 409 Conflict. Stopped at 2825792 ms 2019-12-02 19:21:35.456 Info HttpServer: HTTP Response 204 to 192.168.20.18. Time: 1ms. http://192.168.20.18:8096/emby/Sessions/Playing/Stopped 2019-12-02 19:21:35.456 Info Trakt: Playback Stopped 2019-12-02 19:21:35.457 Info Trakt: Item is played. Scrobble 2019-12-02 19:21:35.457 Info HttpClient: POST https://api.trakt.tv/scrobble/stop embyserver.txt Link to comment Share on other sites More sharing options...
Luke 38157 Posted December 3, 2019 Share Posted December 3, 2019 Thanks for reporting. We have a developer looking at it. 1 Link to comment Share on other sites More sharing options...
Luke 38157 Posted December 7, 2019 Share Posted December 7, 2019 Please try the Trakt plugin version 3.3.9 and see how that compares. Thanks. Link to comment Share on other sites More sharing options...
Solution vdatanet 1566 Posted December 7, 2019 Solution Share Posted December 7, 2019 Please try the Trakt plugin version 3.3.9 and see how that compares. Thanks. Fixed! Now after watching a movie in Emby, there is only one play in Trakt. Thanks! 2 Link to comment Share on other sites More sharing options...
Luke 38157 Posted December 7, 2019 Share Posted December 7, 2019 Thanks for the feedback. Link to comment Share on other sites More sharing options...
justsomebody 2 Posted December 8, 2019 Share Posted December 8, 2019 Yep, back to normal here; thank you. Link to comment Share on other sites More sharing options...
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