Snapcast not working on a fresh Volumio build

I’m not specialist for snapcast but you can try : systemctl unmask snapserver systemctl restart snapserver

Will try that as well.
Hopefully it will help.

Verstuurd vanaf mijn SM-G960F met Tapatalk

I think I have the same issue. I just installed volumio on 3 different pi’s today. Everything works except for snapcast and I’m getting the errors and behavior as described in this post.

Hoping for a fix

this is not working for me:

volumio@js_musicserver:~$ systemctl unmask snapserver Removed symlink /etc/systemd/system/snapserver.service. volumio@js_musicserver:~$ systemctl restart snapserver Failed to restart snapserver.service: Unit snapserver.service failed to load: No such file or directory.

I am having the same or a similar issue.
I have tried fresh volumio install on both a RPi 3B+ and RPi 4 with same result on both systems.
Volumio is ok except the snapcast plugin won’t work.
I think the installation actually fails (There are 2 lines in the ‘Details’ during installation saying ‘removing snapclient’ and ‘removing snapserver’), however volumio thinks that the installation was succesfull.

I then tried manual installation of the latest snapserver on the RPi4 and a similar thing happened:
= The package installation ends with dependency error and states to run ‘sudo apt - f install’
= executing “sudo apt -f install” then results in removing snapserver instead of fixing the dependency
Same thing happens when trying to install the snapclient package mannualy

Tried also many things without success.
Hopefully somebody has a solution.

It would also be nice if you could put some delays here and there as I don’t have the same configuration at several places and synchronization fails .

Thanks.

Verstuurd vanaf mijn SM-G960F met Tapatalk

Same here, there are problems with dependencies in Jessie.

Does anybody have an older version of snapcast server installed just to try?

Hi,

You can try to pull the latest one from github instead, that one is loaded with a previous version of SnapCast which does work on Jessie.

Cheers

When wil this be fixed…

I want to use the plugin.

Thanks, Ad.

Verstuurd vanaf mijn SM-G960F met Tapatalk

Hi Ad,

I’ve put some time in addressing some of the issues, please do keep in mind we’re doing this in our spare time :wink:
There’s still some testing to do before I’m comfortable committing to the store.

Cheers

Tapatalk
[/quote]
Hi Ad,

I’ve put some time in addressing some of the issues, please do keep in mind we’re doing this in our spare time :wink:
There’s still some testing to do before I’m comfortable committing to the store.

Cheers
[/quote]
Hi,

Thanks you for your answer.

Yes, I know. [emoji4]

Ad.

Verstuurd vanaf mijn SM-G960F met Tapatalk

Hi,

One question.

At the moment I am using 4 raspi 3B, 3B+, 4’s with all different configurations.

Could it be possible to add an option to add some delay to get all 4 raspi’s synchronized?

Or is there an other option to synchronize them?

Thanks for the good work!

Many regards,

Ad.

Verstuurd vanaf mijn SM-G960F met Tapatalk

Hi,

This are my notes to get the snapserver working.

It is not be optimised at all, but since it is the 3rd time i search for 2h how to get it working this time I took some notes.

Take care and stay home !

T.R.


Using image volumio-2.729-2020-03-18-pi.img.zip
Install volumio and do the wizard to get the basics working.

Install the snapcast plugin from the web interface -> Errors when you turn on the plugin.
Uninstall the plugin from the web interface.

x.x.x.x/dev/ (enable ssh access)
ssh volumio@192.168.1.26
sudo su -

apt update
apt install unzip
cd /data/plugins/
wget github.com/Saiyato/volumio-snap … master.zip
unzip master.zip
rm master.zip
cd volumio-snapcast-plugin-master/
rm volumio-snapcast-plugin.zip
cd /data/plugins/
mkdir -p miscellanea/snapcast/
mv -T volumio-snapcast-plugin-master/ miscellanea/snapcast/
cd miscellanea
chown volumio:volumio snapcast -R
cd snapcast
chmod +x install.sh
./install.sh

Web interface snapcast settings-> Enable the plugin

rm /etc/asound.conf
touch /etc/asound.conf
chown volumio:volumio /etc/asound.conf
exit

Web interface snapcast settings -> snapclient : check soundcard to use -> Save
Web interface snapcast settings-> Patch ALSA configuration -> Patch File

x.x.x.x/dev/ (disable ssh access)

Hi Ad,

The whole purpose of SnapCast is syncing them, you shouldn’t have to manually add delays.
As for the possibility, I’m pretty sure it’s not possible. However the snapcast project is open-source, you can find the code here: github.com/badaix/snapcast it’s written in C++ (not really my forté). :wink:

You can adjust the delays using the android client for example.
It is part of each snapclient settings.

Good find, was looking in the wrong direction, so yes you can add delays :unamused:

Hey guys,

I was having this exact problem, and tried TomR work around, which gets snapcast functioning. Might be worth publishing this as an official guide, until Saiyato can fix the broken plugin due to the newer version of snapcast needed specific dependencies that are not available

Hi all.

I’ve tried the work around but the snapcast server is not enabled on reboot, there are no settings and no audio is heard anywhere.

I’ve come to volumio from trying mopidy and have noticed that the same issues of ‘breaking’ the audio output happen with mopidy with the latest versions of snapcast and shairport.

Simply, the only way I could get shairport-sync to work with snapcast was by using the pipe backend and pipe @ tmp/snapfifo- even the instructions on snapserver GitHub for airplay stdout install didn’t work. But this broke all other audio on mopidy. When I comment out the backend, airplay works (but no snapcast) and mopidy and snapcast works for all other streams.

Now I am a complete novice but can is assume this is a similar issue with volumio? Some issue with snapcast, shairport-sync and pipe???

This fails so I guess things have moved :frowning:

I still have this issue, is there a new fix?
The above command returns:
HTTP request sent, awaiting response… 404 Not Found
2021-01-04 17:09:21 ERROR 404: Not Found.

converted ‘http://…’ (ANSI_X3.4-1968) -> ‘http://…’ (UTF-8)
–2021-01-04 17:09:21-- http://…/
Resolving … (…)… failed: Name or service not known.
wget: unable to resolve host address ‘…’

Good evening,
I tried to install Snapcast on Volumio 2.861 here, but both via GUI and CLI the installation fails.

When installing via the GUI, I subsequently get the following error message:

Startup failed
Could not start the SnapCast plugin in a fashionable manner.

Restart failed
Restarting snapserver failed with error: Error: Command failed: /usr/bin/sudo /bin/systemctl restart snapserver Failed to restart snapserver.service: Unit snapserver.service is masked.

When installing via the CLI, the plugin cannot be started and the configuration dialog is empty.

Best regards

Emulbetsup