I was able to get the RPi to appear on my Mac (via Airplay) but it would not work stating that something else presumably the Roon Bridge) was using the audio.
How does Shairport and Roonbridge decide which ‘gets’ to use the RPi audio output (if both Roonbridge and Shairport want it)?
I confident in using the terminal etc. but baffled by how Linux actually works - ‘services’, ‘init’ ‘dependencies’ etc
Thanks in advance
Doug
Edit: The reason why I want to do this is to send the output from Spotify (running on my MacBook) to my audio system.
I’ve tried it a few weeks ago – worked fine. Access to your audio is on a ‘first come, first served’ basis, but since both Roon Bridge and shairport-sync release their grip after playing, they work quite well in tandem.
Many thanks for this, I can see this would solve my problem. Unfortunately quite a lot of what’s in there I don’t understand - making installation much harder. Linux is brutally unforgiving if you don’t know what you are doing!
I wil search around to see if I can find a step-by-step installation guide though (now I know what I’m looking for!).
Alternatively, you could use DietPi (a minimal Raspbian distribution with an easy-to-use software installer) instead of the official Raspbian Jessie Lite distro. You can install, config and run dietpi-software to install shairport-sync.
Afterwards, install Roon Bridge using the easy installer from Roon. I have not tried this, but I can see no reason why it wouldn’t work just fine.
Not that I know of – and I think it is highly unlikely to appear. In order to do what you want, RoonBridge would need to listen to requests from a different protocol to release the soundcard.
While it’s convenient the two can co-exist somewhat peacefully, this may be overreaching (it would need to be a setting as well: not everyone would want their RAAT-stream open to interruption by anyone with an iOS device ;-)).
Stopping one stream before starting the other is as good as it gets, I think. But then again – who am I?
Makes sense - Shairport-Sync is (presumably) only listening for Airplay requests.
I’m content with how it works at the moment - useful that the two can co-exist - jiust thought I’d ask in case there was some way of allowing ‘mutual interruption’
Thanks,
Mike.
PS. I think Roon is wonderful - just bought a lifetime license - even though it probably means throwing away (selling?) my Sonos kit.
I wouldn’t go that far… you can get a better experience with raspberry pi + iq audio or hifiberry for the same price you can probably sell your sonos for…
if you need the sonos for sonos, keep it… otherwise, trade it in
While I fully vouch for the Pi (I use one with a Hifiberry Digi+ Pro in my main rig, and one with an IQ Audio PiDAC+ In my headphone setup), they don’t replace a PLAY:1/3/5 tucked away in the kitchen that handily…
Sonos with Roon would only be useful (from my viewpoint anyway) if it was via RAAT - my two main listening rooms have speakers fed by computers (Mac Mini and MacBook Pro).
I’ve tried Airsonos. Works fine (although has to run on Mac Mini, Raspberry Pi wouldn’t cope with playing to more than 2 sonos speakers). The latency is a problem and you can’t group the Airplay speakers with RAAT endpoints.
I’ve also tried using the analog input of a Sonos connect - fed by a Raspbery Pi running RoonBridge - to send to other Sonos speakers. Works OK - and, because the RPi is a RAAT device, it can be grouped with other RAAT endpoints - BUT, unless you have 1 Sonos Connect for each Sonos Speaker, then you have to group speakers using Sonos app. Fiddly. Also means that signal is going through lots of conversions (D->A in RaspberryPi, A->D in Sonos Connect, D->A in Sonos Speaker).
So I’m going to set up a number of RPi endpoints and buy / make speakers for them. This will give Roon RAAT + Airplay for all speakers. Means that guests with iPhones can, for example, just play to one of the speakers using Airplay.
Sonos kit maintains it’s proce well (I can sell Play 1 for £130 - cost £165 new) so sale of Sonos kit will fund RPIs+DACs+Speakers.
Bet that, once I’ve done that, you will announce Sonos integration in Roon as RAAT endpoint. Even if you do, though, I’ll have had fun setting it all up and will have much more control over how it all works!
@Leon_Roy. Are you using the Hifiberry Roon Bridge image, Dietpi, or Jessie? Because it’s not working for me with the image from Hifiberry. Is there a way to add shairport to the hifiberry roonbridge image?