Kodi Community Forum

Full Version: [ATV2] Disable native Airplay to use XBMCs implementation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

i got the build from 2nd of september installed which has already Airplay in XBMC integrated.

Also i installed the direct boot into XBMC (apt-get install org.tomcool.xbmc-booter). If i now start an Airplay stream from my iPhone4 xbmc reboots.

I installed "top" to watch what processes are running. I see even if i boot directly into xbmc the process AppleTV is runnig by nearly 100% cpu and there is another process called airtunesd. I thought if i kill airtunesd the airplay network port is free for the XBMC Airplay implementation but the process airtunesd is always restarting if i kill him with killall airtunesd. And wtf why is AppleTV running if i'm directly booting into XBMC?

Here are my specs:
XBMC Build: xbmc-20110902-139071b-master-atv2
iOS: 4.2.2
pastebin XBMC Log: http://pastebin.com/3XNaAp3E
pastebin "top": http://pastebin.com/tWFZsrHN

Thanks in advance

Best regards

regnets

[EDIT]
After a hard reboot i found a new airplay target on my iphone XBMC@Living-Room-AppleTV...

Now XBMC doesnt reboot, but it just shows Working... and my iphone displays Cannot play video on "XBMC@Living-Room-Apple-TV"

Here is a new XBMC log: http://pastebin.com/Nb0pyz76

There are some error messages at the bottom.

Is there a way to disable the native Airplay (kill the watchdog Wink)
[/EDIT]

[NEXTEDIT]
After killing AppleTV Process i tried it another time.

I just saw the video for a second and then it falls back to the main menu.

Tried it another time.

Same thing as in the first edit.

Here is the XBMC log with the 1 second video: http://pastebin.com/mBNyrxsN

Thank you for your time
[/NEXTEDIT]

[THEEDITAFTERNEXT]
Now i got it working dont know what was wrong

Heres the new log: http://pastebin.com/fyxcKiCm

I hope you can use it.

Sorry for spamming
[/THEEDITAFTERNEXT]

[HOPEFULLYTHELASTEDIT]
Now it seems to be perfectly working

I just wish to deactivate the natively Airplay
[/HOPEFULLYTHELASTEDIT]
Okay, first, turn off booting directly into XBMC. You have to turn off airplay in the normal ATV2 settings. Stop trying to kill the processes and just turn it off normally.

Second, install the most recent nightly build whenever you're having problems. They are called nightlies for a reason.

If you want to turn back on booting directly into XBMC go head, but do you really turn it on/off every day?
I had to kill the processes because XBMC was freezed if i start the airplay video.

Thank you for your advice. I should have thought myself about disabling native ariplay via menu - sorry.

Directly booting is great because XBMC often crashs if i play a stream from my tvheadend server.

Will install the latest nightly (its just 2 days)

You're really rough to me. I just wanted to help with my logs. I doesnt even pushed the thread.

I'll come back later after i disabled airplay, installed latest nightly and tried some Youtube videos.

I really appreciate your work.

Best regards

regnets
Disabled Airplay in menu (yay that was difficult - stopping a watchdog would be easier (; )

Installed latest nightly (xbmc-20110904-a2098db-master-atv2.deb) from 5th of september.

Reinstalled direct booting.

And it looks like it is working.

Thank you.
I don't mean to be rough, just direct and to the point. Glad it's all working now.
Oh i think i misinterpreted your post Blush.
and your failure was hitting the wrong airplay target while in XBMC. Everytime your ATV2 "rebooted"/"crashed" you where try to airplaying to the "Living-Room-AppleTV" (native airplay) instead of "XBMC@Living-Room-AppleTV" (XBMCs airplay).

Just for clarification Smile