Kodi Community Forum
program location and xml - Printable Version

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



program location and xml - laxtrappa - 2012-08-20

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

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

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.