MPC(1) mpc MPC(1) (NAME) mpc - mpc (DESCRIPTION) mpc (MPD) . MPD . ( "mpc status"). (SYNOPSIS) mpc [options] [--] [] -- . (OPTIONS) -f, --format . : +---------------+-----------------------------------+ | | | +---------------+-----------------------------------+ |%name% | | | | . | | | | | | . | | | | | | | | | | | | . | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | . | +---------------+-----------------------------------+ |%artist% | | | | | +---------------+-----------------------------------+ |%album% | | | | | +---------------+-----------------------------------+ |%albumartist% | | | | | | | | +---------------+-----------------------------------+ |%comment% | | | | | | | ( | | | | | | metadata_to_use | | | mpd.conf | | | ) | +---------------+-----------------------------------+ |%composer% | | | | | | | | +---------------+-----------------------------------+ |%date% | | | | | +---------------+-----------------------------------+ |%originaldate% | | | | | +---------------+-----------------------------------+ |%disc% | | | | | +---------------+-----------------------------------+ |%genre% | | | | | +---------------+-----------------------------------+ |%performer% | | | | | | | | +---------------+-----------------------------------+ |%title% | | | | | +---------------+-----------------------------------+ |%track% | | | | | +---------------+-----------------------------------+ |%time% | | | | | +---------------+-----------------------------------+ |%file% | | | | | | | music_directory | | | MPD | +---------------+-----------------------------------+ |%position% | | | | | +---------------+-----------------------------------+ |%id% | | | | | +---------------+-----------------------------------+ |%prio% | | | | (). | +---------------+-----------------------------------+ |%mtime% | | | | | | | | +---------------+-----------------------------------+ |%mdate% | | | | | +---------------+-----------------------------------+ |%audioformat% | | | | . | +---------------+-----------------------------------+ [] [ ] [ ] . & | <<>> (and) <<>> (or) . # (escape) . : "%file%" "[[%artist% - ]%title%]|[%file%]". : +---+---------------------------+ |\ | | +---+---------------------------+ |\[ | | | | ( | | | ) | +---+---------------------------+ |\] | | | | ( | | | ) | +---+---------------------------+ |\a | | | | (alert) | +---+---------------------------+ |\b | | | | (backspace) | +---+---------------------------+ |\e | (escape) | +---+---------------------------+ |\t | (tab) | +---+---------------------------+ |\n | | | | (newline) | +---+---------------------------+ |\v | | | | (vertical tab) | +---+---------------------------+ |\f | | | | (form-feed) | +---+---------------------------+ |\r | | | | | | | (carriage | | | return) | +---+---------------------------+ MPC_FORMAT . --wait ( ). --range=[START]:[END] ( ). START END ( ). START END . . --with-prio . -q, --quiet, --no-status . --verbose ( ). --host=HOST MPD . IPv4/IPv6 ( ) @ ( ). "password@host" . MPD_HOST . --port=PORT, -p PORT TCP MPD . MPD_PORT . --partition=PARTITION, -a PARTITION MPD . . (COMMANDS) ( insert ins). (Player Commands) consume - consume (on off) . crossfade [] - crossfade (0 crossfade ). current [--wait] - . --wait mpc ( / ) . queued - . mixrampdb [] - MixRamp . crossfade () . -50.0 0.0 . audio_buffer_size MPD . mixrampdelay [] - MixRamp . ( MixRamp crossfade ). next - . pause - (). play - . . prev - . random - (random) (on off) . repeat - (repeat) (on off) . replaygain [] - replay gain. replay gain . single - (single) (on once off) . once off . seek [+-][] or <[+-]<0-100>%> - . . + - . . seekthrough [+-][] - . seek . + . - . . stop - . toggle - (pause). . ( play ). add - . (pipes) . "mpc add /" . insert - insert add () . (random) . clear - . crop - . del - . (0 ). mv, move - . searchplay [ ]... - . shuffle - ( ). (Playlist Commands) load - . --range . lsplaylists: - . playlist [] - . . rm - . save - . addplaylist - . . . delplaylist - . . moveplaylist - . renplaylist - . clearplaylist - ( playlist.m3u ). (Database Commands) listall [] - . file . ls [] - / directory . directory . lsdirs [] - directory . directory . search [ ]... - . . : artist album title track name genre date composer performer comment disc filename any ( ). search - : mpc search '((artist == "Kraftwerk") AND (title == "Metall auf Metall"))' MPD . find findadd . ( libmpdclient 2.16 MPD 0.21) find [ ]... - search query . findadd [ ]... - find . list [ ]... [group ]... - type . type/query search . . : mpc list album group artist stats - MPD . update [--wait] [] - . path ( ) . --wait mpc MPD . rescan [--wait] [] - update . albumart - stdout. readpicture - stdout. (Mount Commands) mount - . mount - : (mount) . : mpc mount server nfs://10.0.0.5/mp3 mpc mount stick udisks://by-id-ata-FOO-part2 unmount - . listneighbors - "" ( ). mpd.conf . : $ mpc listneighbors upnp://uuid:01234567-89ab-cdef-0123-456789abcdef/urn:schemas-upnp-org:service:ContentDirectory:1 udisks://by-id-dm-name-_dev_sdb3 udisks://by-id-ata-FOO-part2 (Sticker Commands) sticker . sticker set - . sticker get - . sticker list - . sticker delete - . sticker find - . (Output Commands) volume [+-] - (0-100). + - . outputs - disable [only] [...] - () . only . enable [only] [...] - () . only . toggleoutput [...] - () . moveoutput - ( --partition ). (Partition Commands) partitions - makepart [...] - delpart [...] - (Client-to-client Commands) channels - . sendmessage - . waitmessage - . subscribe - . (Other Commands) idle [events] - . . MPD . . idleloop [events] - idle "idle" . . status [format] - "mpc" . . '-f' +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ | | | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ |%totaltime% | | | | . | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ |%currenttime% | | | | | | | | | | . | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ |%percenttime% | | | | | | | . | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ |%songpos% | | | | | | | . | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ |%length% | | | | | | | | | | | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ |%state% | | | | 'playing' 'paused' | | | 'stopped' | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ |%volume% | | | | | | | | | | | | | | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ |%random% | | | | : | | | 'on' 'off' | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ |%repeat% | | | | : 'on' | | | 'off' | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ |%single% | | | | : 'on' | | | 'once' 'off' | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ |%consume% | | | | : 'on' | | | 'off' | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ |%kbitrate% | | | | kbps. | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ |%audioformat% | MPD | | | | | | | | | | | | 'samplerate:bits:channels'. | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ |%samplerate% | | | | | | | | | | | | | | | | MPD. | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ |%bits% | | | | | | | | | | | | | | | | | | | MPD. | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ |%channels% | | | | | | | | | | | | | MPD. | | | | |version - . | | | | | |168u | | |" (ENVIRONMENT VARIABLES)" | | | . | | |0.0 | | | | | |MPC_FORMAT | | | . | | |--format . | | | | | |168u | | |0.0 | | | | | |MPD_HOST | | | MPD . --host . | | | | | |168u | | |0.0 | | | | | |MPD_PORT | | | TCP MPD . | | |--port . | | | | | |168u | | |" (BUGS)" | | | | | | MPD UTF-8 mpc (charset) . mpc (locale) . LC_CTYPE LANG LC_ALL (LC_CTYPE ). | | |" (SEE ALSO)" | | |mpd(1) | | |" (AUTHORS)" | | |: | | |" (AUTHORS)" | | |Max Kellermann | | |" (COPYRIGHT)" | | | 2003-2021 The Music Player Daemon Project | | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+ 0.35 April 9, 2026 MPC(1)