Closed doctorfree closed 2 years ago
Working thus far are modifications to mppinit
to preserve an existing system-wide MPD configuration for music_directory
in /etc/mpd.conf
. Also, if there is an existing ~/.config/mpd/mpd.conf
then that is preserved unless the user specifies overwrite
during mppinit
.
Some of the configuration options in /etc/mpd.conf
are not appropriate for a user-level systemd MPD service. Some would require permissions to write in somewhere like /var/lib/mpd
while others like user
and group
cannot be set in the user-level service. I am still researching how and if to preserve other options if they have been customized.
The MPD inputs, outputs, decoders, plugins, etc are all much more difficult to preserve. I have a ways to go with these.
For now, preservation of, the music_directory
is working and can serve as a guide for some of the other options.
For the v2.0.1r3 release only music_directory
is preserved if there is a pre-existing active or enabled MPD. Closing.
If the Music Player Daemon (MPD) configuration has been previously customized, preserve user MPD settings where possible.