[UBUNTU] AirTunes from iPhone
#1
Hi,

I am running Ubuntu 11.04 and XBMC Eden Beta1.
Got it today, 11.0-PRE Git:20120107-9b3f2d0

iPhone 4, iOS 5.0.
Also tried from iPad running on iOS 4.3.

Problem is that I can't get sound when trying to stream from the iPhone (Spotify or built in "Music" app) over AirTunes.
XBMC switches to the visualization and says "Streaming" but no sound.
Can't see any error in the logs about this.

Photos and Video, works perfectly.

I have three installations of XBMC Eden Beta 1 and the same problem on all of them.

I am running IPv6 on the network and would prefer not to turn it off (hosting publicly some IPv6 stuff).
I've seen posts about IPv6 causing problems, but also saw a patch for it included in this version of XBMC.

Logfile is here, with debug turned on: http://pastebin.com/YQWKCuBg

Any ideas what might cause this?
If I can provide more info to solve this problem I'm glad to help.

Thanks to the whole XBMC crew for this great media center!!
Been using it many years, since Xbox Smile

Best Regards
Reply
#2
Pick 1: IPv6, Streaming Audio.

Or disable it from XBMC and just run shairport separately.
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
Reply
#3
ipv6 issues will be fixed in eden beta2 ... but when streaming is shown ... did you turn up the volume on your iphone while streaming?
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#4
Yeah, I double checked the volume levels on the phone, xbmc and also speakers. So that should be ok.
Also, the visualization isn't moving, so I assume the stream doesn't reach the xbmc.

I thought the IPv6 patch submitted on the 4'th was supposed to fix this issue, perhaps I misunderstood.

Is it the IPv6 issue I am experiencing or is it something else?
Is there any ETA on Beta 2 yet?

@darkscout, yes. IPv6 streaming is what I want working within XBMC (Pick 1).
Reply
#5
I have now disabled IPv6 on one of the machines but still the same issue occurs.
I'm open for more ideas to try out, any ideas?

Edit: After reading through the log I noticed something I missed earlier:
"WARNING: Create - Unsupported protocol(pipe) in pipe://1/"
Reply
#6
Schabo Wrote:I have now disabled IPv6 on one of the machines but still the same issue occurs.
I'm open for more ideas to try out, any ideas?

Edit: After reading through the log I noticed something I missed earlier:
"WARNING: Create - Unsupported protocol(pipe) in pipe://1/"

Did you compile this yourself? This is atotally broken compile where airtunes was detected, but the vfs implementation is lacking the pipe filesystem. I'm not even sure how i would get such a broken build. Is that build based on the official mainline tree?
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#7
Well I pulled it from git on the 7'th and followed the "README" file for the steps to compile.
"git clone git://github.com/xbmc/xbmc.git xbmc" is what I used.

When compiling I got an error about libshairport was missing, so I compiled it separate, then the compile went through without errors.
Reply
#8
Schabo Wrote:Well I pulled it from git on the 7'th and followed the "README" file for the steps to compile.
"git clone git://github.com/xbmc/xbmc.git xbmc" is what I used.

When compiling I got an error about libshairport was missing, so I compiled it separate, then the compile went through without errors.

post the output of the following commands done from within your xbmc directoy.

Code:
grep pipe xbmc/filesystem/*.cpp
grep AIRTUNES config.h
grep Pipe xbmc/filesystem/filesystem.a
ls -al xbmc/filesystem/FilePipe.o
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#9
Here we go: http://pastebin.com/rCsMM0jc

Looks like config.h does not exist in the /usr/src/xbmc directory though?
Found it in /usr/src/xbmc/xbmc though, did not get a hit on the grep AIRTUNES from it.
Reply
#10
did you a

./bootstrap && ./configure && make

for building it?

Or did you have an outdated sourcetree build before pulling on the 7th? Then you should do a make clean before making.

Beside that you can activate the shairport debug output with adding this to your advancedsettings.xml - try airtunes again and post a new log:

http://wiki.xbmc.org/index.php?title=Use...ebuglog.3E
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#11
I might have forgotten to make clean, not sure. I'll redo it just to be sure.

"make clean && ./bootstrap && ./configure && make && make install"
Reply
#12
yep ... you could wait a sec after configure and look for something like "AirTunes support: yes" at the end of configure
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#13
I looked for that everytime since it is one of the reasons I'm trying Eden Smile
Said YES everytime for AirTunes and also AirPlay.
Also added to ./configure --enable-airtunes --enable-airplay just to be sure.

It's now done and all looks good. I'm not at home right now so I can't test it.
I'll post later tonight on how it's working.
Reply
#14
Ok, no change in result, still same problem.
I enabled the airtunes debugging too, new xbmc.log here: http://pastebin.com/wri5BdSG

The wiki is right, AirTunes debug really spams Smile
Reply
#15
Well everything looks ok with that log. If you ask me - it should play music. Of course i believe you that it doesn't (and i see you even turned up the volume on your client to 100% Wink ). Not sure how to debug this further.

Do you have more then 1 network card in that pc?

Any iptables rules on udp running? Does the interface has an ipv6 address? (doesn't look like but i'm not quiet sure if it would be shown in the log).
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
[UBUNTU] AirTunes from iPhone1