Update: There is now a much easier way to auto-start XBMC on Apple TV boot.
See details here.
I’ll leave the below post here for posterity…
Here’s how to have XBMC auto-start when your Apple TV boots.
Create a text file with the following content:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.teamxbmc.xbmc</string> <key>OnDemand</key> <false/> <key>ProgramArguments</key> <array> <string>/Applications/XBMC.app/Contents/MacOS/XBMC</string> <string>-fs</string> </array> </dict> </plist>
Save it on your Desktop, as com.teamxbmc.xbmc.plist
Create another text file with the following content:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.teamxbmc.xbmchelper</string> <key>OnDemand</key> <false/> <key>ProgramArguments</key> <array> <string>/Applications/MultiFinder.app/Contents/Resources/xbmchelper</string> <string>-v</string> <string>-u</string> </array> </dict> </plist>
Save it on your Desktop, as com.teamxbmc.xbmchelper.plist
Install both files to your AppleTV using Terminal.app:
scp ~/Desktop/com.teamxbmc.xbmc*.plist frontrow@your_appletv_ip_address:. ssh frontrow@your_appletv_ip_address sudo mv com.teamxbmc.xbmc*.plist /Library/LaunchAgents/ sudo chown root:wheel /Library/LaunchAgents/com.teamxbmc.xbmc*.plist sudo chmod 644 /Library/LaunchAgents/com.teamxbmc.xbmc*.plist launchctl load /Library/LaunchAgents/com.teamxbmc.xbmc.plist launchctl load /Library/LaunchAgents/com.teamxbmc.xbmchelper.plist
That’s it. You can then delete the two files left on your Desktop.
Tankxx for this helpfull tewak.
But, how to disable autostart xbmc at a later point?
Cheers,
Rudi
ssh frontrow@your_appletv_ip_address
launchctl unload /Library/LaunchAgents/com.teamxbmc.xbmc.plist
launchctl unload /Library/LaunchAgents/com.teamxbmc.xbmchelper.plist
i.e. 'unload' instead of 'load'
Update: those instructions won’t work to uninstall… See the new ones I provided here:
http://www.pommepause.com/blog/2009/07/auto-start-xbmc-on-apple-tv-boot/#comment-161
Hi. Followed the steps provided. Worked like a charm to get XBMC to launch on boot. However, I cannot close xbmc and return to the Finder it just freezes XBMC. I cannot uninstall using the info provided. Any help would be useful. Thanks.
You won’t be able to go back to the Finder using this. If you Quit XBMC, the LaunchAgent will just restart it.
The instructions in my comment above, i.e. typing the same commands you did to install this, but substituting ‘load’ with ‘unload’ will completely remove the auto-load.
If it doesn’t, you typed something wrong.
Update: Seems I was wrong!… See the new instructions I provided here to uninstall:
http://www.pommepause.com/blog/2009/07/auto-start-xbmc-on-apple-tv-boot/#comment-161
Uninstalled via SFTP. Found the 4 files to remove and deleted them.
Ah, indeed, my bad! launchctl unload is not enough. You’ll need to remove or move the plist files out of /Library/LaunchAgents/:
So to uninstall:
ssh frontrow@your_appletv_ip_address
launchctl unload /Library/LaunchAgents/com.teamxbmc.xbmc.plist
launchctl unload /Library/LaunchAgents/com.teamxbmc.xbmchelper.plist
sudo mv /Library/LaunchAgents/com.teamxbmc.xbmc.plist .
sudo mv /Library/LaunchAgents/com.teamxbmc.xbmchelper.plist .
sudo reboot
Good morning Guillaume. I know this post is a few years old. However i thing you maybe able to help me. I installed the auto start XBMC on my apple TV 2 and now I can’t get back to the front row start on my box. I have netflix and some other apps that I Loved about this box and now all I can get is XBMC Please help if you can or direct me in the right direction.Many thanks in advance
Sorry, but I know nothing about the Apple TV 2.
On my Apple TV (1), choosing exit in XBMC sends me back to the Front Row UI.
I have been looking for this for a while! my friend has an apple tv and we couldn’t figure out how to auto start xbmc!
Does that method (auto-boot into XBMC) still on Apple TV 2?
Thank you.
I can’t know for sure (don’t have one), but I’d say no.
hi, Im a absolute ultra newb, my xbmc wasnt working (kept kicking me) so i figured maybe installing the auto loader would help me, now all that happens is xbmc constantly reloads itself and I have no idea what to do , i have no software on my laptop to correct this, and basically … im pissed lol , please help me I bought the box off a friend but I am unable to contact him at the moment I am under the impression i need to update xbmc for it to work but without a front row menu thats looking fairly problematic…pleeeease help !! thank you