Applications Menu Appliance
May 28th, 2007
This appliance is Copyright © 2007 AK2007 of awkwardTV. All Rights Reserved.
This appliance will enable you to execute any application that that can run on an Intel based Mac. Please note that AppleTV has a stripped down version of OSX and may not be able to run all applications. The Plugin reads the list of the applications and their options from a configuration file and presents them to the users as menu options.
- Please note as of May 28, 2007 V1.1 has not been released - This note will be removed when it is released.
This plugin was developed by AK2007 of AwkwardTV.
Images were created by BigBaconAndEggs of AwkwardTV. Many thanks to Alan Quatermain of AwkwardTV for the wonderful tutorials and a robust debugging environment, and |bile| of AwkwardTV for their assistance in solving several techincal issues. Special thanks to Eric III of Awkward TV and Erica Sadun for the sample code.
Version 1.0 (29th May 2007):
- Initial version that suspended BackRow and launched an application.
Version 1.1 (TBD):
- Added support to kill the Finder.app and run apps
- Added support to close applications that do not support the remote control
- Changed the format of the configuration file
- Added menus to close Finder and reboot AppleTV
- Added support for launching background applications
- Added support for passing arguments
- Allow Filname substitions in the arguments list allow users to browse for target files
- Allow adding and removing items from the AppleTV UI
- Allow changing options from AppleTV UI
File Location and Name \Users\frontrow\Applist.txt The configuration file contains the list of applications one per line. The format is Menu Label,path/to/your/app
Please Note : You have to find the actual executable usually located in Contents\MacOS directory.
File Name and Location: /Users/frontrow/Documents/Applist.plist
Sample Configuration File:
<?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>Applications</key> <dict> <key>0</key> <dict> <key>args</key> <string></string> <key>remotewatcher</key> <false/> <key>fireandforget</key> <false/> <key>menu</key> <string>AppleRemote</string> <key>killfinder</key> <true/> <key>path</key> <string>/Users/frontrow/Applications/AppleRemote.app/Contents/MacOS/AppleRemote</string> </dict> <key>1</key> <dict> <key>args</key> <string>-f --video-on-top /Users/frontrow/aaj2.asx</string> <key>remotewatcher</key> <true/> <key>fireandforget</key> <false/> <key>menu</key> <string>VLCTest</string> <key>killfinder</key> <true/> <key>path</key> <string>/Applications/VLC.app/Contents/MacOS/VLC</string> </dict> </dict> </dict> </plist>
Each application should have a unique keys the keys should be sequential with no gaps and start at 0 followed by the entries for that application.
Label for the Menu on the screen This is a string type value and should not be blank
The path key should contain the fully qualified path the actual executable being launched. Please not that mac apps have a .app exetension this is actually the name of a folder and you must put the actual file name which is usually in xxx.app/Contents/MacOS director. This is a string value and must not be blank.
Arguments to the launched appliction are passed in the args key. This is string type value and can be blank
<key>args</key> <string-f /Users/frontrow/></string>
The killfinder option is used to kill the AppleTV Finder application, this mode is useful for applications that seem to consistenly launch behind the BackRow screen, or have problems with screensavers. One possible side-effect of using this mode can be that the Watchdog process can kick in and reboot ATV. Altough we send a stop message to ripstop. So if you see this behaviour, you can either stop watchdog or not use this mode The possible values for this key are </true> and </false>
The remotewatcher option actives a helper application which listens to the remote control and is used to exit applications which do not support the remote. To exit an application press and hold the remote key. The possible values for this key are </true> and </false>
The fireandforget mode is used to lauch background processes, this is meant to be used for non-gui processes. The screen is not yielded to the background process in this mode. If this mode is used killfinder and remote watcher options are ignored. The possible values for this key are </true> and </false>
Copyright © 2007 AK2007 of awkwardTV. All Rights Reserved.
Icons by BigBaconAndEggs of AwkwardTV.
AppleTV is a registered trademark of Apple, Inc. AppleTV and BackRow are Copyright © 2006-2007 Apple, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, publish, and/or distribute copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The author is in no way affiliated with Apple, Inc.