Statistics are wrong when episodes aren't played in one go

App version: 3.11.0

Android version: 15

Device model: Motorola edge 50 neo

Expected behaviour: Statistics should be counted accurately, no matter if an episode was played in one go, or in few chunks with other episodes in between.

Current behaviour: If you play long episode of podcast in several chunks and you play some other episode in between those chunks, then statistics for the first podcast (and overall statistics) will be calculated wrong. Let’s say if i have 3 hours long episode of podcast A, i play 1st hour of it, then do a pause, play some shorter episode of podcast B, then play another hour of podcast A, then some podcast C and then finish the last part of that long episode of podcast A. Antenna will count statistics for podcast A in such way 1 hour + (1+1) hours + (1+2) hours - in total 6 hours for 3 hours episode!

First occurred: I first suspected something like that happening about 6 months ago, but never had time to track it down until recently.

Steps to reproduce:

  1. Play longer episode of any podcast and stop it somewhere in the middle.
  2. Play an episode of another podcast.
  3. Finish playing episode of the first podcast.
  4. Notice stats for play time after each step and observe how they are double counts.

Environment: I can’t think any relevant settings to write here.

Crash info: