[GH-ISSUE #30] Paginating playlists doesn't seem to function #9

Closed
opened 2026-02-27 19:27:53 +03:00 by kerem · 3 comments
Owner

Originally created by @jorrite on GitHub (Oct 11, 2025).
Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/30

Trying to walk through all available playlists from the Loxone app doesn't seem to work and always limit to 10 results only, even after navigating down with [Zone] > [Playlists] > [Show more] (green label shown in top right).

Dug in a bit and the provider command handler does not pick up the offset/start integer:

$ curl -s localhost:7095/audio/cfg/getplaylists2/lms/nouser/0/0/1 | jq '.getplaylists2_result[0].items[].id'
"playlist:library:X"
$ curl -s localhost:7095/audio/cfg/getplaylists2/lms/nouser/0/1/1 | jq '.getplaylists2_result[0].items[].id'
"playlist:library:X" <- same id

Above example deliberately tries to walk through playlists 1-by-1 for brevity.

Originally created by @jorrite on GitHub (Oct 11, 2025). Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/30 Trying to walk through all available playlists from the Loxone app doesn't seem to work and always limit to 10 results only, even after navigating down with [Zone] > [Playlists] > [Show more] (green label shown in top right). Dug in a bit and the provider command handler does not pick up the offset/start integer: ``` $ curl -s localhost:7095/audio/cfg/getplaylists2/lms/nouser/0/0/1 | jq '.getplaylists2_result[0].items[].id' "playlist:library:X" $ curl -s localhost:7095/audio/cfg/getplaylists2/lms/nouser/0/1/1 | jq '.getplaylists2_result[0].items[].id' "playlist:library:X" <- same id ``` Above example deliberately tries to walk through playlists 1-by-1 for brevity.
kerem 2026-02-27 19:27:53 +03:00
Author
Owner

@jorrite commented on GitHub (Oct 11, 2025):

Just added a PR to fix, however, even though I see the app trying to fetch the next 50 items, starting from the 10th position, they still don't show. Not sure sure what the problem is there. Paging through albums, tracks of playlists etc does work fine. Perhaps a data issue in my playlists?

<!-- gh-comment-id:3393644872 --> @jorrite commented on GitHub (Oct 11, 2025): Just added a PR to fix, however, even though I see the app trying to fetch the next 50 items, starting from the 10th position, they still don't show. Not sure sure what the problem is there. Paging through albums, tracks of playlists etc does work fine. Perhaps a data issue in my playlists?
Author
Owner

@jorrite commented on GitHub (Oct 11, 2025):

Ah, I read your new notice on the README.md and I see Loxone App 16.1.x does walk through playlists! 👍

With the current 2.1.5 though, I get an endless stream of the same 10 playlists, PR #31 should set that straight.

<!-- gh-comment-id:3393663554 --> @jorrite commented on GitHub (Oct 11, 2025): Ah, I read your new notice on the `README.md` and I see Loxone App 16.1.x _does_ walk through playlists! 👍 With the current `2.1.5` though, I get an endless stream of the same 10 playlists, PR #31 should set that straight.
Author
Owner

@rudyberends commented on GitHub (Oct 12, 2025):

Thanks for the fix, did not notice this one yet.

Specifically committed fix: add case for root playlist which is 3 segments and playlistid = 0 by you in https://github.com/rudyberends/lox-audioserver/pull/33

<!-- gh-comment-id:3394003788 --> @rudyberends commented on GitHub (Oct 12, 2025): Thanks for the fix, did not notice this one yet. Specifically committed [fix: add case for root playlist which is 3 segments and playlistid = 0](https://github.com/rudyberends/lox-audioserver/pull/31/commits/cae2c1b8447235355c60ec703bb2272447eef28a) by you in https://github.com/rudyberends/lox-audioserver/pull/33
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lox-audioserver#9
No description provided.