Airplay speaker not available

Hi

I’m having an issue where airplay is not working. Trying to connect to it from any apple devices is giving the error -Airplay speaker not available “Musicbox (MusicBox)” is being used by someone else.

I’ve checked all apple devices, none are connected. I changed my wifi password so that only my Musicbox and iPad were on the network and I still get the error. This is the second time I’ve rebuilt the sd card and still getting the same error. The first build my wife was able to connect with her iPhone 6 but the next day the error started.

Starting shairport-sync -vvv gives:

steve@MusicBox ~ $ shairport-sync -vvv
statistics_requester status is 0.
daemon status is 0.
rtsp listening port is 5000.
Shairport Sync player name is "Shairport Sync on MusicBox".
Audio Output name is "(null)".
on-start action is "(null)".
on-stop action is "(null)".
wait-cmd status is 0.
mdns backend "(null)".
latency is 0.
AirPlayLatency is 88200.
iTunesLatency is 99400.
stuffing option is "(null)".
resync time is 2205.
busy timeout time is 120.
startup
avahi: avahi_register.
avahi: register_service.
culling threads.
new RTSP connection.
culling threads.
new RTSP connection.
    CSeq: 1.
    Content-Type: application/sdp.
    Content-Length: 565.
    User-Agent: iTunes/4.6 (Macintosh; U; PPC Mac OS X 10.3).
    Client-Instance: 815ff051f741e1fd.
    Apple-Challenge: k94gDAICAAAAAKCY/wEAAA.
    CSeq: 1.
    Content-Type: application/sdp.
    Content-Length: 565.
    User-Agent: iTunes/4.6 (Macintosh; U; PPC Mac OS X 10.3).
    Client-Instance: 1ea6717d3e122b02.
    Apple-Challenge: UeTQWgACAAAAAKCY/wEAAA.
Already playing.
    Apple-Response: eB7ssM6Mx9R/VavIuUOGnUoGXTKy7ctbTEH+upTztAeMtrXAEdx04hM3gW+w                                                                                                                                                             afLJ+CdtrCZyU0zYT9fTfSxw73CYW5OplpC62Mi6D5FHG7dVw7Zthc8F+K9ltdv5vB4TW62Q6ScazZLJ                                                                                                                                                             W8+YgPBm+WKHqkBTHjPntGQEJoEJHVG/1+rSmV3Hi75Fhb+h1gjFSuPL66YRg9tthiB9SZ9Sci2hzb7D                                                                                                                                                             f8WXSJFfLlb6ZSjl8uo1upwRsIbnfrtfvp+fXurL7GQvEQCUsM90fx8MeoWtxmGVRqALKaIqeYf5ueVo                                                                                                                                                             yfsWTE3RObiaCrhV66lnjqNrTVhNkFY+EMmK8j4i9w.
    CSeq: 1.
    Audio-Jack-Status: connected; type=analog.
Play connection from "iTunes/4.6 (Macintosh; U; PPC Mac OS X 10.3)".
    Apple-Response: RRkXM9p6Jtudrl6eUacKUxKtJkhCqu5Rd/N0298rCB6gX0NYOTR2ZrKJUc16                                                                                                                                                             6fysejRlE/npDcu2IHTj0ocGYBYnLIhROFqCcYdaFC3ITheaGgAovoDASMJpZ3jM8JyERjGj+EJAKfh3                                                                                                                                                             yxvkyJ+kma/KL8xcrCB6OJl+CF2rPWmgjVNS3iVnya8CrVfM9PCxJyndsNq4Cfoj4O7QUUhKwMkNsnc8                                                                                                                                                             h93wwxNDJf+VLmWz4z/DUM/fa/UlWtq2LbwSSGR6MngXHAYFUtdEE/MMp7/vIwLOingStfmGcbAx4JCP                                                                                                                                                             phY1RhEZ7J6IEP9q1KXwYks9RSjRJR/zNtnWCCd5hQ.
    CSeq: 1.
    Audio-Jack-Status: connected; type=analog.
    CSeq: 2.
    Transport: RTP/AVP/TCP;unicast;interleaved=0-1;mode=record.
    User-Agent: iTunes/4.6 (Macintosh; U; PPC Mac OS X 10.3).
    Client-Instance: 1ea6717d3e122b02.
    CSeq: 2.
    Audio-Jack-Status: connected; type=analog.

Thanks for any help. I’ve tried several other players and MusicBox seems the best so far, just need to get this working so the rest of the family doesn’t lynch me (I don’t use apple products).

Has anyone had any luck upgrading shairport-sync on a PiMusicBox 0.6 image? I built the latest shairport-sync version on a clean Jessie lite image and didn’t see the same issue. I installed mopidy and tried building PiMusicBox with a script on their Github but something is missing, no webpage.

The pimusicbox scripts don’t work with Jessie. Other people have got it working, you can try http://docs.pimusicbox.com/en/develop/upgrading/ but I can’t offer any help with that.

I’ve never seen your particular problem but I don’t think there is much stopping you from just upgrading shairport-sync on v0.6. You will need to follow the instructions for Wheezy (i.e. compile using --with-systemv etc) and also migrate the config at https://github.com/pimusicbox/pimusicbox/blob/develop/filechanges/etc/init.d/shairport-sync#L63 to use the new /etc/shairport-sync.conf config file. I think that’s it.

Thanks kingosticks. I think I’m going to give it one more try with the newest Mopidy, shairport-sync and mopidy-musicbox-webclient on the latest jessie. I have everything I need (airplay for the wife and daughter and spotify for me) working right now but I’m running into some weird problems getting zeroconf working and I’m hoping that the zeroconf problem is related to trying to run the pimusicbox script… If this fails I’ll try upgrading shairport sync on a pimusicbox image.

@kingosticks

I see that you worked on zeroconf for pimusicbox here:
https://github.com/pimusicbox/pimusicbox/issues/291

I’m wondering if this wasn’t implemented on mopidy-musicbox-webclient?

I can only access the web interface from kitchenmusic:6680/… I would like to get zeroconf working so I can access it at kitchenmusic.local

Thanks again!