MPD

Is there a way to download and install the latest version of MPD and get it to work with Volumio?
My version is 0.20.6 and the latest on musicpd.org/ is 0.21.3, I would like to try with a later MPD and see if that fixes some of the problem I’m having.

/Kallesprätt

I am eager to get help in updating MPD too
Is it even possible?

Yes, you can compile new versions of mpd. However, you’re doing at your own responsability :wink:

See here the build script that we use:
github.com/volumio/volumio-mpd/tree/0.20.21

Launch buildscript.sh and you’ll be set

ofcourse our own responsability !!

Downloaded 0.20.21 and launched buildscript.sh
After finish and rebooting, mpd is still at 20.6?

This script will result in a deb file which you need to install :wink:

Haha, stupid me :laughing: offcourse

Working properly
Can I update to 0.21 as Well?

Yep, see the branches in the repo for the specific mpd version

Cool, thanks : :wink:

installing 0.21 fails @ make

In file included from /usr/include/libroar/libroar.h:153:0,
from /usr/include/roaraudio.h:133,
from /usr/include/libroarsndio/libroarsndio.h:52,
from /usr/include/sndio.h:9,
from src/output/plugins/SndioOutputPlugin.cxx:27:
/usr/include/libroar/services.h:128:8: error: expected unqualified-id before ‘new’
int (*new)(const struct roar_audio_info * info, int dir, int parent, int mixer);
^
/usr/include/libroar/services.h:128:8: error: expected ‘)’ before ‘new’
Makefile:12030: recipe for target ‘src/output/plugins/liboutput_plugins_a-SndioOutputPlugin.o’ failed
make[1]: *** [src/output/plugins/liboutput_plugins_a-SndioOutputPlugin.o] Error 1
make[1]: Leaving directory ‘/temp/volumio-mpd-0.21’
Makefile:4647: recipe for target ‘all’ failed
make: *** [all] Error 2

I’ve not been able to solve this and official mpd versions are not installable
(Require Python 3.5, Meson, GCC 6, etc. “Jessie” is outdated)

When will Volumio be build on newer Debian version?

Disable roar and try again.

As for stretch we’re working on it since quite some time. Half of next year is a reasonable estimate

I tried
sudo systemctl disable roar
sudo systemctl disable libroar

But same error in make-stage

I did something wrong?

No, you need to disable roar in the mpd compilation recipe.

See: github.com/volumio/volumio-mpd/ … rules#L104

add disable to it. Also, remove roar from dependencies found in:
github.com/volumio/volumio-mpd/ … ontrol#L42

Ah, ok
Roger that
(Learning more and more)

Edit: no folder ‘debian’ in 0.21 build, nor rules or sources