CyferShepard / Jellystat

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

Jellystat sometimes does not record #221

Open dandud100 opened 4 months ago

dandud100 commented 4 months ago

Describe the bug Sometimes Jellystat does not record that a user had watched an episode of certain series. I think this often occurs if the series have ass subtitles and Jellyfin is busy with transcoding. (The episodes take 5 to 10 seconds till they start after click on play)

But if I look in the Jellyfin activity log I can see that the user watched it. (The user is outside of my network and connected with wireguard.)

Environment Details (please complete the following information):

Screenshots

Screenshot_20240702-132311 Screenshot_20240702-132344 Screenshot_20240702-132456

ShakeSp33r commented 4 months ago

@CyferShepard I've noticed that the watchdog table only updates the PlaybackDuration when you pause playback. This could also be why it not records the record as the PlaybackDuration=0. Maybe update the PlaybackDuration field every x min...

CyferShepard commented 4 months ago

Hey @ShakeSp33r , this was done by design to reduce iops on devices using ssds to prevent unnecessary read writes. Im looking into the Activity monitor at the moment, and so far i notice that the missing activity seems to be linked to the autoplay feature.

dandud100 commented 4 months ago

157