core icon indicating copy to clipboard operation
core copied to clipboard

Feature request: Return from any hierarchy level of the music library back to previous position

Open maesern opened this issue 6 months ago • 2 comments

If a user is displaying an album or artist in the music library and clicks on it to display the tracks all tracks will be displayed to the album or artist. After the click on the arrow (back button) the first page of the album or artist list gets displayed. That is annoying it you have a large library. The system should display the previous album or artist list.

Example: You have a music library with 50 albums. You scroll throw this list and find album 33 on page 3 interesting and you like to display the tracks. Afterwards you like to go back and continue your search thru the album list. But you need to start from the beginning of the album list and you have to scroll down until you find album 33 again before you are able to continue.

maesern avatar May 15 '26 15:05 maesern

Thanks for the report. Unfortunately this is not something we can fix on the audioserver side.

The Loxone audio protocol for browsing library content is stateless with respect to scroll/pagination position. The official Loxone app sends requests in the form:

audio/cfg/getservicefolder/<service>/<user>/<folderId>/<start>/<limit>

The client decides which start offset to request, and the server simply returns the matching slice of items plus the total count. There is no field in the response that lets the server tell the client "restore scroll to position N" — the protocol doesn't carry that information.

When you press the back arrow after opening an album/artist, it is the Loxone client itself that decides whether to:

re-request the previous page with the same start offset (which would restore your position), or re-request the list from start=0 (which is what you're seeing). Since lox-audioserver emulates a real Loxone Audioserver and the official Loxone client is what manages navigation state and scroll position, this behavior can only be addressed by Loxone in the client app. We have no way to influence it from the server side.

Closing as out-of-scope for this project — but happy to reopen if anyone finds evidence of a protocol field we've missed.

rudyberends avatar May 17 '26 14:05 rudyberends

Thank you for your fast replay. I‘m a little surprised that it is not possible and wonder how it can be done with the original Loxone Audio Server?

maesern avatar May 17 '26 17:05 maesern