(05-23-2018, 09:45 PM)RafaPolit Wrote: It appears either the .sh file is not actually where it is supposed to, or you may have built the spotify-connect-web in another directory (by default it should be inside the spotify directory)? (Perhaps one dir upwards?). You may have missed some of the 'cd spotify' (or similar) instructions?
Hi again Rafael
Thanks for all you help. I finally got the spotify connect to work! I am so sorry because this was properly my fault doing the install. Your hint solved the problem because the files wasn't there.
I deleted the spotify folder:
Code:
$ sudo rm -rf home/pi/spotify
$ sudo rm -rf spotify-connect-web

I used the following settings(with help from Rafael) running the DDDAC1794 driver (PCM1794 DAC 24 bit):
In the spotify-connect.sh file (added Spotify infront of "Master", mixer_device_index 0):
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:
pcm.softvol {
type softvol
slave {
pcm "hw:0"
}
control {
name "SpotifyMaster"
card 0
}
}
