Kodi Community Forum
program location and xml - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Python Add-on Development (/forumdisplay.php?fid=26)
+--- Thread: program location and xml (/showthread.php?tid=138675)



program location and xml - laxtrappa - 2012-08-20 12:54

I'm trying to follow this guide:

http://wiki.xbmc.org/index.php?title=HOW-TO:Write_Python_Scripts_for_XBMC

however, it mentions nothing about where i'm supposed to put the
file and if i need an xml file to go along with it.

so... how is it done?


RE: program location and xml - spiff - 2012-08-20 15:40

a script is (typically) packaged up as an add-on. see http://wiki.xbmc.org/index.php?title=Add-on_development


RE: program location and xml - laxtrappa - 2012-08-20 17:41

thanks.
i found out that if i make a dir called 'script.myscript' with an
addon.xml pointing to an addon.py, it shows up correctly
in xbmc's "programs" menu, the way i wanted it to.
so this answers my own question.