A Plasma 6 widget to control the Music Player Daemon (MPD).
- Display current song title and artist.
- Control playback (play/pause, next, previous).
- Display album art.
- Seek through the current song.
To build and run this plasmoid, you will need:
- Plasma 6 Desktop
- Music Player Daemon (MPD)
- CMake (>= 3.16)
- Qt6 (Core, Gui, Qml, Quick modules)
- Plasma Framework
- Extra CMake Modules (ECM >= 1.4.0)
- libmpdclient
Follow these steps to build and install the MPD Plasmoid:
-
Clone the repository:
git clone https://github.com/jiriki/mpd-plasmoid.git cd mpd-plasmoid -
Create a build directory and configure CMake:
mkdir build cd build cmake ..Note: Adjust
CMAKE_INSTALL_PREFIXif you want to install it to a different location (e.g.,~/.local). -
Build the plasmoid:
make
-
Install the plasmoid:
sudo make install
Note: You might need to log out and back in, or restart Plasma Shell (
plasmashell --replace &), for the new plasmoid to appear.
- Ensure your Music Player Daemon (MPD) is running and accessible.
- Add the "MPD Plasmoid" to your Plasma desktop or panel like any other widget. Right-click on your desktop/panel, choose "Add Widgets...", and search for "MPD".
- The widget should automatically connect to your local MPD instance. If you have a custom MPD host or port, you might need to configure it through the widget's settings (if available).