joda2
February 18, 2015, 9:38am
1
dakku:
“Why the hell we update the mpd?! The volumio-mpd runs very well.”
Answer: There have been 8-9 major releases since the version used in Volumio (0.7.14 ??) - a number of things have been improved and fixed, see this changelog . You’ll know linux a little bit better than before too.
Some quick notes on how I upgraded MPD version to 0.18.9… (thanks Melomane for additional writeup)
set the correct timezone if necessary:
sudo raspi-config
After reboot check date:
date
So 16. Feb 20:11:22 CET 2014
Ok, all good, lets proceed…
Stop MPD
/etc/init.d/mpd stop
Make a temp dir in /root/temp
cd /root
mkdir temp
cd temp
Download the latest MPD Source code from musicpd.org/download/mpd/stable/
wget http://www.musicpd.org/download/mpd/stable/mpd-0.18.9.tar.xz
tar xvJf mpd-0.18.9.tar.xz
cd mpd-0.18.9
Install the tools to compile
apt-get update
apt-get install build-essential gcc automake1.9 libtool flex bison gdb
Compile from Source
sh autogen.sh
./configure
make
make install
WAIT… WAIT…WAIT…
Cut some fat and save some space
strip /usr/local/bin/mpd
Cleanup old version of MPD and Symlink the new one
mv /usr/bin/mpd /usr/bin/mpd_old
ln -s /usr/local/bin/mpd /usr/bin/mpd
Alternatively, instead of symlink, edit the start script and point to new MPD
nano /etc/init.d/mpd
Find and change this line as below
DAEMON=/usr/local/bin/mpd
Restart MPD
/etc/init.d/mpd start
Confirm if its the latest version (If all went well above)
root@volumio:~/temp# mpd -V
Music Player Daemon 0.18.8
Cleanup (optional)
cd ~
rm -rf /root/temp
reboot
Congrats
sources: a | b
dakku wrote this here: https://volumio.org/forum/tutorial-update-mpd-version-t642.html (thx for the tutorial )
You can also use this Tutorial to upgrade MPD to 0.19.1 (change 0.18.9 to 0.19.1)
manmax
April 13, 2015, 4:51pm
2
on a fresh install, need ton install packages libboost-dev and libicu-dev othrwise it fails
Rasberry Pi2 and HifiBerry DAC+
I have updated mpd (and the rest of the distro) via the standard tooling apt-get method
to “Music Player Daemon 0.19.1”.
Strangely enough the new amixer does not respond anymore to mixer_control “Playback Digital”.
Unfortunately the WEBGui of volumio 1.55 sets mixer_control to this particular value
in the config file of mpd each time a restart of mpd is needed.
One temporary solution is to manually edit the corresponding line in /etc/mpd.conf to read:
mixer_control “Digital”
in order to reenable hardware volume control again.
May be somebody knows where the WebGUI gets the string “Playback Digital” from?