Music library
Play your music archive
Pia uses the excellent music server mpd to play your music and Internet radio stations. We hope you will enjoy mpd even outside of Pia.
Install mpd:
# apt install mpd mpc
Configure the directory where your music files are.
If your music library is on the local disk:
mpc mount local /path/to/music/
If your music library is on a USB stick:
mpc mount mystick udisks://by-uuid-2F2B-D136
If your music library is on a Samba file server:
mpc mount myserver smb://myserver/music/
If your music library is on an NFS file server:
mpc mount myserver nfs://myserver/music/
Alternatively:
Edit
/etc/mpd.conf
Change
music_directory
to the directory where your music files are.Restart the mpd server:
# systemctl restart mpd.service
(Skip this unless you hear no music.) Configure the sound output via PulseAudio and the right sound device.
It may already be correct by default, depending on your Linux distribution and setup. If not:
Find the right audio device:
$ pacmd list-sinks | grep "name:"
Edit
/etc/mpd.conf
Restart the mpd server:
# systemctl restart mpd.service
Activate the new config
Enable at boot:
# systemctl enable mpd.service
Scan your music library:
mpc update --wait
Test it with some native mpd clients.
# apt install gmpc
$ mpc status
Start menu | Multimedia | GNOME Music Player Client
You can also control playback with your smartphone by using the mpdroid client (APK via F-Droid, or Google Play Store).
Once that works, ...
Try some voice commands for calendar
Last updated