Skip to content

Commit 280f5c5

Browse files
authored
[volumio] Fixed volumio don't play playlist (openhab#16826) (openhab#16828)
Signed-off-by: Chris Wohlbrecht <[email protected]>
1 parent 2bfba0a commit 280f5c5

File tree

1 file changed

+9
-9
lines changed
  • bundles/org.openhab.binding.volumio/src/main/java/org/openhab/binding/volumio/internal/mapping

1 file changed

+9
-9
lines changed

bundles/org.openhab.binding.volumio/src/main/java/org/openhab/binding/volumio/internal/mapping/VolumioCommands.java

+9-9
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class VolumioCommands {
3030

3131
/* Player Status */
3232

33-
public static final String GET_STATE = "get-state";
33+
public static final String GET_STATE = "getState";
3434

3535
/* Player Controls */
3636

@@ -46,9 +46,9 @@ public class VolumioCommands {
4646

4747
public static final String SEEK = "seek";
4848

49-
public static final String RANDOM = "set-random";
49+
public static final String RANDOM = "setRandom";
5050

51-
public static final String REPEAT = "set-repeat";
51+
public static final String REPEAT = "setRepeat";
5252

5353
/* Search */
5454

@@ -64,27 +64,27 @@ public class VolumioCommands {
6464

6565
/* MultiRoom */
6666

67-
public static final String GET_MULTIROOM_DEVICES = "get-multi-room-devices";
67+
public static final String GET_MULTIROOM_DEVICES = "getMultiRoomDevices";
6868

6969
/* Queue */
7070

7171
/**
7272
* Replace the complete queue and play add/play the delivered entry.
7373
*/
74-
public static final String REPLACE_AND_PLAY = "replace-and-play";
74+
public static final String REPLACE_AND_PLAY = "replaceAndPlay";
7575

7676
public static final String ADD_PLAY = "addPlay";
7777

78-
public static final String CLEAR_QUEUE = "clear-queue";
78+
public static final String CLEAR_QUEUE = "clearQueue";
7979

8080
/* ... */
8181
public static final String SHUTDOWN = "shutdown";
8282

8383
public static final String REBOOT = "reboot";
8484

85-
public static final String PLAY_PLAYLIST = "play-playlist";
85+
public static final String PLAY_PLAYLIST = "playPlaylist";
8686

87-
public static final String PLAY_FAVOURITES = "play-favourites";
87+
public static final String PLAY_FAVOURITES = "playFavourites";
8888

89-
public static final String PLAY_RADIO_FAVOURITES = "play-radio-favourites";
89+
public static final String PLAY_RADIO_FAVOURITES = "playRadioFavourites";
9090
}

0 commit comments

Comments
 (0)