I have stored track progress checked for my audiobook library, but the progress varies. Even pausing for a few seconds and resuming, the track could be a couple minutes earlier or later than where I left off. It seems that the longer the track, the more the resumed place could be off.
Server Version#:1.41.9463
Player Version#:plexamp android latest
Try stopping instead of pausing.
Long press Pause to completely stop.
This is absolutely recommended if you want to continue the track on a different client/device.
I tried that today and it is doing the same thing. The time upon resuming does not change, but the audio at that point does. For example, my paused time may be 10 hours, 43 minutes and 11 seconds. When I resume, that time is the time it resumes at, but I am a minute (or more sometimes) prior in the audio. So the time compared to actual audio is not consistent. It is an mp3 file for the audio, but I’m not sure how that could happen in any audio file playback.
Thank you for taking time to look at this, been bothering me for awhile. Some info about it. I download the files to my phone before playing them, so network activity shouldn’t matter. I only use a single device to play the book. I have android auto setup to use it plexamp, but the problem happens the same whether I’m using it with android auto or not. The longer the file, the more it seems to be off, as if it is rounding and longer file means more to be rounded. You can let me know any settings you may think affects it and I’ll take a look, I’ve gone through about all I can find.
I did a little testing. I think it happens when my phone connects to my Ford android auto. I will attempt to do some planned plays and pauses, then get those logs. When I pause on my device without a connection to an external source, it seems to pause and pickup at the same place. In my car, which is my primary listening location, it is all over the place.
Plexamp.log (133.1 KB)
Attached is a log where I played, then paused, then played, then paused. The second play was about 10-15 seconds away from my first pause. I then queued to the spot and listened, then paused at the end. This was in my car. I looked through the log and it has lots of times in it, but I didn’t think it had a mismatch on first glance. Perhaps you can see something. If this doesn’t show anything, it may be a dead end and maybe it just my set of hardware/software.
Ah, so I think you’re running into some code we have to specifically handle long-form audio where, upon pausing, it seeks back a little bit so that you don’t lose anything. It looks to be trying to seek back ~600 ms to account for the soft fades we do on pause/resume.
The format you have is MP3, so it’s possible/likely that the seeking (especially in such a large file) is somewhat non-exact, so that may be what you’re seeing.
I’ve gone ahead and disabled this feature for longform MP3 tracks for the next release as it may have been doing more harm than good.