TobKra96 / music_led_strip_control

Audio visualization for LED strips in real-time with web interface on a raspberry pi.
https://tobkra96.github.io/music_led_strip_control/
MIT License
295 stars 63 forks source link

snapcast wont work with mlsc #176

Open Marshalldog opened 2 years ago

Marshalldog commented 2 years ago

what i did

sudo apt-get update
sudo apt-get upgrade
sudo reboot

I upload snapclient_0.26.0-1_armhf.deb via winscp ran the following commands

sudo apt install vim
sudo dpkg -i snapclient_0.26.0-1_armhf.deb
sudo apt-get -f install
cd /etc/default
sudo vim snapclient

inserted the IP address of the host, save and exit

sudo update-rc.d snapclient defaults
sudo service snapclient status

at this point snapcast was working

then I ran

curl -sSL https://raw.githubusercontent.com/TobKra96/music_led_strip_control/master/setup.sh | sudo bash -s -- -b master
sudo reboot
sudo apt-get -f install

then when I checked snapcast via:

sudo service snapclient status

I got:

● snapclient.service - Snapcast client
     Loaded: loaded (/lib/systemd/system/snapclient.service; enabled; vendor pr>
     Active: failed (Result: exit-code) since Thu 2022-07-07 08:12:00 BST; 3min>
       Docs: man:snapclient(1)
    Process: 711 ExecStart=/usr/bin/snapclient --logsink=system $SNAPCLIENT_OPT>
   Main PID: 711 (code=exited, status=1/FAILURE)
        CPU: 190ms

Jul 07 08:12:00 raspberrypi systemd[1]: snapclient.service: Scheduled restart j>
Jul 07 08:12:00 raspberrypi systemd[1]: Stopped Snapcast client.
Jul 07 08:12:00 raspberrypi systemd[1]: snapclient.service: Start request repea>
Jul 07 08:12:00 raspberrypi systemd[1]: snapclient.service: Failed with result >
Jul 07 08:12:00 raspberrypi systemd[1]: Failed to start Snapcast client.

note MLSC is working

TobKra96 commented 1 year ago

Hi, I don't know snapcast.

Check if there are ports that are identical. E.g. the web port 8080. Maybe the audio configuration, which will need to use the mics, is not compatible with snapcast.