08-27-2018, 10:37 AM
I cannot get the connection to work, my Device never shows up in the Spotify-App
After some experimenting I noticed that the spotify-connect-web.service always shuts down after a few seconds and restarts.
And after some more experimenting I was able to get this error message (it's some weird trial and error, because this message does not appear as soon as the service starts and disappears as soon as it reastarts
The last line specifically makes no sense to me, because my device in the asound.conf is not named hw:1
My asound.cond looks like this (pink noise is working just fine like this)
Also, it does not matter, if the mixer_device_index is 0 or 1
Any suggestions?
After some experimenting I noticed that the spotify-connect-web.service always shuts down after a few seconds and restarts.
And after some more experimenting I was able to get this error message (it's some weird trial and error, because this message does not appear as soon as the service starts and disappears as soon as it reastarts
Code:
Aug 27 12:19:13 moode systemd[1]: Started spotify-connect-web.service.
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: active (running) since Mon 2018-08-27 12:19:13 CEST; 7s ago
Main PID: 953 (spotify-connect)
CGroup: /system.slice/spotify-connect-web.service
├─953 /bin/sh /home/pi/spotify/spotify-connect.sh
└─954 python main.py --playback_device softvol -m Master --mixer_device_index 1 --bitrate 320 --name moOde Connect --key /home/pi/spotify/spotify-connect-web/spotify_appkey.key
Aug 27 12:19:21 moode spotify-connect.sh[953]: Loading Spotify library...
Aug 27 12:19:21 moode spotify-connect.sh[953]: Last.fm: incomplete credentials, not launched
Aug 27 12:19:21 moode spotify-connect.sh[953]: Traceback (most recent call last):
Aug 27 12:19:21 moode spotify-connect.sh[953]: File "main.py", line 15, in <module>
Aug 27 12:19:21 moode spotify-connect.sh[953]: from connect import Connect
Aug 27 12:19:21 moode spotify-connect.sh[953]: File "/home/pi/spotify/spotify-connect-web/connect.py", line 9, in <module>
Aug 27 12:19:21 moode spotify-connect.sh[953]: from console_callbacks import audio_arg_parser, mixer, error_callback, connection_callbacks, debug_callbacks, playback_callbacks, playback_setup
Aug 27 12:19:21 moode spotify-connect.sh[953]: File "/home/pi/spotify/spotify-connect-web/console_callbacks.py", line 105, in <module>
Aug 27 12:19:21 moode spotify-connect.sh[953]: mixer = alsa.Mixer(args.mixer, **mixer_card_arg)
Aug 27 12:19:21 moode spotify-connect.sh[953]: alsaaudio.ALSAAudioError: No such file or directory [hw:1]
The last line specifically makes no sense to me, because my device in the asound.conf is not named hw:1
My asound.cond looks like this (pink noise is working just fine like this)
Code:
pcm.softvol {
type softvol
slave {
pcm "hw:sndrpihifiberry"
}
control {
name "Master"
card 0
}
}
Also, it does not matter, if the mixer_device_index is 0 or 1
Any suggestions?