I’ve setup Volumio on a Raspberry pi B+ and I want to use it as a multi user / multi device music control. It works great so far and very happy with the system. I’m still in the beginning of testing but the idea is to have anybody connected on the Pi access point can : Play, stop, change volume, stream from phone or music stored on the pi, from PC - Android or IOS. The only problem I have is with “Apple people”
As I didn’t find any good way to use UPNP on Iphone, the idea with Volumio was to tackle it with Airplay. So, I enabled the function, found a guy with an Iphone, connect on the pi Access Point, try… and there is no “Airplay option showing up”… Well try another phone, same thing.
I found a tutorial to update shairport, tried… no change. I don’t know much about apple product and Airplay… and I’m running out of idea.
What can I try or where should I look to solve this issue?
if you have access to a Linux box, try “avahi-browse -a”, this will show all Bonjour enabled services. You should see the Airplay service.
On the Volumio board, try a “ps waux | fgrep shairport” to see if the airplay dameon is running. Oh, did you enable it in the System configuration Tab on the Web UI?
Thanks for the quick answer.
So, this is what I get with avahi :
[code]+ wlan0 IPv6 volumio Music Player Daemon local
- wlan0 IPv4 volumio Music Player Daemon local
- eth0 IPv6 volumio #2 Music Player Daemon local
- eth0 IPv6 volumio Music Player Daemon local
- eth0 IPv4 volumio #2 Music Player Daemon local
- eth0 IPv4 volumio Music Player Daemon local
- wlan0 IPv6 3F5BEA9B8F94@volumio AirTunes Remote Audio local
- wlan0 IPv4 3F5BEA9B8F94@volumio AirTunes Remote Audio local
- eth0 IPv6 3F5BEA9B8F94@volumio AirTunes Remote Audio local
- eth0 IPv4 3F5BEA9B8F94@volumio AirTunes Remote Audio local
But strangely shairport is not running after boot.
root@volumio:~# ps waux | fgrep shairport
root 2493 0.0 0.4 4124 2008 pts/1 S+ 15:34 0:00 grep -F shairport
“Airplay” option is enabled in volumio
[code]+ eth0 IPv4 5A87D1F073D3@Shairport on volumio AirTunes Remote Audio local
- eth0 IPv6 5A87D1F073D3@Shairport on volumio AirTunes Remote Audio local
That’s what I get if I run shairport. I might run a boot script and hunt for an “Iphone guinea pig”
Maybe it’s not called shairport …
Anyway, you have the service available on Bonjour on both networks but that might be the problem, why is you system active on both wlan0 and eth0?
On the iPhone, Airplay is available when you play music or video.
wlan0 provides access point for devices
eth0 is connected to my lan to allow me troubleshooting while I’m at work…
On the Iphones I tested, when I play a music and swipe to get the menu, there is no airplay option showing up where it should be…
Is Volumio using something else than shairport? I saw that there is a shairplay community which seems different
Foud that on my other Volumio device that seems to work!
PS aux | grep shairport :
/usr/local/bin/shairport -a volumio -w -B (/usr/bin/mpc | grep -q playing && touch '/tmp/.restart_mpd'); /usr/bin/mpc stop -E test -f '/tmp/.restart_mpd' && /usr/bin/mpc play && rm -f '/tmp/.restart_mpd' -o alsa -- -d plughw:0
I don’t have access to my system, I will answer when I’ll get home.
Here is the result of “ps waux | fgrep air”:
root@volumio:~# ps waux | fgrep air
root 2592 0.0 0.3 20480 3780 ? Sl Apr17 0:00 /usr/local/bin/shairport -a volumio -w -B (/usr/bin/mpc | grep -q playing && touch '/tmp/.restart_mpd'); /usr/bin/mpc stop -E test -f '/tmp/.restart_mpd' && /usr/bin/mpc play && rm -f '/tmp/.restart_mpd' -o alsa -- -d plughw:0
root 14199 0.0 0.1 3592 1636 pts/0 R+ 19:14 0:00 fgrep air
Thanks man, that’s what i get on the other Pi too, I don’t know why it’s gone.
Any idea on how to get the same way to start it? if i load /etc/init.d/shairport back to the update-rc.d i get that :
/usr/local/bin/shairport -d -a Volumio -w -B mpc stop
This is normal because it gets different arguments when launched by the /etc/init.d/shairport script.
On Volumio, mpd, shairport and some other services are controlled by a PHP script. The monit daemon is also resposible of restarting mpd in case of crash.
So why in your system it has disappeared? I don’t have any clue.
Thanks for your help man!
I’ll see how it goes, if it’s still fighting back i’ll give a wipe
I was stuck with this issue, and arrived here thanks to google.
I followed this link instructions : tutorial-update-shairport-the-airplay-daemon-latest-t654.html. When asking to replace configuration files (php5 and php-fpm), keep the one already present. This is default answer.
Then reboot, and airplay is working perfectly.
Have a nice music day.