pimoroni / pidi-spotify

MIT License
47 stars 12 forks source link

RPI Zero W + Pirate Audio Line-out and Headphone Amp #13

Open alvarovm opened 3 years ago

alvarovm commented 3 years ago

I managed to make my board work with Raspberry Pi Zero W using the device

From the instructions I changed this OPTIONS="--device hw:1,0 --onevent 'pidi_spotify --hook'" for this OPTIONS="--device hw:0,0 --onevent 'pidi_spotify --hook'"

deep-spaced commented 3 years ago

I had to do the same. To find out the exact card/device numbers, I ran aplay -l and received the following output:

**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Once I set raspotify to use 0,0 it worked without issue! Thanks!