MPD

Music player deamon.

Setup

Install the required software:

sudo aura -S mpd ncmpcpp mpdscribble
sudo aura -Aa mpd-mpris

Set up the required files. See my dotfiles for mpd/ncmpcpp here.

touch ~/.config/mpd/{database,log,pid,state,sticker.sql}

Configure mpdscribble (~/.mpdscribble/mpdscribble.conf) with your last.fm credentials:

username = LAST_FM_USERNAME
password = LAST_FM_PASSWORD

Start the services (use enable to run them at boot)

systemctl --user start mpd mpdscribble mpd-mpris

Playerctl

Playerctl is a CLI controller for a number of music players. I have some keybindings in i3 to interact with this.

sudo aura -S playerctl

Ensure that the mpd-mpris.service is running and check available players with playerctl -l. If anything is returned it should work.

Links


Content properties

  • Type: Note
  • Category: Software
  • Tags: music, productivity
  • Custom slug: None

This is a preview of a simpler page design that I'm working on over the next little bit. I've finally added a (click it!) but there's still a few pages left to be converted so don't worry if things don't look quite right just yet 🙏

Content on blog pages use the CC-BY-SA license. The source code and notes use the MIT license. Unsure? Mention me on Mastodon.