Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


[HOW-TO] Spotify Connect Web for Moode
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

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?
Reply


Messages In This Thread
RE: Spotify Connect for Moode - by Tim Curtis - 04-06-2018, 07:34 PM
RE: Spotify Connect for Moode - by RafaPolit - 04-07-2018, 05:30 AM
RE: Spotify Connect for Moode - by deafnut - 04-07-2018, 08:01 PM
RE: Spotify Connect for Moode - by RafaPolit - 04-08-2018, 05:28 AM
RE: Spotify Connect for Moode - by gabmartini - 04-09-2018, 02:08 AM
RE: Spotify Connect for Moode - by pinkdot - 04-09-2018, 04:58 PM
RE: Spotify Connect for Moode - by airdronian - 04-17-2018, 09:01 PM
RE: Spotify Connect for Moode - by Tim Curtis - 04-09-2018, 02:18 AM
RE: Spotify Connect for Moode - by franz159 - 04-11-2018, 04:43 AM
RE: Spotify Connect for Moode - by JonPike - 05-03-2018, 01:59 AM
RE: Spotify Connect for Moode - by RafaPolit - 04-11-2018, 05:43 AM
RE: Spotify Connect for Moode - by jonners - 04-11-2018, 07:39 AM
RE: Spotify Connect for Moode - by gabmartini - 04-13-2018, 11:33 PM
RE: Spotify Connect for Moode - by pinkdot - 04-14-2018, 08:10 AM
RE: Spotify Connect for Moode - by Tim Curtis - 04-14-2018, 12:14 PM
RE: Spotify Connect for Moode - by RafaPolit - 04-17-2018, 10:10 PM
RE: Spotify Connect for Moode - by airdronian - 04-17-2018, 11:31 PM
RE: Spotify Connect for Moode - by gabmartini - 04-17-2018, 11:50 PM
RE: Spotify Connect for Moode - by airdronian - 04-18-2018, 12:13 AM
RE: Spotify Connect for Moode - by airdronian - 04-19-2018, 05:34 PM
RE: Spotify Connect for Moode - by Onionhead - 04-23-2018, 01:40 AM
RE: Spotify Connect for Moode - by pinkdot - 04-23-2018, 05:50 AM
RE: Spotify Connect for Moode - by RafaPolit - 04-23-2018, 06:18 PM
RE: Spotify Connect for Moode - by Onionhead - 04-23-2018, 06:35 PM
RE: Spotify Connect for Moode - by gabmartini - 04-27-2018, 11:31 PM
RE: Spotify Connect for Moode - by pinkdot - 04-28-2018, 07:48 AM
RE: Spotify Connect for Moode - by grasshopper - 04-29-2018, 10:26 AM
RE: Spotify Connect for Moode - by JonPike - 05-03-2018, 03:05 AM
RE: Spotify Connect for Moode - by grasshopper - 05-03-2018, 07:08 PM
RE: Spotify Connect for Moode - by JonPike - 05-16-2018, 01:33 AM
RE: Spotify Connect for Moode - by grasshopper - 05-17-2018, 07:00 PM
RE: Spotify Connect for Moode - by Me2018 - 01-22-2019, 02:40 PM
RE: Spotify Connect for Moode - by npetra - 08-28-2019, 05:18 PM
RE: Spotify Connect for Moode - by grasshopper - 01-17-2019, 12:00 PM
RE: Spotify Connect for Moode - by grasshopper - 04-29-2018, 10:38 AM
RE: Spotify Connect for Moode - by RafaPolit - 04-29-2018, 10:53 AM
RE: Spotify Connect for Moode - by aBrianH - 04-30-2018, 10:11 AM
RE: Spotify Connect for Moode - by RafaPolit - 05-01-2018, 03:59 AM
RE: Spotify Connect for Moode - by gabmartini - 05-02-2018, 03:43 AM
RE: Spotify Connect for Moode - by grasshopper - 05-02-2018, 06:11 PM
RE: Spotify Connect for Moode - by RafaPolit - 05-12-2018, 12:53 AM
RE: Spotify Connect for Moode - by Tim Curtis - 05-12-2018, 12:52 PM
RE: [HOW-TO] Spotify Connect Web for Moode - by Pixel - 08-27-2018, 10:37 AM
Error when Spotify Connect Web - by IT-Andy52 - 09-06-2019, 08:54 AM
RE: Error when Spotify Connect Web - by RafaPolit - 09-25-2019, 07:39 PM

Forum Jump: