Posts: 979
Joined: Sep 2013
Hi All,
I hope it is the correct place to post this. But one thing I'd really like the Addon section to support is supporting multiple addon types. At the moment if you have multiple extension points:
Code:
<extension point="xbmc.python.script" library="default.py">
<provides>executable</provides>
</extension>
<extension point="xbmc.python.pluginsource" library="plugin.py">
<provides>video</provides>
</extension>
<extension point="xbmc.ui.screensaver" library="saver.py"/>
Then it will only go into the first section. So in the above example, althought this addon is a Screensaver as well as a program (It's actually from
TvTunes) it will only go into the program section. Ideally I'd love it to go into both sections, as it does provide a screensaver as well.
Is this sort of enhancement possible?
Thanks
Rob
Posts: 17,858
Joined: Jul 2011
Reputation:
371
2015-01-15, 18:23
(This post was last modified: 2015-01-15, 18:25 by Martijn.)
I do not want have extra tags added to the addon.xml
You want to support for that, add it to some database where the dev can log in and put them there.
Posts: 31,445
Joined: Jan 2011
Why? I mean, it works, and it works really well. Why do something far more complicated just to achieve the same end?
Posts: 4,047
Joined: Oct 2007
Reputation:
88
zag
Team-Kodi Member
Posts: 4,047
Yeh I'd like to keep it as simple as possible.
Adding extra metadata would be a huge task, but could see some nice improvements.
Seems a very very big project though, just to get a Youtube link into the site.
I'm not sure that a video would be updated all that often, or have multiple videos. Maybe we just make a rule that this is not allowed?
Posts: 31,445
Joined: Jan 2011
2015-01-15, 21:19
(This post was last modified: 2015-01-15, 21:19 by Ned Scott.)
(2015-01-15, 19:41)Martijn Wrote: (2015-01-15, 19:16)Ned Scott Wrote: Why? I mean, it works, and it works really well. Why do something far more complicated just to achieve the same end?
Every time you want to update the video or link you have to update the addon you have to update it in repo. That just plain stupid design.
Adding multiple videos in there becomes a complete mess.
Isn't that the same for wanting to update the description or updating the forum link? :)
Posts: 6,251
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,251
well, our addon reviewers have to do the entire review process for any submitted addon update, and having to do it only because one adds a youtube link to the addon.xml doesn't sound great to me, given that it's all done in sparetime and that this time is better spent on "real" updates. Also, decoupling secondary metadata from the files might not be a bad idea in general (also for stuff like forum links etc). And if nobody would ever voice against hacks, nobody would take the lead and finally do it properly. Thing is, doing it properly is more work, but this only once, because once it's done properly more and more additions can be made much more easily. So in summary you should even save time.
It's the same like with buying cheap stuff which you very often have to buy twice because it breaks down and then end up paying way more than for the higher quality product. So can we afford to buy cheap here? It's one guy saving some time for the addon frontend implementation vs several reviewers having to spend heaps of additional times for unnecessary addon update reviews.
Posts: 979
Joined: Sep 2013
Can I suggest a mix of the 2 approaches.
Can we add this additional information (Videos etc) to the existing Wiki e.g.
http://kodi.wiki/view/Add-on:TvTunes
A bit like the section at the top of the wiki that is used to generate the table on the right of the page.
Add a section like:
Code:
{{AddonExtras
|Video=myvideo.avi
|Screenshot=myscreenshot.jpg
}}
Then any script can go:
Code:
Addon -> Wiki -> AddonExtras
If you sort of follow.
This saves any other DB, and users that put info on the wiki can also get extra data (Might also encourage users to write up some documentation on the wiki for their addons)
Rob