Skip to content

Latest commit

 

History

History
69 lines (53 loc) · 1.74 KB

mqtt.md

File metadata and controls

69 lines (53 loc) · 1.74 KB

MQTT notes

Mopidy

State

media/canard/mopidy/i/sta

Control

media/canard/mopidy/c/plb pause
|       Kind       | Subtopic |                               Values                              |
|:----------------:|:--------:|:-----------------------------------------------------------------:|
| Playback control | `/plb`   | `play` / `stop` / `pause` / `resume` / `toggle` / `prev` / `next` |
| Volume control   | `/vol`   | `=<int>` or `-<int>` or `+<int>`                                  |
| Add to queue     | `/add`   | `<uri:str>`                                                       |
| Load playlist    | `/loa`   | `<uri:str>`                                                       |
| Clear queue      | `/clr`   | ` `                                                               |
| Search tracks    | `/src`   | `<str>`                                                           |
| Request info     | `/inf`   | `state` / `volume` / `queue`                                  |

Librespot

State

media/canard/spotify started
media/canard/spotify volume_set
media/canard/spotify playing
media/canard/spotify paused

Control

shairport-sync

State

Control

media/kitchen/airplay/remote pause

commands:

command, beginff, beginrew, mutetoggle, nextitem, previtem, pause,
playpause, play, stop, playresume, shuffle_songs, volumedown, volumeup

Kodi

State

media/study/kodi/status/notification/Player.OnPlay {"val": "{\"item\":{\"id\":14996,\"type\":\"episode\"},\"player\":{\"playerid\":1,\"speed\":1}}"}
media/study/kodi/status/notification/Player.OnStop {"val": "{\"end\":true,\"item\":{\"id\":14996,\"type\":\"episode\"}}"}

Control

media/command/playbackstate "pause"