What's the best airplay client for raspberry pi?


#1

I would like to make an airplay speaker and would like to know the best way to do it.


#2

shairport-sync is pretty popular. If you have / or plan to purchase a pHAT DAC you can use our one-line installer and it will set everything up for you:

curl https://get.pimoroni.com/airdac | bash

… otherwise you should be able to find instructions to build it from source (though, technically, you could use the above and restore the on-board audio, but that is not what it was designed for and it may lead to more problem than is worth).


#3

would shairport work with speaker phat and if so what would i have to do for it?


#4

I haven’t tried it, but it should work. The best way would be to run the airdac script first, then the speakerphat installer, in that order.


#5

whats the speaker phat installer?


#6
curl https://get.pimoroni.com/speakerphat | bash

… there will soon be a unified interface to avoid having to remember all of those, but until then the product page typically has links to github repositories and/or tutorials that speacifically mention those.


#7

so
curl https://get.pimoroni.com/airdac | bash
then
curl https://get.pimoroni.com/speakerphat | bash

and is that all i need to do?


#8

it should be. untested though, but I’ll give it a go in the next few days to pre-empt any unforeseen gremlin.


#9

Ok when you’ve tested it please could you put a tutorial on your learn page and put a link on this question?


#10

I had a quick look and we’ll need to figure out how shairport-sync works in more details. But, strictly speaking the Speaker pHAT is supported through the existing airdac script although you won’t get the VU meter going.

… so, until further notice, well:

curl https://get.pimoroni.com/airdac | bash

is all you need.

If we find a way to support VU then we’ll make sure it can be set up from that same script (and will post a notice here).


#11

Ok thanks for the help It’s always Ben a pain getting shairport to work before