(2013-12-30, 22:36)Bstrdsmkr Wrote: ..or don't go the extra mile to support certain things.
It is already so much work. Like seriously, you have to be doing it for yourself or you are going to land on the huge pile of unfinished wip skins. I already don't use 40% of the required stuff that still needs to go in the skin. Well fair enough, that's a standard. But then there are addons that don't even work in my country, which is kind of where it ends for me.
(2013-12-30, 22:59)tomboalogo Wrote: One question that came to mind - for add ons there are different views (list, thumbnail, Media info 1, media info 2, etc.). Where do those 'live'? The add-on developer creates his/her add-on, chooses to support some or all of the above, then what? Is the appearance totally controlled by the skin? Is it the skin + some basic conventions enforced by XBMC? Can the skin declare "when this skin does a list it'll be on the right instead of the left like everyone else"?
A skinner makes a bunch of views in a skin. At least one basic default list, and usually one thumbnails view, that both work on everything. The other views are either specialized (to f.e. albums or movie posters) or specialization can be set by user (i.e use square thumbs instead of posters in this view). And then those views will be limited to the content type they were made for. One of the problems with plugins not getting access to those views is them not setting (or having?) the content type needed to make the view available. Which is sometimes worked around by a skin enabling a view to the one specific plugin. Or making a view for a specific plugin. Both are not ideal, and communication between skin and plugin could be better.
In my opinion a plugin would ideally know what content is is providing on a per folder basis, and have it set accordingly. This would get you the same viewtypes you would normally have for that content type. But i doubt all plugins know what exactly they provide at all times. Might not be so easy for something like youtube, i dunno.
[edit]
@
Bstrdsmkr I don't want to de-rail the conversation about folder depth. And this won't help addons that provide their own UI the same way as for example globalsearch. But for plugins (folders) to get access to more views i believe you'd have to set one of the following.
Code:
xbmcplugin.setProperty(handle, key, value)
xbmcplugin.setContent(handle, content)
As the views look at (
no 4 on the list):
Code:
Container.Content(parameter)