2 * Copyright (c) 2010-2023 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 https://github.com/volumio/Volumio2-UI/blob/master/src/app/services/player.service.js
19 * @see https://github.com/volumio/Volumio2/blob/master/app/plugins/user_interface/websocket/index.js
21 * @author Patrick Sernetz - Initial Contribution
22 * @author Chris Wohlbrecht - Adaption for openHAB 3
23 * @author Michael Loercher - Adaption for openHAB 3
27 public class VolumioCommands {
31 public static final String GET_STATE = "get-state";
35 public static final String PLAY = "play";
37 public static final String PAUSE = "pause";
39 public static final String STOP = "stop";
41 public static final String PREVIOUS = "prev";
43 public static final String NEXT = "next";
45 public static final String SEEK = "seek";
47 public static final String RANDOM = "set-random";
49 public static final String REPEAT = "set-repeat";
53 public static final String SEARCH = "search";
57 public static final String VOLUME = "volume";
59 public static final String MUTE = "mute";
61 public static final String UNMUTE = "unmute";
65 public static final String GET_MULTIROOM_DEVICES = "get-multi-room-devices";
70 * Replace the complete queue and play add/play the delivered entry.
72 public static final String REPLACE_AND_PLAY = "replace-and-play";
74 public static final String ADD_PLAY = "addPlay";
76 public static final String CLEAR_QUEUE = "clear-queue";
79 public static final String SHUTDOWN = "shutdown";
81 public static final String REBOOT = "reboot";
83 public static final String PLAY_PLAYLIST = "play-playlist";
85 public static final String PLAY_FAVOURITES = "play-favourites";
87 public static final String PLAY_RADIO_FAVOURITES = "play-radio-favourites";