nicokaiser / rpi-audio-receiver

Raspberry Pi Audio Receiver with Bluetooth A2DP, AirPlay 2, and Spotify Connect
MIT License
1.39k stars 148 forks source link

add arch option during spotifyd installation #40

Closed kromsam closed 4 years ago

kromsam commented 4 years ago

I have run the script on my Raspberry Pi Zero W with a Phat DAC. I have installed all possible options.

For some reason spotifyd is not working. I filled in the config files but it does not show up in my other Spotify clients.

In the installation script this is what happens:

Do you want to install Spotify Connect (spotifyd)? [y/N] y
spotifyd

And then nothing happens, the script just continues to the next install option. The configuration file is there and I can edit it. But when I run spotifyd, I get:

Illegal instruction

I saw this: https://github.com/Spotifyd/spotifyd/issues/259/ But I didn't know what to make of it.

kromsam commented 4 years ago

I saw that I've to change a config file.

https://github.com/nicokaiser/rpi-audio-receiver/blob/master/install-spotify.sh

Maybe it would be handy if one could choose this option during installation. A reference to this in the readme would be convenient for all Zero users! (And I guess there are a lot of them because of Pimoroni's PHAT DAC).

kromsam commented 4 years ago

Here's the pull request: https://github.com/nicokaiser/rpi-audio-receiver/pull/41

Awbmilne commented 4 years ago

Pull request worked for my Raspberry Pi Zero w. Thanks!

nicokaiser commented 4 years ago

Fixed in 353a0d462388cceca3357a419d3e5bca05468944: the architecture is now auto-selected on installation.