Shairport on several RPIs issue

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Janis
Posts: 28
Joined: Sun Oct 30, 2016 9:42 am

Shairport on several RPIs issue

Post by Janis » Mon Dec 05, 2016 10:28 pm

Seems after v138 there is issue if in the same network Shairport is runnng on several RPIs. Until v137 I didn't observe this strange behavior.

I have in the same network three Raspberry PIs with the Shairport installed.
When each of RPIs is booted separate and alone, then AirPlay nicely see each of them and play.
When several RPIs are booted concurrently, then only the first who started is visible, the rest are not available.

I have given individual names in Shairport confit on each of Raspberry PIs, but it somehow feels that all of them are registering with some similar number, and therefore there is conflict.

Please help.

Janis

User avatar
Fourdee
Site Admin
Posts: 2789
Joined: Tue Feb 06, 2007 12:36 pm

Re: Shairport on several RPIs issue

Post by Fourdee » Tue Dec 06, 2016 1:21 pm

Janis wrote:I have given individual names in Shairport confit on each of Raspberry PIs, but it somehow feels that all of them are registering with some similar number, and therefore there is conflict.
Hi Janis,

Might also be worth changing the host names on each device, to make those unique also:
dietpi-config > Security Options > Change Hostname
Then reboot

If problems persist, which client/app are you using to stream the music?
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.

Janis
Posts: 28
Joined: Sun Oct 30, 2016 9:42 am

Re: Shairport on several RPIs issue

Post by Janis » Tue Dec 06, 2016 9:44 pm

Thank you! That fixed the issue!
Might be to not have such issue for other users, makes sense to synchronize Hostname defined in DietPi-config to the name used in the Shairport configuration file? Or at least document this?

Janis

User avatar
Fourdee
Site Admin
Posts: 2789
Joined: Tue Feb 06, 2007 12:36 pm

Re: Shairport on several RPIs issue

Post by Fourdee » Wed Dec 07, 2016 3:49 pm

Janis wrote:Thank you! That fixed the issue!
Might be to not have such issue for other users, makes sense to synchronize Hostname defined in DietPi-config to the name used in the Shairport configuration file? Or at least document this?

Janis
Hi Janis,

Excellent, good to hear :)

I've updated the online docs with this info, under Multiple devices:.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.

Post Reply