28 lip 2019 | tags: cui,
ncmccp is a golden combination for reliable music with hot
plugged USB storage. Here I'll describe how I've configure my setup.
I had some problems with permissions to music directory with seperate global
mpd user. I solved these with local user mpd sesstion:
mpd.service on the startup:
$ sudo systemctl disable mpd.service
Autostart mpd. If you're using some kind of Desktop Enviroment it could be
.xinitrc (or DE specific configuration), otherwise use
Simply add the following line to config file:
PulseAudio, local user workaround
If pulse audio doesn't you can try using this workaround.
To allow hot-plugging of the USB storage I'm using
Get USB's UUID:
$ sudo blkid /dev/sdb1 [sudo] password for cmd: /dev/sdb1: LABEL="Music" UUID="5ec3ea09-fd96-4168-93d0-871bc0bfa039" UUID_SUB="a479a36c-e5e6-4986-86ec-0a9be9e8d820" TYPE="btrfs" PARTUUID="7e6fd15e-01"
/etc/fstab. Please notice that there should be empty line at the end
UUID="5ec3ea09-fd96-4168-93d0-871bc0bfa039" /YOUR/MOUNT/POINT auto rw,user,auto 0 0