Multi-track audiobooks don't resume correct track after interruption

App version

Production

Issue description

When playing a multi-track audiobook, if you switch to (at least) a playlist, and later come back to the audiobook (especially after a session interruption), the audiobook resumes at the same timestamp but at track #1, regardless of which track you actually were on

Device type

Phone

Media provider

Audiobookshelf

Steps to reproduce

  1. Be listening to an audiobook long enough that you have a resume point, and are on track 2+.
  2. Switch to another thing. I usually switch to my Navidrome (open subsonic) provider for my work day.
  3. Later, resume the audiobook. I usually do this later at night, after a long listening interruption. This can be mimic’d by force-stopping Symfonium.

The audiobook will resume at the same track time (eg, 1:15) but always on track #1

Additional information

Screen recording of the issue:

https://photoarchive.philipkahn.com:13379/share/7Bduvqdc9A-hvfMDA4EZVvRTcJ9E_L01GVyVZdJkRmPZ3qXPY7tc6M6CQ_vFg7TlDTo

I have an offline copy of logs in case the upload failed for some reason.

I searched existing issues first

on

I understand that logs are mandatory

on

Log upload name / description

tigerhawkvok