HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

mpc — Music Player Client: control the Music Player Daemon (MPD). See also: `mpd`, `ncmpcpp`, `cmus`. More

Submitted by: @import:tldr-pages··
0
Viewed 0 times
themusiccommandclientclicontrolmpcplayer

Problem

How to use the mpc command: Music Player Client: control the Music Player Daemon (MPD). See also: mpd, ncmpcpp, cmus. More information: <https://www.musicpd.org/doc/mpc/html/>.

Solution

mpc — Music Player Client: control the Music Player Daemon (MPD). See also: mpd, ncmpcpp, cmus. More information: <https://www.musicpd.org/doc/mpc/html/>.

Toggle play/pause:
mpc toggle


Stop playing:
mpc stop


Show information about the currently playing song:
mpc status


Play the next song:
mpc next


Play the previous song:
mpc prev


Seek n seconds forward (+) or backward (-):
mpc {{+n|-n}}

Code Snippets

Toggle play/pause

mpc toggle

Stop playing

mpc stop

Show information about the currently playing song

mpc status

Play the next song

mpc next

Play the previous song

mpc prev

Context

tldr-pages: common/mpc

Revisions (0)

No revisions yet.