Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
having them in the add-on dir is just fine (and makes the most sense) as long as they don't dump any data to that dir.
Posts: 871
Joined: Jun 2009
Reputation:
0
I'm using latest svn from today and I try to execute getAddonInfo("profile")
gets Error.
Posts: 126
Joined: Oct 2009
Reputation:
5
spbogie
Skilled Python Coder
Posts: 126
Perhaps this has already been mentioned and I just missed it, but any chance of an xbmc.python.sharedlib type extension point? Would be nice to be able to have things like CryptoPy, simplejson, etc... in their own addons (and potentially included in the repositories) and just listed as requirements as opposed to being repeatedly included in every addon that needs them.
Posts: 152
Joined: Mar 2009
Reputation:
0
Being able to reference stuff as pre-req and have them automatically installed would really be cool. But that should be something like "xbmc.python.module", not "sharedlib". In the meantime, you can always manually move this stuff into system/python/Lib and not worry about it. The hulu plugin uses CryptoPy but we just tell people to install it themselves, not bundle it into the plugin.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
I'm working on python modules at the moment. pysqlite2, cryptopy, pil will certainly be available. Will add simplejson to the list. XBMC will provide these for you. If the python module is non-binary then you can do one up yourself and we'll be happy to have it in the repo.
Cheers,
Jonathan
Posts: 26,215
Joined: Oct 2003
Reputation:
187
You don't need a directory with the id of the addon. Hitcher has a repository for Alaska Revisited on google code - pop over to the skin forums and see how he did it.
Cheers,
Jonathan