Saiyato / volumio-snapcast-plugin

Volumio 2 SnapCast plugin, to easily manage SnapCast functionality
115 stars 25 forks source link

Volumio and Snapcast #29

Closed hpswalters closed 6 years ago

hpswalters commented 6 years ago

To start, I'm very pleased with the work you have done.
As you might suspect, I am attempting a muti-room, sonos-like playback of music from my network and I have it working --for the most part. The system consists of a Pi3 as the server, four Pi2's and two Pi0's as the clients. the Pi0's have a HiFiberry compatible DACs and work just fine.

However, two of My Pi2's have the Pi2 Design 503 Hybrid Tube Amp and when I install the SnapCast they stop working altogether--this is without even activating SnapCast. My hypothesis is that SnapCast does list the correct "Soundcard to Use for Playback" in the setup. The pictures below hopefully illustrate the problem.

image

Unfortunately, this option does not appear in the SnapCast Settings. image

Is there a config file I can modify to get the correct playback options

Thanks, -hpw

hpswalters commented 6 years ago

I have answered my own question -- although I don't understand why/how. The Pi2's with Pi2 Design 503 Hybrid Tube Amp worked when I enabled the SnapCast Server and subscribed to the stream from the Pi3. This seems particularly odd since I have the servers disabled on all other Pi's

Any insights into what is happening?

-hpw

Saiyato commented 6 years ago

I'm not sure how the tube amp works, so I'm affraid this is difficult for me to answer. You should be able to only use the client on the Pi2's, if you connect to the Pi3 the server will do nothing at all.

The plugin installs the snapcast client, patches mpd.conf, sets the parameters for the snapcast client and restarts it.

You can list the compatible soundcards using the following command (the plugin does the same):

snapclient -l

That should work imho. You can check it by reading /etc/default/snapclient, it should contain the following:

-d = run as daemon -h {IP} = the host IP-address -s {SOUNDCARD} = the configured soundcard

Maybe the snapclient just needed a restart to load the soundcard.

Please let me know if this helps you.

Saiyato commented 6 years ago

Have you had any success with the Tube Amp?