Skip to content

MPD status command line

Micz Flor edited this page Jan 28, 2019 · 1 revision

This is a collection of command line solutions to get the status of the MPD (music player daemon). They need more commenting. Please add if you find anything in the code or in the wild...

Here the rough list and where they were taken from:

htdocs/ajax.loadMPDStatus.php

systemctl status mpd |grep 'Active: '|sed 's/Active: //g'

htdocs/inc.playerStatus.php

Get status and current track details.

echo 'status\ncurrentsong\nclose' | nc -w 1 localhost 6600 

File names of all tracks in the loaded playlist.

echo 'playlistinfo\nclose' | nc -w 1 localhost 6600 

Home

πŸ”₯ Version 3

Version 3 Pages

Nothing yet

🎢 Version 2

Version 2 Pages

Installation

Specials

RFID Reader

Sound card configurations

Hardware Buttons

Displays (LED, LCD, Matrix, etc.)

Hacks

Bluetooth

AirPlay

MPD tricks

For Developers

Clone this wiki locally