GioF71 / mpd-alsa-docker

Easily run mpd with Alsa or PulseAudio output with Docker. Upsampling 2x 4x 8x with "Goldilocks" settings by Archimago. Scrobbling support.
Apache License 2.0
20 stars 7 forks source link

[Enhancement] Support running in user mode #370

Closed GioF71 closed 9 months ago

GioF71 commented 9 months ago

A few changes are needed. There should be no writing on root-owned folders like /db and /log unless we verify they are writable. If they are not we use /tmp/db and /tmp/log. The mpd.conf file is always generated in /tmp/mpd.conf since a few releases already. If you want to mount /db and /log, make sure they exist and they are writable because in user mode, the run script cannot set permissions for you.