25-Apr-2020, 08:25 AM
(24-Apr-2020, 10:32 AM)agent_kith Wrote: [ -> ](24-Apr-2020, 09:17 AM)koko6969koki Wrote: [ -> ]How can I make edits to mpd.conf permanent?For now, you have to modify the mpd.conf.template file under /var/www/players/<MPD_Version>. Then save and restart the players will work.
Thanks!
I have tried it but I did run into problems.
I have added the required lines at the end of mpd.conf.template and saved the file.
It looked like this:
Alas, after the MPD restart, the control apps couldn't connect to it.
Here are the messages that myMPD and MPDroid returned:
After I removed the input cache lines from the configuration file everything was working as normal.
I have repeated the procedure couple of times more (I have tried different buffer sizes, I have tried to type everything by hand instead of copy&paste from the MPD web page, etc),
but with no luck.
At some point MPD refused to start regardless of the input cache lines being present or not, like the mpd.conf.template file somehow got corrupted.
The only solution was to completely erase its content and to manually enter the required lines.
I have copied them from the mpd.conf.template file for MPD v20, and changed the specific parameters to v21.
This is how the new mpd.conf.template looks now:
Since I don't give up so easily , I have tried to add the input cache setting lines again,
hoping that with the new file things will miraculously start working,
but the MPD still would not connect, so I had to finally give up and erase them.
Was I doing something wrong?
...Or is there some bug or incompatibility with the MPD version I have?
I have noticed that this setting is from the help for the version 0.21.22, and in my Snakeoil installation I have the version 0.21.16.
One more thing - since I'm not sure that my new and improvised v21 mpd.conf.template is 100% OK, can you send me the original one?