Skip to content

Commit

Permalink
Add extra commands to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Jimenez Esun committed Apr 15, 2020
1 parent 5afc07c commit c63a8f2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ are also `::` separated). `<ID>` references the player executing the action,
attributes related to the command (if any). The following commands are
supported:

- `play`: Music started playing. It is also sent when resuming the play.
- `play`: music started playing. It is also sent when resuming the play.

- `pause`: Music was paused.
- `pause`: music was paused.

- `volume::<VOLUME>`: the volume was modified to the new value provided. Values
go from `0` (muted) to `100` (highest possible volume).
Expand All @@ -78,6 +78,13 @@ supported:
- `time::<TIME>`: used when seeking, to indicate the new time from which we
want to play.

- `shuffle::<TYPE>`: user selected to shuffle the playlist. A `<TYPE>` of `0`
represents a normal reproduction, while `1` represents being shuffled.

- `repeat::<TYPE>`: user chose a repeating mode. A `<TYPE>` of `0` indicates no
repetition, a `<TYPE>` of `1` indicates single repetition (the same track
over and over), and a type of `2` indicates full playlist repetition.

### Data expected to be received by the Music Server

- `setTitle::<TITLE>`: sets the title of the song being played. This is used in
Expand Down

0 comments on commit c63a8f2

Please sign in to comment.