aboutsummaryrefslogtreecommitdiffstats
path: root/doc/protocol.xml
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-25 17:46:43 +0100
committerMax Kellermann <max@duempel.org>2014-11-25 17:46:43 +0100
commit70b5a81a290e5f483e93c59413d5bd29d2047063 (patch)
tree934934174959613ad3cb5f04a3ecacde3c29319c /doc/protocol.xml
parent83fd822e8b9a4dd1132a2cec324c4171d8ca2946 (diff)
downloadmpd-70b5a81a290e5f483e93c59413d5bd29d2047063.tar.gz
mpd-70b5a81a290e5f483e93c59413d5bd29d2047063.tar.xz
mpd-70b5a81a290e5f483e93c59413d5bd29d2047063.zip
{Tag,Song}Print, PlayerCommands: report song duration with milliseconds precision
Diffstat (limited to '')
-rw-r--r--doc/protocol.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/protocol.xml b/doc/protocol.xml
index a0145053a..549b82c6c 100644
--- a/doc/protocol.xml
+++ b/doc/protocol.xml
@@ -517,6 +517,15 @@
</listitem>
<listitem>
<para>
+ <varname>duration</varname>:
+ <footnote id="since_0_20"><simpara>Introduced with <application>MPD</application> 0.20</simpara></footnote>
+ <returnvalue>
+ Duration of the current song in seconds.
+ </returnvalue>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
<varname>bitrate</varname>:
<returnvalue>instantaneous bitrate in
kbps</returnvalue>