(05-19-2018, 02:38 PM)RafaPolit Wrote: Miklau, there is a missing space after "SpotifyMaster" in my pasted code, please add the space after the word before the --
Thanks again and good point regarding the missing space. I changed that but still not solved the problem. I checked again that the name SpotifyMaster is spelled correctly and it is both places.
I tryed to change the mixer_device_ index to 1, rebooted, but still the same problem.
asound.conf
Code:
pcm.softvol {
type softvol
slave {
pcm "hw:0"
}
control {
name "SpotifyMaster"
card 0
}
}
spotify-connect.sh
Code:
#!/bin/sh
cd /
cd home/pi/spotify/spotify-connect-web
LD_LIBRARY_PATH=/home/pi/spotify/spotify-connect-web python main.py --playback_device softvol -m SpotifyMaster --mixer_device_index 0 --bitrate 320 --name "moOde Connect" --key /home/pi/spotify/spotify-connect-web/spotify_appkey.key
cd /
Code:
Last login: Tue May 22 09:15:14 2018 from 192.168.1.4
pi@moode:~ $ cd /etc
pi@moode:/etc $ sudo systemctl start avahi-spotify-connect-multiuser.service
pi@moode:/etc $ sudo systemctl start spotify-connect-web.service
pi@moode:/etc $ sudo systemctl status spotify-connect-web.service
● spotify-connect-web.service
Loaded: loaded (/lib/systemd/system/spotify-connect-web.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2018-05-22 10:08:42 CEST; 5s ago
Process: 4558 ExecStart=/home/pi/spotify/spotify-connect.sh (code=exited, status=203/EXEC)
Main PID: 4558 (code=exited, status=203/EXEC)
May 22 10:08:42 moode systemd[1]: spotify-connect-web.service: Failed with result 'exit-code'.
pi@moode:/etc $ cd
pi@moode:~ $ sudo nano spotify-connect.sh
pi@moode:~ $ cd /etc
pi@moode:/etc $ sudo nano asound.conf
pi@moode:/etc $ cd
pi@moode:~ $ sudo nano spotify-connect.sh
pi@moode:~ $ cd /etc
pi@moode:/etc $ cd
pi@moode:~ $ sudo systemctl status spotify-connect-web.service
● spotify-connect-web.service
Loaded: loaded (/lib/systemd/system/spotify-connect-web.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2018-05-22 10:13:08 CEST; 9s ago
Process: 8208 ExecStart=/home/pi/spotify/spotify-connect.sh (code=exited, status=203/EXEC)
Main PID: 8208 (code=exited, status=203/EXEC)
May 22 10:13:08 moode systemd[1]: spotify-connect-web.service: Unit entered failed state.
May 22 10:13:08 moode systemd[1]: spotify-connect-web.service: Failed with result 'exit-code'.
pi@moode:~ $
Thanks again
