What are the reasons you don't submit your addon to official repo?
#51
(2013-02-16, 00:34)`Black Wrote: I can't even include a script which does nothing more than

PHP Code:
HOME xbmcgui.Window(10000)

HOME.setProperty(sys.argv[1],'1')
xbmc.sleep(300)
HOME.clearProperty(sys.argv[1]) 

I mean I can create an extra add-on but I think it's kind of silly to do that.

it would really be a pity if it would keep you from submitting your skin :-(

i'd like to share my thoughts on why scripts shouldn't be included (although some may be mood):
- it somehow goes against as to what a skin is. it's just a gui, a look and feel, a dumb interface.
it should not contain executable code (or run arbitrary commands) by itself.
- if the script contains a bug, it would require an entire skin update to correct it
- if we should allow it, where to draw the line...5 lines of code, 10, 50?


as mentioned before, it's perfectly fine to submit it as a separate addon.
and if you extend the functionality a bit, it might be quite useful for other skins as well:
- make the window id configurable
- make the sleep time configurable
- make the property name (already is) and property value configurable
- optionally add a 'loop' setting. that way it can for instance be used to continuously display two alternating items on a screen.


one other thought (thinking out loud) is to collect a number of such skin specific script into one addon.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply


Messages In This Thread
RE: What are the reasons you don't submit your addon to official repo? - by ronie - 2013-02-16, 01:11
Logout Mark Read Team Forum Stats Members Help
What are the reasons you don't submit your addon to official repo?0