Jump to content


Photo

Trakt histroy has 2 plays after finishing a file

trakt

Best Answer vdatanet , 07 December 2019 - 12:37 AM

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!

Go to the full post


  • Please log in to reply
24 replies to this topic

#1 invader OFFLINE  

invader

    Advanced Member

  • Members
  • 49 posts
  • Local time: 04:54 PM

Posted 25 November 2019 - 03:27 AM

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.

Attached Files


Edited by invader, 25 November 2019 - 03:28 AM.

  • MyronAub likes this

#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156602 posts
  • Local time: 01:54 AM

Posted 25 November 2019 - 02:05 PM

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

#3 sephrat ONLINE  

sephrat

    Advanced Member

  • Members
  • 77 posts
  • Local time: 07:54 AM

Posted 25 November 2019 - 02:39 PM

This sounds a bit like an issue I had with series: https://emby.media/c...-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.



#4 vdatanet OFFLINE  

vdatanet

    Advanced Member

  • Members
  • 2020 posts
  • Local time: 07:54 AM
  • LocationCalafell, Spain

Posted 25 November 2019 - 03:44 PM

I'm still having this issue:

 

5ddc2f22a0fc3_Capturadepantalla20191125a



#5 invader OFFLINE  

invader

    Advanced Member

  • Members
  • 49 posts
  • Local time: 04:54 PM

Posted 25 November 2019 - 04:15 PM

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



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156602 posts
  • Local time: 01:54 AM

Posted 25 November 2019 - 04:16 PM

Sure.



#7 vdatanet OFFLINE  

vdatanet

    Advanced Member

  • Members
  • 2020 posts
  • Local time: 07:54 AM
  • LocationCalafell, Spain

Posted 25 November 2019 - 04:24 PM

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

Attached Files


Edited by vdatanet, 25 November 2019 - 04:26 PM.


#8 vdatanet OFFLINE  

vdatanet

    Advanced Member

  • Members
  • 2020 posts
  • Local time: 07:54 AM
  • LocationCalafell, Spain

Posted 26 November 2019 - 02:09 AM

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, 26 November 2019 - 02:09 AM.


#9 vdatanet OFFLINE  

vdatanet

    Advanced Member

  • Members
  • 2020 posts
  • Local time: 07:54 AM
  • LocationCalafell, Spain

Posted 26 November 2019 - 09:23 AM

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



#10 vdatanet OFFLINE  

vdatanet

    Advanced Member

  • Members
  • 2020 posts
  • Local time: 07:54 AM
  • LocationCalafell, Spain

Posted 26 November 2019 - 04:32 PM

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



#11 Bazzu85 OFFLINE  

Bazzu85

    Advanced Member

  • Members
  • 258 posts
  • Local time: 07:54 AM

Posted 26 November 2019 - 08:35 PM

same situation for me..

 

see attached screen: Attached File  2019-11-27_013645.jpg   42.13KB   3 downloads


Edited by Bazzu85, 26 November 2019 - 08:37 PM.


#12 invader OFFLINE  

invader

    Advanced Member

  • Members
  • 49 posts
  • Local time: 04:54 PM

Posted 27 November 2019 - 05:28 PM

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.

#13 sephrat ONLINE  

sephrat

    Advanced Member

  • Members
  • 77 posts
  • Local time: 07:54 AM

Posted 28 November 2019 - 02:12 PM

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, 28 November 2019 - 02:22 PM.


#14 vdatanet OFFLINE  

vdatanet

    Advanced Member

  • Members
  • 2020 posts
  • Local time: 07:54 AM
  • LocationCalafell, Spain

Posted 28 November 2019 - 04:00 PM

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, 28 November 2019 - 04:04 PM.

  • Maisy likes this

#15 frankmb OFFLINE  

frankmb

    Member

  • Members
  • 20 posts
  • Local time: 02:54 AM

Posted 29 November 2019 - 08:33 PM

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.


  • Maisy likes this

#16 fbrassin OFFLINE  

fbrassin

    Advanced Member

  • Members
  • 328 posts
  • Local time: 07:54 AM

Posted 30 November 2019 - 06:42 PM

I have the same problem.

 

Server 4.3.0.30

Trakt plugin 3.3.8.0


  • Maisy likes this

#17 tr0nllam OFFLINE  

tr0nllam

    Advanced Member

  • Members
  • 68 posts
  • Local time: 01:54 AM

Posted 01 December 2019 - 07:47 PM

Same issue here as well.


  • Maisy likes this

#18 justsomebody OFFLINE  

justsomebody

    Member

  • Members
  • 16 posts
  • Local time: 09:54 PM

Posted 02 December 2019 - 04:37 AM

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

 


  • Maisy likes this

#19 MyronAub OFFLINE  

MyronAub

    Advanced Member

  • Members
  • 34 posts
  • Local time: 05:54 AM

Posted 02 December 2019 - 12:10 PM

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



#20 justsomebody OFFLINE  

justsomebody

    Member

  • Members
  • 16 posts
  • Local time: 09:54 PM

Posted 03 December 2019 - 01:18 AM

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

 

Attached Files







Also tagged with one or more of these keywords: trakt

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users