Music Player Command

From LinuxReviews
Jump to navigationJump to search

Music Player Command (MPC) is a simple command-line program for controlling the Music Player Daemon audio player. It is a command-line utility, not an application. It's used to send MPD simple commands like add that file, play, stop playing and similar commands.

MPC allows you to do a lot of the GUI front-ends can do: Add files to the playlist, play, pause, switch song, etc.

Features and usability[edit]

If you are not familiar with the Music Player Daemon: It is a system service which manages and plays music. It is typically managed with a graphical program like Cantata but it can be fully controlled with the command-line utility mpc too. However, doing so is not very practical. At all.

MPC may also be a preferred choice for controlling MPD if you think X11 and this whole GUI trend to be a over-rated momentarily passing fad which is bound to go away eventually. For everyone else it's just simpler to use a graphical program for day-to-day playlist management.

The use-case for MPC[edit]

MPC can be used in scripts and things like that. You can assign keyboard shorts to run MPC commands using your favorite desktop environments standard way of assigning keyboard shortcuts. It can also be used to start and stop music playback using systemd timers or cron jobs - which would enable you to use MPD as an alarm-clock.

Links[edit]

mpc is hosted on the music player daemon website in the folder www.musicpd.org/clients/mpc/.

You can read the manual mpc page here.


Add your comment
LinuxReviews welcomes all comments. If you do not want to be anonymous, register or log in. It is free.

Alternatives[edit]

Stand-alone music players:

Program rating framework music collection database
Audacious Yeonjung-happy.jpgYeonjung-happy.jpgYeonjung-happy.jpgYeonjung-happy.jpgYeonjung-happy.jpg Qt5 or GTK2 Dialog-cancel.svg
DeaDBeeF Hyuna-approves.jpgHyuna-approves.jpgHyuna-approves.jpgHyuna-approves.jpg GTK Dialog-cancel.svg
Elisa Hyuna-approves.jpgHyuna-approves.jpgHyuna-approves.jpgHyuna-approves.jpg Qt/KDE Dialog-ok.svg
Exaile Sad hyemi2.jpgSad hyemi2.jpg GTK Dialog-ok.svg
GNOME Music Frustrated stallman cropped.jpg GTK/GNOME Dialog-ok.svg
Strawberry Yeonjung-happy.jpgYeonjung-happy.jpgYeonjung-happy.jpgYeonjung-happy.jpgYeonjung-happy.jpg Qt Dialog-ok.svg
qmmp Yeonjung-happy.jpgYeonjung-happy.jpgYeonjung-happy.jpgYeonjung-happy.jpgYeonjung-happy.jpg Qt Dialog-cancel.svg

discontinued / abandoned / bankrupt & finished: Clementine | Amarok

Music Player Daemon clients:
mpd is a database-oriented music player daemon which can be controlled by numerous front-end programs.

Program rating framework type
Cantata Yeonjung-happy.jpgYeonjung-happy.jpgYeonjung-happy.jpgYeonjung-happy.jpgYeonjung-happy.jpg Qt X11
GMPC Hyuna-approves.jpgHyuna-approves.jpgHyuna-approves.jpgHyuna-approves.jpg GTK X11
mpc Frustrated stallman cropped.jpg Command-line terminal
ncmpc Kim.Se-jeong.confused.jpgKim.Se-jeong.confused.jpgKim.Se-jeong.confused.jpg ncurses terminal
xfmpc Sad hyemi2.jpgSad hyemi2.jpg GTK/Xfce X11

discontinued / abandoned / bankrupt & finished: Sonata | KMP | Glurp