X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/0db97c0d2f4568c2b5b5f5f9b791b8025b4732aa..79cbb91d611df73fbb24ccae5f858f2dae7d7d18:/doc/disorder_protocol.5.in diff --git a/doc/disorder_protocol.5.in b/doc/disorder_protocol.5.in index bf293e9..a9d973d 100644 --- a/doc/disorder_protocol.5.in +++ b/doc/disorder_protocol.5.in @@ -83,9 +83,13 @@ If \fIREGEXP\fR is present only matching files are returned. .B get \fITRACK\fR \fIPREF\fR Gets a preference value. On success the second field of the response line will have the value. +.IP +If the track or preference do not exist then the response code is 555. .TP .B get-global \fIKEY\fR Get a global preference. +.IP +If the preference does not exist then the response code is 555. .TP .B length \fITRACK\fR Gets the length of the track in seconds. On success the second field of the @@ -141,7 +145,7 @@ or Pause the current track. .TP .B play \fITRACK\fR -Add a track to the queue. +Add a track to the queue. The response contains the queue ID of the track. .TP .B playing Reports what track is playing. @@ -293,6 +297,10 @@ Text part is just commentary; a dot-stuffed body follows. Text part is just commentary; an indefinite dot-stuffed body follows. (Used for \fBlog\fR.) .TP +.B 5 +Used with "normal" errors, for instance a preference not being found. The text +part is commentary. +.TP .B 9 The text part is just commentary (but would normally be a response for this command) e.g. \fBplaying\fR.