What's new? | Help | Directory | Sign in
Google
frontpython
A Plugin SDK/Framework for FrontRow2
  
  
  
  
    
Search
for
Updated Jan 13, 2008 by garionPHX
PlugIn101  
Making plugins in Python 101
  1. Download the SDK. We currently recommend downloading the source from subversion, as we haven't really made an official release yet.
  2. Copy the files from the SDK/ directory to your own directory.
  3. Edit English.lproj/InfoPlist.strings. The CFBundleName is the name that will appear in the menu.
  4. Edit the setup.py file. You'll want to change the NSPrincipleClass, CFBundleExecutable, and CFBundleName..
  5. Rename FrontPython.py to match what you named the CFBundleExecutable (followed by the .py)..
  6. Edit your newly named file, and change the name of the class that overrides PyFR.Appliance to match the name you entered for NSPrincipleClass.
  7. Run "python setup.py py2app -A". This creates a plugin for you, in the dist directory. It will be named after what you put into CFBundleName (I think, untested)
  8. Create a symlink in your FrontRow directory: ln -s <path to your project>/dist/<projectname>.frappliance /System/Library/CoreServices/Front Row.app/Contents/PlugIns/
  9. Restart Frontrow.

At this point, you should be able to see your plugin in Frontrow.

(this is not finished. Crap I have to go. Saving for now.)


Comment by britrock, Feb 07, 2008

So are we going to get any more information? I'd love to actually use this. I would love to create a few plugins...

Comment by btombaugh, Jun 09, 2008

This is fantastic! I'd like to make a plug-in for RouteBuddy?, so that I could use FrontRow? as the front-end for a Mac Mini based car computer. I'd be happy to help write up the steps and test them. How can I help?


Sign in to add a comment