[volumio] play playlist not working
stargazer74 opened this issue · comments
Expected Behavior
If I send a name of a playlist to volumio, the playlist should play.
items.getItem('Volumio_Play_Playlist').sendCommand('rock');
Current Behavior
Nothing is playing.
Possible Solution
The commands defined in
public class VolumioCommands
have to be camel-case.
public static final String PLAY_PLAYLIST = "play-playlist";
must be changed to public static final String PLAY_PLAYLIST = "playPlaylist";
See: https://developers.volumio.com/api/websocket-api
Steps to Reproduce (for Bugs)
- define playlist in Volumio
- try to play it via addon_channel "Play Playlist"
Your Environment
- Version used: openhab v 4.1.2