Options

  • Home
  • Download


  • Search

    Ads by Google



    Intro:
    Sample Screenshot This script is designed to allow scripts written for XBMC to work on a PC. They are currently in a pre-alpha stage of development--I've just started. But they already work somewhat. You're free to use and distribute these files, but please give credit where it's due.

    On that note: Huge thanks to Bitplane from the XBMC Forums, who's worked hard to extend the xbmc half of the library, and who has kept me working on this script with extremely helpful ideas and suggestions.



    Installation Instructions:
    To install the emulator, simply copy the files "xbmc.py" and "xbmcgui.py" along with the image file "controller.gif" into the "Lib" subfolder of your Python installation folder.

    NOTE: The emulator now REQUIRES that you have PIL installed for it to work properly. If you don't have PIL installed on your PC, you can download it free from this site: http://www.pythonware.com/products/pil/

    The emulator doesn't need to be run; simply make these files available to your Python installation, and they'll allow scripts written for XBMC to operate on a PC.

    For best use, I recommend using the following lines near the very beginning of your script (after importing xbmcgui):
    try: Emulating = xbmcgui.Emulating
    except: Emulating = False
    to create a global boolean variable indicating whether or not the script is being run within XBMC.

    Also, add the following line to the init function of any class that is a child of xbmcgui.Window:

    if Emulating: xbmcgui.Window.__init__(self)

    Download: Full download

    Changelog:
    A changelog.txt file is included with the download. Below is the most recent list of changes:
    Updated August 27, 2004
    • Implemented PIL Image conversion -- im.save(filename, "GIF") method -- to allow the Emulator scripts to handle multiple image types. (Previously only GIFs were allowed.)

      NOTE: The emulator now REQUIRES that you have PIL installed for it to work properly. If you don't have PIL installed on your PC, you can download it free from this site: http://www.pythonware.com/products/pil/ Began recording changes to changelog.


    Known Issues:
  • Lots, but nothing specific. This script is in too early a stage of development.


  • Future Development:
  • Add graphic and controls for IR Remote in bottom panel, beside controller.
  • Replace xbmc library stubs with actual calls (probably to winamp) for media player functions.
  • Add keyboard bindings to replace mouseclicks on controller/IR Remote graphics.