diff --git a/static/index.html b/static/index.html
index e2ef1a1b..fc16b3d4 100644
--- a/static/index.html
+++ b/static/index.html
@@ -11,10 +11,14 @@
.logo { display: block; margin: auto }
.content { margin: 20px 25%; }
.docs { background-color: #f4f4f4; border-radius: 4px; padding: 10px; margin-bottom: 20px;}
- .docs p { padding: 0; margin: 0; line-height: 28px; font-size: 14px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; }
+ .docs p, .docs li { padding: 0; margin: 0; line-height: 28px; font-size: 14px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; }
.docs .method { background-color: #dbdbdb; padding: 4px; border-radius: 2px; margin-right: 4px;}
.docs h2 { margin-bottom: 8px;}
.docs h2:first-child { margin-top: 0;}
+ .docs h4 { margin-left: 10px; }
+ .docs ul { list-style-type: none; padding-left: 20px; }
+ .docs .explanation { margin-left: 20px; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; font-size: 14px; }
+ .docs .experimental { background-color: red; border-radius: 3px; color: white; font-size: 10px; line-height: 12px; padding: 2px 6px; font-weight: bold; }
.footer { text-align: center; font-size: 12px; margin: 10px 0 50px 0;}
@@ -34,8 +38,8 @@
Info
Global Control
GET /lockvolumes
GET /unlockvolumes
- GET /pauseall
- GET /resumeall
+ GET /pauseall/{timeout in minutes (optional)}
+ GET /resumeall/{timeout in minutes (optional)}
GET /reindex
GET /sleep/{timeout in seconds or timestamp HH:MM:SS or off}
GET /preset/{JSON preset}
@@ -47,31 +51,63 @@ Zone Control
GET /{zone name}/{action}[/{parameter}]
Actions
+
+ Playback
+
+ - play
+ - pause
+ - playpause toggles playing state
+ - trackseek/{seconds into song, i.e. 60 for 1:00, 120 for 2:00 etc.}
+ - next
+ - previous
+
+
+ Volume
+
+ - volume/{absolute volume}
+ - volume/{+ or -}{relative volume}
+ - groupVolume/{absolute volume}
+ - groupVolume/{+ or -}{relative volume}
+ - mute
+ - unmute
+ - groupMute
+ - groupUnmute
+ - togglemute
+ - lockvolumes
+ - unlockvolumes experimental enforce the volume that was selected when locking!
+
+
+ Playback Settings
+
+ - favorite
+ - playlist
+ - repeat/{on | off}
+ - shuffle/{on | off}
+ - crossfade/{on | off}
+
+
+ Queue
+
+ - queue
+ - clearqueue
+ - seek/{queue index}
+
+
+ Room Grouping
+
+ - add/{other zone name}
+ - remove/{other zone name}
+ - isolate
+
+
+ Other
+
+
+ Internals
- - play
- - pause
- - playpause (toggles playing state)
- - volume (parameter is absolute or relative volume. Prefix +/- indicates relative volume)
- - groupVolume (parameter is absolute or relative volume. Prefix +/- indicates relative volume)
- - mute / unmute
- - groupMute / groupUnmute
- - togglemute (toggles mute state)
- - seek (parameter is queue index)
- - trackseek (parameter is in seconds, 60 for 1:00, 120 for 2:00 etc)
- - next
- - previous
- - state (will return a json-representation of the current state of player)
- - favorite
- - playlist
- - lockvolumes / unlockvolumes (experimental, will enforce the volume that was selected when locking!)
- - repeat (on/off)
- - shuffle (on/off)
- - crossfade (on/off)
- - pauseall (with optional timeout in minutes)
- - resumeall (will resume the ones that was pause on the pauseall call. Useful for doorbell, phone calls, etc. Optional timeout)
- - say
- - queue
- - clearqueue
+ - state returns a json-representation of the current state of player