CyferShepard / Jellystat

Jellystat is a free and open source Statistics App for Jellyfin
MIT License
1.1k stars 33 forks source link

Playback Time includes time paused #234

Closed ShakeSp33r closed 2 months ago

ShakeSp33r commented 3 months ago

Describe the bug When playing a video in chrome, and pausing it, the total playback time recorded is the normal time played + the time paused.

Environment Details (please complete the following information):

To Reproduce Steps to reproduce the behavior:

  1. Play any media on Jellyfin in chrome.
  2. Pause the video for x minutes
  3. Continue watching
  4. Total playback time include the time it was paused. (Have not yet tested this using Android TV)

Expected behavior Should only record the total play time (excluding and time paused)

CyferShepard commented 3 months ago

Hey @ShakeSp33r , is this only in Chrome or is it happening regardless of the watch client?

ShakeSp33r commented 3 months ago

@CyferShepard Will do a couple of tests in various clients and get back to you

ShakeSp33r commented 3 months ago

@CyferShepard I've tested Firefox, Safari and Android TV 17.1 also. All doing the same thing, however it's a bit strange, if you play the media and pause it for a short time less than 5 min, and then continue, it records the correctly. I had it pause for 23min and included the paused time also.

CyferShepard commented 3 months ago

Hmmm, Thats strange, il try to replicate when i get time this weekend