My specs are: OpenHab 2.4 (Release 0.001 für Synology), Squeezebox Server 7.9.2 and squeezebox binding (release version from Paper UI).
Binding itself and also general squeezebox Player controls are working.
Also the Paper UI Control is showing the favorites as string generated from the playFavorite item.
According to the documentation from github, it should be possible, to create a sitemap selection without adding the “mapping[…]” stuff and then the selection should show all favorites available.
This is not working for me - I can only add favorites manually into the mapping, such as "1=“SWR3”, 2=“Antenne Bayern”, … and so on.
Any hint what to try or what I might have forgotten?
Copied item and sitemap items exactly from the page and exchanged the squeezebox player id/mac adress to match with mine.
thanks a lot!
Christian
How to Set Up Favorites
Add some favorites to your favorites list in LMS (local music playlists, Pandora, Slacker, Internet radio, etc.). Keep all favorites at the root level (i.e. favorites in sub-folders will be ignored).
If you’re on an older openHAB build, you may need to delete and readd your squeezebox server and player things to pick up the new channels.
I somewhere read about some quotation settings that can be changed for basic ui behaviour. Could it be that this settings do have an impact?
Do you know what I mean and what settings could be tried?
Agreed. It was added in June 2018, so it should be in 2.4.
@gforums The other thing you could try is to put this in a rule, then trigger the rule somehow. This will log all the state options associated with the item linked to the player’s playFavorite channel
And the reason - at least in my case - was really the quotation setting!
In the Logitech Squeezebox Server Thing configuration, there is an Option for the “Favorites List” Channel, that can be activated and which is called “quote favorites”.
After having activated this, my selection item now works without a manual mapping needed.
And yes, the settings belongs to the SERVER thing, while the item needed belongs to the PLAYER.
String Squeeze_PlayFavorite "Favorit spielen [%s]" { channel="squeezebox:squeezeboxplayer:1A57D65F-A5C3-4FEC-9849-6D27044C6A1B:020e8e22a009:playFavorite" }
So - this can be marked as solved now and I hope it might help other people as well
Glad you got it working, but I don’t think that’s the reason.
This is the more likely explanation. When you changed the quotation setting on the server thing, it caused the server thing handler to reinitialize. As part of the server thing handler initialization, the server thing handler sends the favorites list to the player thing handler(s). Once that happened, the item linked to the player’s playFavorite channel got its state options updated.
I suspect there’s a timing issue somewhere that I probably should to fix…
Indeed - out of curiosity I switched the setting off again. The list of favourites remains. So looks like another issue that was causing the problem. Still happy to have it working now.