MPC(oh) LOCAL MPC(oh) mpc - mpd command line client USAGE mpc [COMMAND] format Format to display songs in playlist: ENV | MPC_FORMAT | MPC_FORMAT="%position% - %file%" command line | | mpc -f "%position% - %file%" playlist queue control toggle , next , prev , clear , shuffle playing modes random , single , repeat , consume commands playlist | | display queue. lsplaylist | | display available playlists. update | [MPD_DIR] | update database, if directory is given, only that directory will be updated. vol | [+-]N | mpc vol +10 | mpc vol 50. save | PLAYLIST | save playlist. load | PLAYLIST | load playlist. rm | PLAYLIST | remove playlist. seek | [+-]N | seek position in song, eg.: seek -20. del | QUEUE_ID | delete song in given position, if position is 0, delete the current song. search | TYPE QUERY | search song in database, eg.: search filename "SEARCH_TERM". searchplay | TYPE QUERY | play song in queue matching the query, eg.: searchplay filename "SEARCH TERM". add | FILEPATH | add file to the end of the queue (can read input from pipes). insert | FILEPATH | add file to the queue after the current song (can read input from pipes). outputs | | display available outputs. disable | OUTPUT_ID | disable output. enable | OUTPUT_ID | enable output. Examples mpc search filename "SEARCH" | mpc add mpc search filename "SEARCH" | mpc insert SEE ALSO mpd(oh) - Archlinux manpages: mpc(1) links - mpc: https://www.musicpd.org/clients/mpc/ AUTHORS ohazot(oh) | about(oh) | ohazot.com: https://ohazot.com linux , OpenBSD 7.8 | Created:2026-03-23|Updated:2026-03-23| MPC(oh)