Queue
mpc add <path>
Add a file or folder from the library
mpc add /
Add the whole library
mpc insert <path>
Add right after the current song
mpc clear
Empty the queue
mpc playlist
List the queue
mpc del <pos>
Remove a queue position
Position 0 removes the current song
mpc crop
Keep only the current song
mpc move <from> <to>
Move a song within the queue
mpc shuffle
Shuffle the queue once
mpc searchplay <type> <text>
Play the first queue match
mpc --format "%position% %title%" playlist
List queue with a custom format
Playlists
mpc lsplaylists
List stored playlists
mpc load <name>
Append a playlist to the queue
mpc load <name> --range=0:10
Load only part of a playlist
mpc save <name>
Save the queue as a playlist
mpc playlist <name>
List the songs of a playlist
mpc rm <name>
Delete a stored playlist
mpc addplaylist <name> <path>
Add a song to a playlist
mpc delplaylist <name> <pos>
Remove a song from a playlist
mpc moveplaylist <name> <from> <to>
Reorder a playlist
mpc renplaylist <name> <new>
Rename a playlist
mpc clearplaylist <name>
Empty a playlist
Library and Search
mpc search <type> <text>
Find songs by substring
Types: artist, album, title, genre, date, composer, filename,
any
mpc find <type> <text>
Find songs by exact match
mpc findadd <type> <text>
Find exact matches and queue them
mpc search artist <a> album <b>
Combine several conditions
mpc ls [<dir>]
List a library folder
mpc listall [<path>]
List every song
mpc list <type>
List all values of a tag
mpc list album group artist
Albums grouped by artist
mpc update [<path>]
Rescan for new or changed files
mpc update --wait
Rescan and wait until done
mpc rescan [<path>]
Rescan including unchanged files
mpc stats
Show database statistics
mpc status
Show state, volume and modes
mpc status "%state%
%currenttime%/%totaltime%"
Custom status line
Handy for status bars; tags include percenttime, volume,
songpos
mpc -f "%artist% - %title%" current
Custom song format
mpc -f "[%artist% - ]%title%" current
Hide a group when its tag is empty
mpc idle [<event>]
Wait for an MPD event
Events include player, mixer, playlist, database, options
mpc idleloop
Print every event as it happens
mpc -q <cmd>
Suppress the status line
mpc albumart <path> > <file>
Save album art to a file