aboutsummaryrefslogtreecommitdiffstats
path: root/doc/protocol.xml
diff options
context:
space:
mode:
authorRomain Bignon <romain@peerfuse.org>2009-03-27 15:28:49 +0100
committerRomain Bignon <romain@peerfuse.org>2009-03-27 15:28:49 +0100
commite7519829ac588e4b261c1832bb0e7d6ffbd47322 (patch)
treeec9ab205b3a4344b76dcd60dddc8496ed8357cde /doc/protocol.xml
parente46722b2ebe05fce63bc7b86100c159b5cadd297 (diff)
downloadmpd-e7519829ac588e4b261c1832bb0e7d6ffbd47322.tar.gz
mpd-e7519829ac588e4b261c1832bb0e7d6ffbd47322.tar.xz
mpd-e7519829ac588e4b261c1832bb0e7d6ffbd47322.zip
renamed smartstop to single and changed behavior
When single mode is enabled, after current song it stops playback, or it replay same song if repeat mode is activated.
Diffstat (limited to '')
-rw-r--r--doc/protocol.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/protocol.xml b/doc/protocol.xml
index fc833f7bf..3dcfedeb5 100644
--- a/doc/protocol.xml
+++ b/doc/protocol.xml
@@ -218,7 +218,7 @@
</listitem>
<listitem>
<para>
- <varname>smartstop</varname>:
+ <varname>single</varname>:
<returnvalue>0 or 1</returnvalue>
</para>
</listitem>
@@ -408,18 +408,19 @@
</para>
</listitem>
</varlistentry>
- <varlistentry id="command_smartstop">
+ <varlistentry id="command_single">
<term>
<cmdsynopsis>
- <command>smartstop</command>
+ <command>single</command>
<arg choice="req"><replaceable>STATE</replaceable></arg>
</cmdsynopsis>
</term>
<listitem>
<para>
- Sets smartstop state to <varname>STATE</varname>,
+ Sets single state to <varname>STATE</varname>,
<varname>STATE</varname> should be 0 or 1.
- When smartstop is activated, playback is stopped after current song.
+ When single is activated, playback is stopped after current song, or
+ song is repeated if the 'repeat' mode is enabled.
</para>
</listitem>
</varlistentry>