2014-06-10, 09:45
Hi,
I'm trying to learn something about skinning in XBMC and have started to experiment by modding the Confluence skin. My goal is to be able to make a view (mainly to be used with some addons I've been playing around with) that can consist of a menu, submenus and content divided by categories. The Netflix website is a good example of what I'm imagining:
It contains a top menu, with some of the menu items activating a submenu. Below are the videos, where each row is scrollable and represents it's own category.
Now, if I understand correctly, the View gets a bunch of ListItems from the plugin. These ListItems are then presented in a way the skin decides - but I don't really see a way to separate different ListItems from each other? And then, i suppose my current idea of how to achieve this won't work, but maybe there's some way to treat ListItems differently depending on a certain Property, or something like that. Then you could, in the addon, assign, let's say, an 'ItemType'-property to the items and then set this property to either 'Menu', 'Submenu', 'Content1', 'Content2' etc. The skin then places these items accordingly.
However, I have a feeling that this is not possible, from looking at the Thumbnail view in confluence - and that this is something that needs to be done by a script - but I'm hoping some skin expert could prove me wrong
I'm trying to learn something about skinning in XBMC and have started to experiment by modding the Confluence skin. My goal is to be able to make a view (mainly to be used with some addons I've been playing around with) that can consist of a menu, submenus and content divided by categories. The Netflix website is a good example of what I'm imagining:
It contains a top menu, with some of the menu items activating a submenu. Below are the videos, where each row is scrollable and represents it's own category.
Now, if I understand correctly, the View gets a bunch of ListItems from the plugin. These ListItems are then presented in a way the skin decides - but I don't really see a way to separate different ListItems from each other? And then, i suppose my current idea of how to achieve this won't work, but maybe there's some way to treat ListItems differently depending on a certain Property, or something like that. Then you could, in the addon, assign, let's say, an 'ItemType'-property to the items and then set this property to either 'Menu', 'Submenu', 'Content1', 'Content2' etc. The skin then places these items accordingly.
However, I have a feeling that this is not possible, from looking at the Thumbnail view in confluence - and that this is something that needs to be done by a script - but I'm hoping some skin expert could prove me wrong