PDA

View Full Version : SDK where art thou ?



digitaltroglodyte
July 3rd, 2008, 09:17 AM
Box'ers

The SDK was mentioned in the presentation. Any chance I can get my hands on a copy ?

Does Boxee expose any API for extending it ? What about some documentation ?

Gotta love open sores, sorry meant open source :D

digit

tsella
July 3rd, 2008, 10:16 AM
hey there digit,

a proper SDK will come out later this year, however, you can already start hacking python scripts using the guide at our good friends' team-xbmc site (http://xbmc.org/wiki/?title=Building_Scripts).

also, be sure to check out their forums (http://xbmc.org/forum), and specifically the python scripting forum (http://xbmc.org/forum/forumdisplay.php?f=27).

i personally find it most rewarding to look at existing scripts, so check out:

Mac - /Applications/Boxee.app/Contents/Resources/Boxee/scripts/ and /Applications/Boxee.app/Contents/Resources/Boxee/plugins/.

Linux - where ever you built it (boxee for linux will have it under /usr/boxee/scripts & /usr/boxee/plugins) under scripts and plugins.

also, if (when) you need to debug, you can enable debug logging by placing a file called advancedsettings.xml with the following content under:

Mac - ~/Library/Application Support/BOXEE/UserData/

Linux - ~/boxee/UserData/

<advancedsettings>
<loglevel>0</loglevel>
</advancedsettings>

restart and the log will be available under Mac - /var/tmp/xbmc.log, Linux /tmp/xbmc.log

digitaltroglodyte
July 7th, 2008, 11:46 AM
Thanks Tsella I will have a look.

- digit

Gamester17
July 9th, 2008, 10:39 AM
Here are some more information about python in XBMC for those of you who wish to get involved, (both plugins and scripts).

XBMCScripts.com (python scripts for XBMC)
http://www.xbmcscripts.com

Python plugins for XBMC (online repository for plugins with a public SVN)
http://xbmc-addons.googlecode.com/svn/trunk/plugins

XBMC forum for Python Scripts/Plugins Development:
http://xbmc.org/forum/forumdisplay.php?f=26

XBMC forum for Python Scripts/Plugins Support and Requests (new releases of scripts/plugins are also posted here):
http://xbmc.org/forum/forumdisplay.php?f=27

Python Development Tools and modules/libraries for XBMC Scripters:
http://xbmc.org/forum/showthread.php?t=4884

XBMC Online Manual Wiki - Topics about Python:
http://xbmc.org/wiki/?title=Category:Python

HOW-TO write GUI settings for a plugin:
http://xbmc.org/forum/showthread.php?t=29577


Sorry, we do not yet have a tutorial for HOW-TO make python plugins for XBMC.