So, the way the LMS seems to work… Say you have shuffle by song enabled (haven’t tested shuffle by album yet) and you’re on track index 20 of a playlist (i.e. that’s the playlist index of the currently playing song). Disabling and reenabling shuffle mode seems to place the currently playing song at playlist index 0.
I’m going to test a change that restores the index to 0 when shuffle mode is enabled.
Edit: Well, that didn’t work. Adding an item (i.e. the notification) to the playlist and playing it invalidates the above behavior.
When playing a playlist of local music, another possibility is to try using the
playlist clear, and
playlist resume commands. I’ve never used those before, and it likely would involve a bit more rework. I’ll take a look at that when I get a little more time.