1 <?xml version='1.0' encoding="utf-8"?>
2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "docbook/dtd/xml/4.2/docbookx.dtd">
5 <title>The Music Player Daemon protocol</title>
8 <title>General protocol syntax</title>
11 <title>Requests</title>
14 If arguments contain spaces, they should be surrounded by double quotation
19 <command>COMMAND</command>
20 <arg rep="repeat"><replaceable>ARG</replaceable></arg>
24 All data between the client and the server is encoded in
25 UTF-8. (Note: In UTF-8 all standard ansi characters, 0-127 are
26 the same as a standard ansi encoding. Also, no ansi character
27 appears in any multi-byte characters. So, you can use
28 standard C functions like <function>strlen</function>, and
29 <function>strcpy</function> just fine with UTF-8 encoded
30 strings. For example: <returnvalue>OK</returnvalue> encoded in
31 UTF-8 is simply <returnvalue>OK</returnvalue>. For more
33 http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8)
38 <title>Responses</title>
41 A command returns <returnvalue>OK</returnvalue> on completion
42 or <returnvalue>ACK some error</returnvalue> on failure.
43 These denote the end of command execution.
48 <title>Command lists</title>
51 To facilitate faster adding of files etc. you can pass a list
52 of commands all at once using a command list. The command
53 list begins with <command>command_list_begin</command> or
54 <command>command_list_ok_begin</command> and ends with
55 <command>command_list_end</command>.
59 It does not execute any commands until the list has ended.
60 The return value is whatever the return for a list of commands
61 is. On success for all commands,
62 <returnvalue>OK</returnvalue> is returned. If a command
63 fails, no more commands are executed and the appropriate
64 <returnvalue>ACK</returnvalue> error is returned. If
65 <command>command_list_ok_begin</command> is used,
66 <returnvalue>list_OK</returnvalue> is returned for each
67 successful command executed in the command list.
73 <title>Command reference</title>
77 For manipulating playlists and playing, there are two sets of
78 commands. One set uses the song id of a song in the playlist,
79 while another set uses the playlist position of the song. The
80 commands using song ids should be used instead of the commands
81 that manipulate and control playback based on playlist
82 position. Using song ids is a safer method when multiple
83 clients are interacting with MPD.
88 <title>Querying MPD's status</title>
91 <varlistentry id="command_clearerror">
94 <command>clearerror</command>
99 Clears the current error message in status (this is also
100 accomplished by any command that starts playback).
104 <varlistentry id="command_currentsong">
107 <command>currentsong</command>
112 Displays the song info of the current song (same song that
113 is identified in status).
117 <varlistentry id="command_idle">
120 <command>idle</command>
121 <arg choice="opt" rep="repeat"><replaceable>SUBSYSTEMS</replaceable></arg>
126 <footnote id="since_0_14"><simpara>Introduced with MPD 0.14</simpara></footnote>
127 Waits until there is a noteworthy change in one or more
128 of MPD's subsystems. As soon as there is one, it lists
129 all changed systems in a line in the format
130 <returnvalue>changed: SUBSYSTEM</returnvalue>, where
131 SUBSYSTEM is one of the following:
136 <returnvalue>database</returnvalue>: the song database
137 has been modified after <command>update</command>.
142 <returnvalue>update</returnvalue>: a database update
143 has started or finished. If the database was
144 modified during the update, the
145 <returnvalue>database</returnvalue> event is also
151 <returnvalue>stored_playlist</returnvalue>: a stored
152 playlist has been modified, renamed, created or
158 <returnvalue>playlist</returnvalue>: the current
159 playlist has been modified
164 <returnvalue>player</returnvalue>: the player has been
165 started, stopped or seeked
170 <returnvalue>mixer</returnvalue>: the volume has been
176 <returnvalue>output</returnvalue>: an audio output has
177 been enabled or disabled
182 <returnvalue>options</returnvalue>: options like
183 <option>repeat</option>, <option>random</option>,
184 <option>crossfade</option>
189 While a client is waiting for <command>idle</command>
190 results, the server disables timeouts, allowing a client
191 to wait for events as long as mpd runs. The
192 <command>idle</command> command can be canceled by
193 sending the command <command>noidle</command> (no other
194 commands are allowed). MPD will then leave
195 <command>idle</command> mode and print results
196 immediately; might be empty at this time.
199 If the optional <varname>SUBSYSTEMS</varname> argument is used,
200 MPD will only send notifications when something changed in
201 one of the specified subsytems.
205 <varlistentry id="command_status">
208 <command>status</command>
213 Reports the current status of the player and the volume
219 <varname>volume</varname>:
220 <returnvalue>0-100</returnvalue>
225 <varname>repeat</varname>:
226 <returnvalue>0 or 1</returnvalue>
231 <varname>single</varname>:
232 <footnote id="since_0_15"><simpara>Introduced with MPD 0.15</simpara></footnote>
233 <returnvalue>0 or 1</returnvalue>
238 <varname>consume</varname>:
239 <footnoteref linkend="since_0_15"/>
240 <returnvalue>0 or 1</returnvalue>
245 <varname>playlist</varname>:
246 <returnvalue>31-bit unsigned integer, the playlist
247 version number</returnvalue>
252 <varname>playlistlength</varname>:
253 <returnvalue>integer, the length of the
254 playlist</returnvalue>
259 <varname>state</varname>:
260 <returnvalue>play, stop, or pause</returnvalue>
265 <varname>song</varname>:
266 <returnvalue> playlist song number of the current
267 song stopped on or playing
273 <varname>songid</varname>:
274 <returnvalue>playlist songid of the current song
275 stopped on or playing
281 <varname>time</varname>:
282 <returnvalue>total time elapsed (of current
283 playing/paused song)</returnvalue>
288 <varname>elapsed</varname>:
289 <footnote id="since_0_16"><simpara>Introduced with MPD 0.16</simpara></footnote>
291 Total time elapsed within the current song, but
292 with higher resolution.
298 <varname>bitrate</varname>:
299 <returnvalue>instantaneous bitrate in
305 <varname>xfade</varname>:
306 <returnvalue>crossfade in seconds</returnvalue>
311 <varname>audio</varname>:
312 <returnvalue>sampleRate:bits:channels</returnvalue>
317 <varname>updatings_db</varname>:
318 <returnvalue>job id</returnvalue>
323 <varname>error</varname>:
324 <returnvalue>if there is an error, returns message
331 <varlistentry id="command_stats">
334 <command>stats</command>
344 <varname>artists</varname>: number of artists
349 <varname>songs</varname>: number of albums
354 <varname>uptime</varname>: daemon uptime in seconds
359 <varname>db_playtime</varname>: sum of all song
365 <varname>db_update</varname>: last db update in UNIX
371 <varname>playtime</varname>: time length of music played
381 <title>Playback options</title>
384 <varlistentry id="command_consume">
387 <command>consume</command>
388 <arg choice="req"><replaceable>STATE</replaceable></arg>
393 <footnoteref linkend="since_0_15"/>
394 Sets consume state to <varname>STATE</varname>,
395 <varname>STATE</varname> should be 0 or 1.
396 When consume is activated, each song played is removed from playlist.
400 <varlistentry id="command_crossfade">
403 <command>crossfade</command>
404 <arg choice="req"><replaceable>SECONDS</replaceable></arg>
409 Sets crossfading between songs.
413 <varlistentry id="command_random">
416 <command>random</command>
417 <arg choice="req"><replaceable>STATE</replaceable></arg>
422 Sets random state to <varname>STATE</varname>,
423 <varname>STATE</varname> should be 0 or 1.
427 <varlistentry id="command_repeat">
430 <command>repeat</command>
431 <arg choice="req"><replaceable>STATE</replaceable></arg>
436 Sets repeat state to <varname>STATE</varname>,
437 <varname>STATE</varname> should be 0 or 1.
441 <varlistentry id="command_setvol">
444 <command>setvol</command>
445 <arg choice="req"><replaceable>VOL</replaceable></arg>
450 Sets volume to <varname>VOL</varname>, the range of
455 <varlistentry id="command_single">
458 <command>single</command>
459 <arg choice="req"><replaceable>STATE</replaceable></arg>
464 <footnoteref linkend="since_0_15"/>
465 Sets single state to <varname>STATE</varname>,
466 <varname>STATE</varname> should be 0 or 1.
467 When single is activated, playback is stopped after current song, or
468 song is repeated if the 'repeat' mode is enabled.
476 <title>Controlling playback</title>
479 <varlistentry id="command_next">
482 <command>next</command>
487 Plays next song in the playlist.
491 <varlistentry id="command_pause">
494 <command>pause</command>
495 <arg choice="req"><replaceable>PAUSE</replaceable></arg>
500 Toggles pause/resumes playing, <varname>PAUSE</varname> is 0 or 1.
504 The use of pause command w/o the PAUSE argument is
510 <varlistentry id="command_play">
513 <command>play</command>
514 <arg><replaceable>SONGPOS</replaceable></arg>
519 Begins playing the playlist at song number
520 <varname>SONGPOS</varname>.
524 <varlistentry id="command_playid">
527 <command>playid</command>
528 <arg><replaceable>SONGID</replaceable></arg>
533 Begins playing the playlist at song
534 <varname>SONGID</varname>.
538 <varlistentry id="command_previous">
541 <command>previous</command>
546 Plays previous song in the playlist.
551 <varlistentry id="command_seek">
554 <command>seek</command>
555 <arg choice="req"><replaceable>SONGPOS</replaceable></arg>
556 <arg choice="req"><replaceable>TIME</replaceable></arg>
561 Seeks to the position <varname>TIME</varname> (in
562 seconds) of entry <varname>SONGPOS</varname> in the
567 <varlistentry id="command_seekid">
570 <command>seekid</command>
571 <arg choice="req"><replaceable>SONGID</replaceable></arg>
572 <arg choice="req"><replaceable>TIME</replaceable></arg>
577 Seeks to the position <varname>TIME</varname> (in
578 seconds) of song <varname>SONGID</varname>.
582 <varlistentry id="command_stop">
585 <command>stop</command>
598 <title>The current playlist</title>
601 <varlistentry id="command_add">
604 <command>add</command>
605 <arg choice="req"><replaceable>URI</replaceable></arg>
610 Adds the file <varname>URI</varname> to the playlist
611 (directories add recursively). <varname>URI</varname>
612 can also be a single file.
616 <varlistentry id="command_addid">
619 <command>addid</command>
620 <arg choice="req"><replaceable>URI</replaceable></arg>
621 <arg><replaceable>POSITION</replaceable></arg>
626 Adds a song to the playlist (non-recursive) and returns the song id.
629 <varname>URI</varname> is always a single file or
630 URL. <varname>POSITION</varname> is optional, a
631 negative number means it is relative to the currently
632 playing song in the playlist (if there is one).
642 <varlistentry id="command_clear">
645 <command>clear</command>
650 Clears the current playlist.
654 <varlistentry id="command_delete">
657 <command>delete</command>
658 <arg choice="req"><replaceable>SONGPOS</replaceable></arg>
663 Deletes a song from the playlist.
667 <varlistentry id="command_deleteid">
670 <command>deleteid</command>
671 <arg choice="req"><replaceable>SONGID</replaceable></arg>
676 Deletes the song <varname>SONGID</varname> from the
681 <varlistentry id="command_move">
684 <command>move</command>
686 <arg choice="req"><replaceable>FROM</replaceable></arg>
687 <arg choice="req"><replaceable>START:END</replaceable></arg>
689 <arg choice="req"><replaceable>TO</replaceable></arg>
694 Moves the song at <varname>FROM</varname> or range of songs
695 at <varname>START:END</varname> to <varname>TO</varname>
697 <footnote id="range_since_0_15">
698 <simpara>Ranges are supported since MPD 0.15</simpara>
703 <varlistentry id="command_moveid">
706 <command>moveid</command>
707 <arg choice="req"><replaceable>FROM</replaceable></arg>
708 <arg choice="req"><replaceable>TO</replaceable></arg>
713 Moves the song with <varname>FROM</varname> (songid) to
714 <varname>TO</varname> (playlist index) in the
715 playlist. If <varname>TO</varname> is negative, it
716 is relative to the current song in the playlist (if
721 <varlistentry id="command_playlist">
724 <command>playlist</command>
729 Displays the current playlist.
733 Do not use this, instead use <command>playlistinfo</command>.
738 <varlistentry id="command_playlistfind">
741 <command>playlistfind</command>
742 <arg choice="req"><replaceable>TAG</replaceable></arg>
743 <arg choice="req"><replaceable>NEEDLE</replaceable></arg>
748 Finds songs in the current playlist with strict
753 <varlistentry id="command_playlistid">
756 <command>playlistid</command>
757 <arg choice="req"><replaceable>SONGID</replaceable></arg>
762 Displays a list of songs in the playlist.
763 <varname>SONGID</varname> is optional and specifies a
764 single song to display info for.
768 <varlistentry id="command_playlistinfo">
771 <command>playlistinfo</command>
773 <arg><replaceable>SONGPOS</replaceable></arg>
774 <arg><replaceable>START:END</replaceable></arg>
780 Displays a list of all songs in the playlist, or if the optional
781 argument is given, displays information only for the song
782 <varname>SONGPOS</varname> or the range of songs
783 <varname>START:END</varname>
784 <footnoteref linkend="range_since_0_15"/>
788 <varlistentry id="command_playlistsearch">
791 <command>playlistsearch</command>
792 <arg choice="req"><replaceable>TAG</replaceable></arg>
793 <arg choice="req"><replaceable>NEEDLE</replaceable></arg>
798 Searches case-sensitively for partial matches in the
803 <varlistentry id="command_plchanges">
806 <command>plchanges</command>
807 <arg choice="req"><replaceable>VERSION</replaceable></arg>
812 Displays changed songs currently in the playlist since
813 <varname>VERSION</varname>.
816 To detect songs that were deleted at the end of the
817 playlist, use playlistlength returned by status command.
821 <varlistentry id="command_plchangesposid">
824 <command>plchangesposid</command>
825 <arg choice="req"><replaceable>VERSION</replaceable></arg>
830 Displays changed songs currently in the playlist since
831 <varname>VERSION</varname>. This function only
832 returns the position and the id of the changed song, not
833 the complete metadata. This is more bandwidth efficient.
836 To detect songs that were deleted at the end of the
837 playlist, use playlistlength returned by status command.
841 <varlistentry id="command_shuffle">
844 <command>shuffle</command>
845 <arg><replaceable>START:END</replaceable></arg>
850 Shuffles the current playlist.
851 <varname>START:END</varname> is optional and specifies
856 <varlistentry id="command_swap">
859 <command>swap</command>
860 <arg choice="req"><replaceable>SONG1</replaceable></arg>
861 <arg choice="req"><replaceable>SONG2</replaceable></arg>
866 Swaps the positions of <varname>SONG1</varname> and
867 <varname>SONG2</varname>.
871 <varlistentry id="command_swapid">
874 <command>swapid</command>
875 <arg choice="req"><replaceable>SONG1</replaceable></arg>
876 <arg choice="req"><replaceable>SONG2</replaceable></arg>
881 Swaps the positions of <varname>SONG1</varname> and
882 <varname>SONG2</varname> (both song ids).
890 <title>Stored playlists</title>
893 <varlistentry id="command_listplaylist">
896 <command>listplaylist</command>
897 <arg choice="req"><replaceable>NAME</replaceable></arg>
902 Lists the files in the playlist
903 <filename>NAME.m3u</filename>.
907 <varlistentry id="command_listplaylistinfo">
910 <command>listplaylistinfo</command>
911 <arg choice="req"><replaceable>NAME</replaceable></arg>
916 Lists songs in the playlist <filename>NAME.m3u</filename>.
920 <varlistentry id="command_listplaylists">
923 <command>listplaylists</command>
928 Prints a list of the playlist directory.
931 After each playlist name the server sends its last
932 modification time as attribute "Last-Modified" in ISO
933 8601 format. To avoid problems due to clock differences
934 between clients and the server, clients should not
935 compare this value with their local clock.
939 <varlistentry id="command_load">
942 <command>load</command>
943 <arg choice="req"><replaceable>NAME</replaceable></arg>
948 Loads the playlist <filename>NAME.m3u</filename> from
949 the playlist directory.
953 <varlistentry id="command_playlistadd">
956 <command>playlistadd</command>
957 <arg choice="req"><replaceable>NAME</replaceable></arg>
958 <arg choice="req"><replaceable>URI</replaceable></arg>
963 Adds <varname>URI</varname> to the playlist
964 <filename>NAME.m3u</filename>.
967 <filename>NAME.m3u</filename> will be created if it does
972 <varlistentry id="command_playlistclear">
975 <command>playlistclear</command>
976 <arg choice="req"><replaceable>NAME</replaceable></arg>
981 Clears the playlist <filename>NAME.m3u</filename>.
985 <varlistentry id="command_playlistdelete">
988 <command>playlistdelete</command>
989 <arg choice="req"><replaceable>NAME</replaceable></arg>
990 <arg choice="req"><replaceable>SONGPOS</replaceable></arg>
995 Deletes <varname>SONGPOS</varname> from the
996 playlist <filename>NAME.m3u</filename>.
1000 <varlistentry id="command_playlistmove">
1003 <command>playlistmove</command>
1004 <arg choice="req"><replaceable>NAME</replaceable></arg>
1005 <arg choice="req"><replaceable>SONGID</replaceable></arg>
1006 <arg choice="req"><replaceable>SONGPOS</replaceable></arg>
1011 Moves <varname>SONGID</varname> in the playlist
1012 <filename>NAME.m3u</filename> to the position
1013 <varname>SONGPOS</varname>.
1017 <varlistentry id="command_rename">
1020 <command>rename</command>
1021 <arg choice="req"><replaceable>NAME</replaceable></arg>
1022 <arg choice="req"><replaceable>NEW_NAME</replaceable></arg>
1027 Renames the playlist <filename>NAME.m3u</filename> to <filename>NEW_NAME.m3u</filename>.
1031 <varlistentry id="command_rm">
1034 <command>rm</command>
1035 <arg choice="req"><replaceable>NAME</replaceable></arg>
1040 Removes the playlist <filename>NAME.m3u</filename> from
1041 the playlist directory.
1045 <varlistentry id="command_save">
1048 <command>save</command>
1049 <arg choice="req"><replaceable>NAME</replaceable></arg>
1054 Saves the current playlist to
1055 <filename>NAME.m3u</filename> in the playlist directory.
1063 <title>The music database</title>
1066 <varlistentry id="command_count">
1069 <command>count</command>
1070 <arg choice="req"><replaceable>TAG</replaceable></arg>
1071 <arg choice="req"><replaceable>NEEDLE</replaceable></arg>
1076 Counts the number of songs and their total playtime in
1077 the db matching <varname>TAG</varname> exactly.
1081 <varlistentry id="command_find">
1084 <command>find</command>
1085 <arg choice="req"><replaceable>TYPE</replaceable></arg>
1086 <arg choice="req"><replaceable>WHAT</replaceable></arg>
1091 Finds songs in the db that are exactly
1092 <varname>WHAT</varname>. <varname>TYPE</varname> should
1093 be <parameter>album</parameter>,
1094 <parameter>artist</parameter>, or
1095 <parameter>title</parameter>. <varname>WHAT</varname>
1100 <varlistentry id="command_findadd">
1103 <command>findadd</command>
1104 <arg choice="req"><replaceable>TYPE</replaceable></arg>
1105 <arg choice="req"><replaceable>WHAT</replaceable></arg>
1110 Finds songs in the db that are exactly
1111 <varname>WHAT</varname> and adds them to current playlist.
1112 <varname>TYPE</varname> can be any tag supported by MPD.
1113 <varname>WHAT</varname> is what to find.
1117 <varlistentry id="command_list">
1120 <command>list</command>
1121 <arg choice="req"><replaceable>TYPE</replaceable></arg>
1122 <arg><replaceable>ARTIST</replaceable></arg>
1127 Lists all tags of the specified type.
1128 <varname>TYPE</varname> should be album or artist.
1131 <varname>ARTIST</varname> is an optional parameter when
1132 type is album, this specifies to list albums by an
1137 <varlistentry id="command_listall">
1140 <command>listall</command>
1141 <arg><replaceable>URI</replaceable></arg>
1146 Lists all songs and directories in
1147 <varname>URI</varname>.
1151 <varlistentry id="command_listallinfo">
1154 <command>listallinfo</command>
1155 <arg><replaceable>URI</replaceable></arg>
1160 Same as <command>listall</command>, except it also
1161 returns metadata info in the same format as
1162 <command>lsinfo</command>.
1166 <varlistentry id="command_lsinfo">
1169 <command>lsinfo</command>
1170 <arg><replaceable>URI</replaceable></arg>
1175 Lists the contents of the directory
1176 <varname>URI</varname>.
1179 When listing the root directory, this currently returns
1180 the list of stored playlists. This behavior is
1181 deprecated; use "listplaylists" instead.
1185 <varlistentry id="command_search">
1188 <command>search</command>
1189 <arg choice="req"><replaceable>TYPE</replaceable></arg>
1190 <arg choice="req"><replaceable>WHAT</replaceable></arg>
1195 Searches for any song that contains
1196 <varname>WHAT</varname>. <varname>TYPE</varname> can be
1197 <parameter>title</parameter>,
1198 <parameter>artist</parameter>,
1199 <parameter>album</parameter> or
1200 <parameter>filename</parameter>. Search is not case
1205 <varlistentry id="command_update">
1208 <command>update</command>
1209 <arg><replaceable>URI</replaceable></arg>
1214 Updates the music database.
1217 <varname>URI</varname> is a particular directory or
1218 song/file to update.
1221 Prints "updating_db: JOBID" where
1222 <varname>JOBID</varname> is the job id requested for
1223 your update, and is displayed in status, while the
1224 requested update is happening.
1227 To update a number of paths/songs at once, use
1228 command_list, it will be much more faster/efficient.
1229 Also, if you use a command_list for updating, only one
1230 <command>update</command> job id will be returned per
1231 sequence of updates.
1239 <title>Stickers</title>
1242 "Stickers"<footnoteref linkend="since_0_15"/> are pieces of
1243 information attached to existing MPD objects (e.g. song files,
1244 directories, albums). Clients can create arbitrary name/value
1245 pairs. MPD itself does not assume any special meaning in
1250 The goal is to allow clients to share additional (possibly
1251 dynamic) information about songs, which is neither stored on
1252 the client (not available to other clients), nor stored in the
1253 song files (MPD has no write access).
1257 Client developers should create a standard for common sticker
1258 names, to ensure interoperability.
1262 Objects which may have stickers are addressed by their object
1263 type ("song" for song objects) and their URI (the path within
1264 the database for songs).
1268 <varlistentry id="command_sticker_get">
1271 <command>sticker</command>
1272 <arg choice="plain">get</arg>
1273 <arg choice="req"><replaceable>TYPE</replaceable></arg>
1274 <arg choice="req"><replaceable>URI</replaceable></arg>
1275 <arg choice="req"><replaceable>NAME</replaceable></arg>
1280 Reads a sticker value for the specified object.
1284 <varlistentry id="command_sticker_set">
1287 <command>sticker</command>
1288 <arg choice="plain">set</arg>
1289 <arg choice="req"><replaceable>TYPE</replaceable></arg>
1290 <arg choice="req"><replaceable>URI</replaceable></arg>
1291 <arg choice="req"><replaceable>NAME</replaceable></arg>
1292 <arg choice="req"><replaceable>VALUE</replaceable></arg>
1297 Adds a sticker value to the specified object. If a
1298 sticker item with that name already exists, it is
1303 <varlistentry id="command_sticker_delete">
1306 <command>sticker</command>
1307 <arg choice="plain">delete</arg>
1308 <arg choice="req"><replaceable>TYPE</replaceable></arg>
1309 <arg choice="req"><replaceable>URI</replaceable></arg>
1310 <arg choice="opt"><replaceable>NAME</replaceable></arg>
1315 Deletes a sticker value from the specified object. If
1316 you do not specify a sticker name, all sticker values
1321 <varlistentry id="command_sticker_list">
1324 <command>sticker</command>
1325 <arg choice="plain">list</arg>
1326 <arg choice="req"><replaceable>TYPE</replaceable></arg>
1327 <arg choice="req"><replaceable>URI</replaceable></arg>
1332 Lists the stickers for the specified object.
1336 <varlistentry id="command_sticker_find">
1339 <command>sticker</command>
1340 <arg choice="plain">find</arg>
1341 <arg choice="req"><replaceable>TYPE</replaceable></arg>
1342 <arg choice="req"><replaceable>URI</replaceable></arg>
1343 <arg choice="req"><replaceable>NAME</replaceable></arg>
1348 Searches the sticker database for stickers with the
1349 specified name, below the specified directory (URI).
1350 For each matching song, it prints the URI and that one
1359 <title>Connection settings</title>
1362 <varlistentry id="command_close">
1365 <command>close</command>
1370 Closes the connection to MPD.
1374 <varlistentry id="command_kill">
1377 <command>kill</command>
1386 <varlistentry id="command_password">
1389 <command>password</command>
1390 <arg choice="req"><replaceable>PASSWORD</replaceable></arg>
1395 This is used for authentication with the server.
1396 <varname>PASSWORD</varname> is simply the plaintext
1401 <varlistentry id="command_ping">
1404 <command>ping</command>
1409 Does nothing but return "OK".
1417 <title>Audio output devices</title>
1420 <varlistentry id="command_disableoutput">
1423 <command>disableoutput</command>
1428 Turns an output off.
1432 <varlistentry id="command_enableoutput">
1435 <command>enableoutput</command>
1444 <varlistentry id="command_outputs">
1447 <command>outputs</command>
1452 Shows information about all outputs.
1460 <title>Reflection</title>
1463 <varlistentry id="command_commands">
1466 <command>commands</command>
1471 Shows which commands the current user has access to.
1475 <varlistentry id="command_notcommands">
1478 <command>notcommands</command>
1483 Shows which commands the current user does not have
1488 <varlistentry id="command_tagtypes">
1491 <command>tagtypes</command>
1496 Shows a list of available song metadata.
1500 <varlistentry id="command_urlhandlers">
1503 <command>urlhandlers</command>
1508 Gets a list of available URL handlers.