-
Notifications
You must be signed in to change notification settings - Fork 780
Sonos binding, partly implemented getFavoriteRadios getFavorites #5003
Comments
This sounds like a good use case for #4942. You could have a dynamic "SelectionOptionProvider" for a favorites channel and show it as a selection element in a basic ui sitemap or whatever kind of widget in HabPanel. |
Kindly requesting an update. |
As long as there is no volunteer that would like to implement that feature... |
I will have a look as soon as my changes in Classic UI and Basic UI are merged. |
In fact, it could be applied to 3 channels: |
I implemented that in the Sonos binding as a POC. Works well. I have one worry: what will happen with very big lists ? Should we limit to a certain max list size ? |
Unfortunately there is first an issue to fix in the jupnp library |
I just merged the PR - nevertheless, the above statement wrt the dependency on a yet open change in jUPnP remains valid. See also #5682 (comment). |
…-archived#5682) Used to define dynamically the state options for the channels radio, favorite and playlist fixes eclipse-archived#5003 Signed-off-by: Laurent Garnier <[email protected]>
I have not yet checked but the new feature should work starting with the snapshot 1305. |
I can now confirm that it is available. |
Hello,
Currently, the Sonos Binding does not have a channel for getting an list of the favorites. I would like to use this list in an HabPanel widget so you can choose an favorite to play.
The SonosPlayeHandler does have some parts of code towards getting the favorites, but it doesn't have it ported to an channel. Could this be implemented?
SonosPlayerHandler.java
https://github.com/eclipse/smarthome/blob/master/extensions/binding/org.eclipse.smarthome.binding.sonos/src/main/java/org/eclipse/smarthome/binding/sonos/internal/handler/ZonePlayerHandler.java
The text was updated successfully, but these errors were encountered: