Volumio.

A DIY digital music streamer with exceptional performance

Moderator: Staff

Sopper
Very active member
Very active member
Posts: 430
Joined: 2017-05-16 14:50
Location: The Netherlands

Re: Volumio.

Post by Sopper »

flojo wrote: 2018-11-15 22:27 Hi Sopper, thanks for the guidance. For my understanding: is this write down meant for solving issues on IoS devices running Kazoo? I downgraded from the July release to this April release applying your manual, but no luck with Kazoo on my iPad so far.
What happens in Kazoo? PM me details and I’ll guide you.
When crash happens or something similar, go to putty and read the output of:
systemctl -l status upmpdcli
KÄLLA > Sagatun Mono 1.7 > Tundra Mono 3.0 > Graham LS8/1F
Cables: Trivium Audio Cables
jewa
Active Member
Active Member
Posts: 89
Joined: 2007-01-31 18:57

Re: Volumio.

Post by jewa »

I always found myself having to delete the Kazoo-app and installing it again, both on iOS and desktop. Works like a charm for me now, more than happy.
Paaf
Very active member
Very active member
Posts: 254
Joined: 2012-02-22 18:21
Location: Stockholm

Re: Volumio.

Post by Paaf »

I also get the hangups. Since I start/stop/skip etc all the time, especially now while evaluating HAKAI, I constantly get stuck.

Sopper, I know that your guide is not written for the latest Volumio version but I tried anyway.

Beware that the two URL:s in step 10 seems to be contracted, at least in my web browser. The URL:s are shown without contraction when I hover the mouse over it, so I used those instead.

EDIT: I got stuck on step 10, but after using "sudo apt-get install upmpdcli" instead, it installed.

EDIT2: So far it seems to play without constant hangups when I switch tracks! On the other hand, it now refuses to play one 24-bit track which it played just fine before. lol

EDIT3: Now it plays the 24-bit track without any change in the system!
Sopper
Very active member
Very active member
Posts: 430
Joined: 2017-05-16 14:50
Location: The Netherlands

Re: Volumio.

Post by Sopper »

Paaf wrote: 2018-11-16 15:50 I also get the hangups. Since I start/stop/skip etc all the time, especially now while evaluating HAKAI, I constantly get stuck.

Sopper, I know that your guide is not written for the latest Volumio version but I tried anyway.

Beware that the two URL:s in step 10 seems to be contracted, at least in my web browser. The URL:s are shown without contraction when I hover the mouse over it, so I used those instead.

EDIT: I got stuck on step 10, but after using "sudo apt-get install upmpdcli" instead, it installed.

EDIT2: So far it seems to play without constant hangups when I switch tracks! On the other hand, it now refuses to play one 24-bit track which it played just fine before. lol

EDIT3: Now it plays the 24-bit track without any change in the system!
The 2 urls in step 10 are not meant to be urls, but the forum makes them url. Just copy the complete lines into the upmpdcli.list

If you dont add those lines in upmpdcli.list then you will just reinstall the upmpdcli version build in the package, which is not the latest. You can check that with command: —version upmpdcli (2 times -, it’s showing one long — here in forum)

Glad you got it working!
KÄLLA > Sagatun Mono 1.7 > Tundra Mono 3.0 > Graham LS8/1F
Cables: Trivium Audio Cables
Paaf
Very active member
Very active member
Posts: 254
Joined: 2012-02-22 18:21
Location: Stockholm

Re: Volumio.

Post by Paaf »

It behaves MUCH better after those steps! For instance, I can do basic stuff like play a new song, jump between songs etc. PHEW! :-D Thank you!

Do you also have a weirdness that with some songs in the playlist and you click STOP, the playlist becomes empty? (Same if it plays to the end of the playlist.)
Sopper
Very active member
Very active member
Posts: 430
Joined: 2017-05-16 14:50
Location: The Netherlands

Re: Volumio.

Post by Sopper »

Paaf wrote: 2018-11-16 19:01 It behaves MUCH better after those steps! For instance, I can do basic stuff like play a new song, jump between songs etc. PHEW! :-D Thank you!

Do you also have a weirdness that with some songs in the playlist and you click STOP, the playlist becomes empty? (Same if it plays to the end of the playlist.)
If the playlist gets emptied, that’s a sign of MPD crashing.
You can see that in putty: systemctl -l status mpd
You’ll see it crashed and restarted

Not sure what causes it, unfortunately
I’m happy most of the problems are gone and it gives much much much more joy to use HAKAI now.
KÄLLA > Sagatun Mono 1.7 > Tundra Mono 3.0 > Graham LS8/1F
Cables: Trivium Audio Cables
Paaf
Very active member
Very active member
Posts: 254
Joined: 2012-02-22 18:21
Location: Stockholm

Re: Volumio.

Post by Paaf »

I just now got this when the playlist ran out:

Code: Select all

volumio@hakai-volumio:~$ systemctl -l status upmpdcli
...
Nov 16 18:20:54 hakai-volumio upmpdcli[627]: :2:src/mpdcli.cxx:146::song = mpd_run_current_song(M_CONN) failed: Connection reset by peer
Nov 16 18:20:54 hakai-volumio upmpdcli[627]: :2:src/mpdcli.cxx:146::song = mpd_run_get_queue_song_pos(M_CONN, (unsigned int)pos) failed: Connection reset by peer
and

Code: Select all

volumio@hakai-volumio:~$ systemctl -l status mpd
...
Nov 16 18:20:54 hakai-volumio systemd[1]: Starting Music Player Daemon...
Nov 16 18:20:55 hakai-volumio systemd[1]: Started Music Player Daemon.
fatjulio
Active member
Active member
Posts: 159
Joined: 2012-01-13 23:22

Re: Volumio.

Post by fatjulio »

Sopper wrote: 2018-11-14 22:43 Alright, step by step guide:

14. Type: sudo apt-get install upmdcli (and press Y when prompted; this will install latest upmpdcli)
Just found a typo, upmpdcli is missing a p in the command, so It didn't install when I did a copy and paste.
Paaf
Very active member
Very active member
Posts: 254
Joined: 2012-02-22 18:21
Location: Stockholm

Re: Volumio.

Post by Paaf »

fatjulio, good find.
I indirectly hinted to it above, but next time I'll be sure to spell it out.. these things are fuzzy enough even without human fogginess.

Volumio is now called "UpMpd" in my app. I named it "Hakai-Volumio" in the settings in Volumio but I guess that wasn't good enough after the update lol
Sopper
Very active member
Very active member
Posts: 430
Joined: 2017-05-16 14:50
Location: The Netherlands

Re: Volumio.

Post by Sopper »

fatjulio wrote: 2018-11-16 21:08
Sopper wrote: 2018-11-14 22:43 Alright, step by step guide:

14. Type: sudo apt-get install upmdcli (and press Y when prompted; this will install latest upmpdcli)
Just found a typo, upmpdcli is missing a p in the command, so It didn't install when I did a copy and paste.
Oops... corrected, thanks for identifying
Paaf wrote: 2018-11-16 21:18 Volumio is now called "UpMpd" in my app. I named it "Hakai-Volumio" in the settings in Volumio but I guess that wasn't good enough after the update lol
Open home control points like Kazoo tend to use the value in Ohproductroom instead of friendlyname.
If it bothers you, change value to “Volumio”.

sudo nano /etc/upmpdcli.conf

Navigatie to the line: #ohproductroom = UpMpd
Change UpMpd to Volumio and remove #
KÄLLA > Sagatun Mono 1.7 > Tundra Mono 3.0 > Graham LS8/1F
Cables: Trivium Audio Cables
Paaf
Very active member
Very active member
Posts: 254
Joined: 2012-02-22 18:21
Location: Stockholm

Re: Volumio.

Post by Paaf »

Apart from using "vi" instead, I did exactly as you said and it worked perfectly!
fatjulio
Active member
Active member
Posts: 159
Joined: 2012-01-13 23:22

Re: Volumio.

Post by fatjulio »

I got it all installed successfully, but no change in behaviour. Using a 3rd party control app only gets a second of sound before it stops. I've got my nas in the volumio library, and use it that way. I have the limitations of not skipping tracks or pressing pause without it all stopping.
It does seem to be mpd crashing, then restarting. Once it restarts it seems to do a quick read of the music on the nas (a minute or 2) before it's ready to go again.
Any ideas?
Sopper
Very active member
Very active member
Posts: 430
Joined: 2017-05-16 14:50
Location: The Netherlands

Re: Volumio.

Post by Sopper »

Try this

In web-ui select different output and save
You get msg player successfully restarted
Select your dac again and save
You get msg player successfully restarted
Hard reboot with SSH/putty (not with web-ui)
KÄLLA > Sagatun Mono 1.7 > Tundra Mono 3.0 > Graham LS8/1F
Cables: Trivium Audio Cables
fatjulio
Active member
Active member
Posts: 159
Joined: 2012-01-13 23:22

Re: Volumio.

Post by fatjulio »

It didn't make any difference. Guess this is a different problem.
Sopper
Very active member
Very active member
Posts: 430
Joined: 2017-05-16 14:50
Location: The Netherlands

Re: Volumio.

Post by Sopper »

Kallesprätt made us aware of a new MPD release: https://www.musicpd.org
I have not tested it yet, but it might solve some problems with ESI dac
KÄLLA > Sagatun Mono 1.7 > Tundra Mono 3.0 > Graham LS8/1F
Cables: Trivium Audio Cables
Sopper
Very active member
Very active member
Posts: 430
Joined: 2017-05-16 14:50
Location: The Netherlands

Re: Volumio.

Post by Sopper »

Sopper wrote: 2018-11-18 00:40 Kallesprätt made us aware of a new MPD release: https://www.musicpd.org
I have not tested it yet, but it might solve some problems with ESI dac
Seems not easy to install… Volumio uses older dependancy libraries
Will look into it later
KÄLLA > Sagatun Mono 1.7 > Tundra Mono 3.0 > Graham LS8/1F
Cables: Trivium Audio Cables
Sopper
Very active member
Very active member
Posts: 430
Joined: 2017-05-16 14:50
Location: The Netherlands

Re: Volumio.

Post by Sopper »

Sofar not been able to install newer MPD
Getting stuck at: meson . output/release --buildtype=debugoptimized -Db_ndebug=true
Using this install guide: https://musicpd.org/doc/html/user.html
KÄLLA > Sagatun Mono 1.7 > Tundra Mono 3.0 > Graham LS8/1F
Cables: Trivium Audio Cables
Sopper
Very active member
Very active member
Posts: 430
Joined: 2017-05-16 14:50
Location: The Netherlands

Re: Volumio.

Post by Sopper »

I have upgraded MPD to 0.20.21
With some pointers from Volumio forum (seems they have newer Volumio-MPD builds ready for future releases)
Running stable so far

It might solve issues people experiencing
Will post instructions later

I suggest not to upgrade if you don’t have issues with your current version
KÄLLA > Sagatun Mono 1.7 > Tundra Mono 3.0 > Graham LS8/1F
Cables: Trivium Audio Cables
Sopper
Very active member
Very active member
Posts: 430
Joined: 2017-05-16 14:50
Location: The Netherlands

Re: Volumio.

Post by Sopper »

Alright, the guide to update MPD (and hopely solve some problems for us HAKAI-users with ESI dac)

The Volumio developers have compiled several Volumio-MPD versions on their Github, which can be build and replace the MPD you are currently using (mine was 20.6, which is very old, compared to the new ones).

Before choosing a version, take a look at the changelogs from the official MPD site:
https://raw.githubusercontent.com/Music ... .21.3/NEWS

The place to download the Volumio-MPD versions:
https://github.com/volumio/volumio-mpd/branches
Just click on the version you would like to install
(i run 20.21 now and it's stable, but i will try 21.0 later this week; alot of updates and bugfixes and i read something about Qobuz/Tidal in the changelog)

Once you are in the version-of-your-choice page, click the green download button in the right corner,
1. Right click mouse on "download zip" and copy the URL.

Now SSH into your Volumio using Putty
2. Create a temporary folder
sudo mkdir /temp (or name it whatever you like)
3. Go into this folder
cd /temp
4. Dowload the MPD zipfile
wget url (where url is the copied downloadlink, right click mouse to paste it)
5. Install zip
sudo apt-get install zip
6. Unzip mpd.version.zip
7. See what's in the temp folder
dir -l
8. Go to the MPD folder
cd Volumio-mpd.version
9. When in the MPD folder, build the deb file
sudo sh buildscript.sh
10. When build, (takes some time) proceed with regular installing de deb file
11. sudo ./configure
12. sudo make
13. sudo make install
14. reboot
15. When rebooted check version MPD
mpd --version

The deb-building, configure and make steps take some time, be aware.
Good luck and let us know which version you've installed and how it's working for you.

PS: When you get a msg like “access denied” the command should be preceded with “sudo”
PS2: you might need the compile libraries to build this:
sudo apt install g++ \
libpcre3-dev \
libmad0-dev libmpg123-dev libid3tag0-dev \
libflac-dev libvorbis-dev libopus-dev \
libadplug-dev libaudiofile-dev libsndfile1-dev libfaad-dev \
libfluidsynth-dev libgme-dev libmikmod2-dev libmodplug-dev \
libmpcdec-dev libwavpack-dev libwildmidi-dev \
libsidplay2-dev libsidutils-dev libresid-builder-dev \
libavcodec-dev libavformat-dev \
libmp3lame-dev libtwolame-dev libshine-dev \
libsamplerate0-dev libsoxr-dev \
libbz2-dev libcdio-paranoia-dev libiso9660-dev libmms-dev \
libzzip-dev \
libcurl4-gnutls-dev libyajl-dev libexpat-dev \
libasound2-dev libao-dev libjack-jackd2-dev libopenal-dev \
libpulse-dev libshout3-dev \
libsndio-dev \
libmpdclient-dev \
libnfs-dev libsmbclient-dev \
libupnp-dev \
libavahi-client-dev \
libsqlite3-dev \
libsystemd-dev libwrap0-dev \
libgtest-dev \
libboost-dev \
libicu-dev
Last edited by Sopper on 2018-11-24 10:21, edited 4 times in total.
KÄLLA > Sagatun Mono 1.7 > Tundra Mono 3.0 > Graham LS8/1F
Cables: Trivium Audio Cables
User avatar
lejonklou
Administrator
Administrator
Posts: 6524
Joined: 2007-01-30 10:38
Location: Sweden
Contact:

Re: Volumio.

Post by lejonklou »

Fantastic Sopper!

Those who try this, please also report on any difference in the musical performance of HAKAI!

I feel obliged to remind you all that even the most silly change can sometimes drastically affect the performance of HAKAI - for better or worse. Such is the curse of this project. And many things digital.
Sopper
Very active member
Very active member
Posts: 430
Joined: 2017-05-16 14:50
Location: The Netherlands

Re: Volumio.

Post by Sopper »

lejonklou wrote: 2018-11-19 17:46 Fantastic Sopper!

Those who try this, please also report on any difference in the musical performance of HAKAI!

I feel obliged to remind you all that even the most silly change can sometimes drastically affect the performance of HAKAI - for better or worse. Such is the curse of this project. And many things digital.
I have the feeling MPD 0.20.21 is more tuneful then 0.20.6
I am really getting drawn in some music parts
KÄLLA > Sagatun Mono 1.7 > Tundra Mono 3.0 > Graham LS8/1F
Cables: Trivium Audio Cables
Paaf
Very active member
Very active member
Posts: 254
Joined: 2012-02-22 18:21
Location: Stockholm

Re: Volumio.

Post by Paaf »

Sometimes there's a gap (when listening from my NAS), like the music skips forward 0.2 seconds. It doesn't get silent in the gap. The effect is subtle on regular FLACs, but quite frequent with heavy files (24 bit and/or 192khz). I think HAKAI is over-speced compared to Volumio requirements and the network is Gigabit, so I'm not sure what's going on. Any ideas?

On another topic, I ran Volumio booting from USB stick on a virtual machine inside a WIn10 host. It sounded very musical, even with cheap bluetooth headphones. Quite surprising. Then I installed on the same virtual machine using the Volumio menu (so I didn't have to use the USB stick in the future running it). After that, it didn't sound as musical. Confusing!
fatjulio
Active member
Active member
Posts: 159
Joined: 2012-01-13 23:22

Re: Volumio.

Post by fatjulio »

Sopper wrote: 2018-11-19 17:35
12. make
13. sudo make install
14. reboot
15. When rebooted check version MPD
MPD --version

I'm having a go at this and the make command returns an error. Should there be a specific file stated for the make command?
Paaf
Very active member
Very active member
Posts: 254
Joined: 2012-02-22 18:21
Location: Stockholm

Re: Volumio.

Post by Paaf »

Fatjulio, when I changed step 12 to "sudo make" I managed to move further. Unfortunately I got some other error, possibly because I am using the wrong Volumio version.

Code: Select all

...............
dh: Sorry, but 10 is the highest compatibility level supported by this debhelper.
debian/rules:127: recipe for target 'clean' failed
make: *** [clean] Error 25
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -d -us -uc -i -b failed
Done
Also, Sopper, I think there is a typo in step 15, should probably be lower case?

Code: Select all

mpd --version
fatjulio wrote: 2018-11-24 01:46
Sopper wrote: 2018-11-19 17:35
12. make
13. sudo make install
14. reboot
15. When rebooted check version MPD
MPD --version

I'm having a go at this and the make command returns an error. Should there be a specific file stated for the make command?
Sopper
Very active member
Very active member
Posts: 430
Joined: 2017-05-16 14:50
Location: The Netherlands

Re: Volumio.

Post by Sopper »

Paaf wrote: 2018-11-24 06:32 Fatjulio, when I changed step 12 to "sudo make" I managed to move further. Unfortunately I got some other error, possibly because I am using the wrong Volumio version.

Also, Sopper, I think there is a typo in step 15, should probably be lower case?

Code: Select all

mpd --version
True and True, modified

If things fail, you might want to upgrade Debian parts first.
sudo apt-get update
sudo apt-get upgrade
sudo apt install g++ \
libpcre3-dev \
libmad0-dev libmpg123-dev libid3tag0-dev \
libflac-dev libvorbis-dev libopus-dev \
libadplug-dev libaudiofile-dev libsndfile1-dev libfaad-dev \
libfluidsynth-dev libgme-dev libmikmod2-dev libmodplug-dev \
libmpcdec-dev libwavpack-dev libwildmidi-dev \
libsidplay2-dev libsidutils-dev libresid-builder-dev \
libavcodec-dev libavformat-dev \
libmp3lame-dev libtwolame-dev libshine-dev \
libsamplerate0-dev libsoxr-dev \
libbz2-dev libcdio-paranoia-dev libiso9660-dev libmms-dev \
libzzip-dev \
libcurl4-gnutls-dev libyajl-dev libexpat-dev \
libasound2-dev libao-dev libjack-jackd2-dev libopenal-dev \
libpulse-dev libshout3-dev \
libsndio-dev \
libmpdclient-dev \
libnfs-dev libsmbclient-dev \
libupnp-dev \
libavahi-client-dev \
libsqlite3-dev \
libsystemd-dev libwrap0-dev \
libgtest-dev \
libboost-dev \
libicu-dev
KÄLLA > Sagatun Mono 1.7 > Tundra Mono 3.0 > Graham LS8/1F
Cables: Trivium Audio Cables
Post Reply