[GH-ISSUE #44] Favorites handling #10

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

Originally created by @mr-manuel on GitHub (Oct 18, 2025).
Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/44

The favorites in the Loxone app should be handled separately from the backend. I'm using Music Assistant as backend with Spotify and nearly all liked songs are already pre-selected as favorites.

The correct behavior therefore would be, that every audio player function block/zone has his own favorites list.

Originally created by @mr-manuel on GitHub (Oct 18, 2025). Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/44 The favorites in the Loxone app should be handled separately from the backend. I'm using Music Assistant as backend with Spotify and nearly all liked songs are already pre-selected as favorites. The correct behavior therefore would be, that every audio player function block/zone has his own favorites list.
kerem 2026-02-27 19:27:54 +03:00
Author
Owner

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

branch feat/local-per-zone-favorites has it.

It uses json files for every zone and is stored in the data directory

<!-- gh-comment-id:3419072062 --> @rudyberends commented on GitHub (Oct 18, 2025): branch feat/local-per-zone-favorites has it. It uses json files for every zone and is stored in the data directory
Author
Owner

@mr-manuel commented on GitHub (Oct 19, 2025):

Nice thanks. Now the favorite ID cannot be changed anymore. Could you allow that? Reason is that I have different buttons in the house where a fixed favorite ID is assigned and started. This would allow me to change the favorite start playing without the need to use the LoxConfig every time.

Is there a reason why it now starts from 1 000 000?

<!-- gh-comment-id:3419278368 --> @mr-manuel commented on GitHub (Oct 19, 2025): Nice thanks. Now the favorite ID cannot be changed anymore. Could you allow that? Reason is that I have different buttons in the house where a fixed favorite ID is assigned and started. This would allow me to change the favorite start playing without the need to use the LoxConfig every time. Is there a reason why it now starts from 1 000 000?
Author
Owner

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

yes, its in the latest version.

Right now it's missing some metadata. This wil come back soon. For now you can test the rest of the functionality.

<!-- gh-comment-id:3419527356 --> @rudyberends commented on GitHub (Oct 19, 2025): yes, its in the latest version. Right now it's missing some metadata. This wil come back soon. For now you can test the rest of the functionality.
Author
Owner

@mr-manuel commented on GitHub (Oct 19, 2025):

Latest version of the feat/local-per-zone-favorites branch? There I have now favorites per audio player but I can't play them anymore and I'm not able to change the favorite ID.

<!-- gh-comment-id:3419729160 --> @mr-manuel commented on GitHub (Oct 19, 2025): Latest version of the `feat/local-per-zone-favorites` branch? There I have now favorites per audio player but I can't play them anymore and I'm not able to change the favorite ID.
Author
Owner

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

I think you should remove your local cache, as it should work.

<!-- gh-comment-id:3428840780 --> @rudyberends commented on GitHub (Oct 21, 2025): I think you should remove your local cache, as it should work.
Author
Owner

@mr-manuel commented on GitHub (Oct 21, 2025):

That was indeed the issue, sorry.

Now I'm stuck at playing a favorite through the Fav function block input:

[2025-10-21 19:53:12:5312][info][RequestHandler] Loxone Request not processed: audio/13/roomfav/play/8

There you can inject the favorite ID which should be played, in the sample above favorite ID 8.

The rest is now working (favorites per audio player and editing the favorite ID).

<!-- gh-comment-id:3429351537 --> @mr-manuel commented on GitHub (Oct 21, 2025): That was indeed the issue, sorry. Now I'm stuck at playing a favorite through the Fav function block input: ``` [2025-10-21 19:53:12:5312][info][RequestHandler] Loxone Request not processed: audio/13/roomfav/play/8 ``` There you can inject the favorite ID which should be played, in the sample above favorite ID `8`. The rest is now working (favorites per audio player and editing the favorite ID).
Author
Owner

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

Yeah, will implement that.

<!-- gh-comment-id:3429542520 --> @rudyberends commented on GitHub (Oct 21, 2025): Yeah, will implement that.
Author
Owner

@rudyberends commented on GitHub (Nov 1, 2025):

This should now work in the latest 3.0.0 release. Please start with a fresh config and let me know the results.

<!-- gh-comment-id:3476677718 --> @rudyberends commented on GitHub (Nov 1, 2025): This should now work in the latest 3.0.0 release. Please start with a fresh config and let me know the results.
Author
Owner

@mr-manuel commented on GitHub (Nov 1, 2025):

This works now as expected. Thanks!

<!-- gh-comment-id:3476756028 --> @mr-manuel commented on GitHub (Nov 1, 2025): This works now as expected. Thanks!
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#10
No description provided.