(05-22-2018, 05:55 AM)RafaPolit Wrote: I wish people would report back what has worked for them so we can have this figured out sooner rather than later. All seems good, perhaps setting the --mixer_device_index to 0?
What is the result of
$ aplay -L
$ aplay -l
Also, have you tried running the script directly and see what it outputs?
$ cd /home/pi/spotify/
$ ./spotify-connect.sh
It's really hard to remote troubleshoot this, so if someone has ideas on how to debug this, I'm all ears!
Best regards,
Rafa.
Hi Rafa,
Thank you for you help on this.
it looks like I am missing a module called wsgi, see below.
aplay -L output:
null
Discard all samples (playback) or generate zero samples (capture)
btaplay_dmix
alsaequal
plug_alsaequal
btstream
crossfeed
plug_bs2b
eqfa4p
plug_eqfa4p
softvol
default:CARD=sndrpihifiberry
snd_rpi_hifiberry_dacplus,
Default Audio Device
sysdefault:CARD=sndrpihifiberry
snd_rpi_hifiberry_dacplus,
Default Audio Device
dmix:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dacplus,
Direct sample mixing device
dsnoop:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dacplus,
Direct sample snooping device
hw:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dacplus,
Direct hardware device without any conversions
plughw:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dacplus,
Hardware device with all software conversions
aplay -l output:
pi@moode:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
Message after running spotify-connect.sh:
pi@moode:~/spotify $ ./spotify-connect.sh
Traceback (most recent call last):
File "main.py", line 12, in <module>
from gevent.wsgi import WSGIServer
ImportError: No module named wsgi