2 * Copyright (c) 2010-2024 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.volumio.internal.mapping;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * @see <a href="https://github.com/volumio/Volumio2-UI/blob/master/src/app/services/player.service.js">
19 * https://github.com/volumio/Volumio2-UI/blob/master/src/app/services/player.service.js</a>
20 * @see <a href="https://github.com/volumio/Volumio2/blob/master/app/plugins/user_interface/websocket/index.js">
21 * https://github.com/volumio/Volumio2/blob/master/app/plugins/user_interface/websocket/index.js</a>
23 * @author Patrick Sernetz - Initial Contribution
24 * @author Chris Wohlbrecht - Adaption for openHAB 3
25 * @author Michael Loercher - Adaption for openHAB 3
29 public class VolumioCommands {
33 public static final String GET_STATE = "get-state";
37 public static final String PLAY = "play";
39 public static final String PAUSE = "pause";
41 public static final String STOP = "stop";
43 public static final String PREVIOUS = "prev";
45 public static final String NEXT = "next";
47 public static final String SEEK = "seek";
49 public static final String RANDOM = "set-random";
51 public static final String REPEAT = "set-repeat";
55 public static final String SEARCH = "search";
59 public static final String VOLUME = "volume";
61 public static final String MUTE = "mute";
63 public static final String UNMUTE = "unmute";
67 public static final String GET_MULTIROOM_DEVICES = "get-multi-room-devices";
72 * Replace the complete queue and play add/play the delivered entry.
74 public static final String REPLACE_AND_PLAY = "replace-and-play";
76 public static final String ADD_PLAY = "addPlay";
78 public static final String CLEAR_QUEUE = "clear-queue";
81 public static final String SHUTDOWN = "shutdown";
83 public static final String REBOOT = "reboot";
85 public static final String PLAY_PLAYLIST = "play-playlist";
87 public static final String PLAY_FAVOURITES = "play-favourites";
89 public static final String PLAY_RADIO_FAVOURITES = "play-radio-favourites";