Jump to content
invader

ANSWERED Trakt histroy has 2 plays after finishing a file

Recommended Posts

invader

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.

post-502966-0-15244900-1574665905_thumb.png

Edited by invader
  • Like 1

Share this post


Link to post
Share on other sites
Luke

Hi there, please attach the emby server log from when this happened. Thanks.

Share this post


Link to post
Share on other sites
vdatanet

I'm still having this issue:

 

5ddc2f22a0fc3_Capturadepantalla20191125a

Share this post


Link to post
Share on other sites
invader

Hi Luke, do you mind if I send you the logs directly. Prefer to not post publicly.

Share this post


Link to post
Share on other sites
Luke

Sure.

Share this post


Link to post
Share on other sites
vdatanet

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

5ddc3862dfbd2_Capturadepantalla20191125a

 

I see played times slightly differents

embyserver.txt

Edited by vdatanet

Share this post


Link to post
Share on other sites
vdatanet

Items played with Plex only have one play in Trakt, In contrast, items played in Emby usually have two plays in Trakt.

 

5ddcc0a250203_Anotacin20191126070213.jpg

 

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 by vdatanet

Share this post


Link to post
Share on other sites
vdatanet

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. 

 

5ddd267c6153b_Capturadepantalla20191126a

Share this post


Link to post
Share on other sites
vdatanet

With version 3.3.8, Trakt still has two plays after watching a item. 

Share this post


Link to post
Share on other sites
Bazzu85

same situation for me..

 

see attached screen: post-176733-0-01102800-1574815023_thumb.jpg

Edited by Bazzu85

Share this post


Link to post
Share on other sites
invader

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.

Share this post


Link to post
Share on other sites
sephrat

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 by sephrat

Share this post


Link to post
Share on other sites
vdatanet

5de026615b985_Capturadepantalla20191128a

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 by vdatanet
  • Like 1

Share this post


Link to post
Share on other sites
frankmb

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.

  • Like 1

Share this post


Link to post
Share on other sites
fbrassin

I have the same problem.

 

Server 4.3.0.30

Trakt plugin 3.3.8.0

  • Like 1

Share this post


Link to post
Share on other sites
tr0nllam

Same issue here as well.

  • Like 1

Share this post


Link to post
Share on other sites
justsomebody

Another "me too". Trakt plugin 3.3.8.0, server 4.3.0.30.

 

  • Like 1

Share this post


Link to post
Share on other sites
MyronAub

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

 

5de5376cc5f29_embyfiretvcubetrakt.jpg

Share this post


Link to post
Share on other sites
justsomebody

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

5de5e9f8db436_Image24.png

 

embyserver.txt

Share this post


Link to post
Share on other sites
Luke

Thanks for reporting. We have a developer looking at it.

  • Like 1

Share this post


Link to post
Share on other sites
Luke

Please try the Trakt plugin version 3.3.9 and see how that compares. Thanks.

Share this post


Link to post
Share on other sites
vdatanet

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!

  • Like 2

Share this post


Link to post
Share on other sites
Luke

Thanks for the feedback.

Share this post


Link to post
Share on other sites
justsomebody

Yep, back to normal here; thank you.

Share this post


Link to post
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...