(2015-06-23, 17:11)Devian Wrote: This will help me alot,
if a plugin needs to be replace, this cannot be done from the skin-settings itself? Need to be done this way again?
If yes,
Is there a way to creat a custom hub with the option to add icons, plugins etc all from the skin-settings menu?
(2015-07-06, 17:43)zeevgrim Wrote: how can i enter the setting of this hub from the setting of the theme ?
It isn't possible unless someone will do the work to create such a settings view for a custom hub.
As I'm only using such skin hacks for personal use and I'm totally fine with setting everything straight
within the XML files, I don't have the motivation to do so. Probably it's also not that hard to use the XML
code from the existing Eminence settings view and just change some ids and of course the variable names.
But for me personally it's more efficient to make changes just directly within the XML file as I didn't had
to change any item yet since the setup. And if there is a need to change an element, it would only take two
minutes via XML.
![Smile Smile](https://forum.kodi.tv/images/smilies/smile.png)
It's up to you if you want to check the Eminence settings and try to copy some
code to add your own configurable variables or also just use a text editor.
(2015-07-09, 19:03)zeevgrim Wrote: and how can i change his bg ?
Get the background widget working for custom hubs:
1. Navigate to
skin.eminence/1080i
2. Open file
Includes_WindowContent.xml and go to:
Code:
<variable name="GlobalFanart">
[...]
<value condition="!IsEmpty(Container(9501).ListItem.Art(fanart)) + [Window.IsVisible(3201) | Window.IsVisible(3202)]">$INFO[Container(9501).ListItem.Art(fanart)]</value>
<value condition="IsEmpty(Container(9501).ListItem.Art(fanart)) + [Window.IsVisible(3201) | Window.IsVisible(3202)]">$INFO[Container(9501).ListItem.Icon]</value>
[...]
</variable>
3. Just add the Window.IsVisible condition for your custom hubs (e.g for a hub with ID 3205):
Code:
<variable name="GlobalFanart">
[...]
<value condition="!IsEmpty(Container(9501).ListItem.Art(fanart)) + [Window.IsVisible(3201) | Window.IsVisible(3202) | Window.IsVisible(3205)]">$INFO[Container(9501).ListItem.Art(fanart)]</value>
<value condition="IsEmpty(Container(9501).ListItem.Art(fanart)) + [Window.IsVisible(3201) | Window.IsVisible(3202) | Window.IsVisible(3205)]">$INFO[Container(9501).ListItem.Icon]</value>
[...]
</variable>
Or alternatively:
Set alternative background image for custom hubs:
1. Navigate to
skin.eminence/1080i
2. Open file
Includes_WindowContent.xml and go to:
Code:
<variable name="GlobalFanart">
[...]
</variable>
3. Add a first line with a proper condition and value for the bg image (e.g for showing a static bg on a hub with ID 3205):
Code:
<variable name="GlobalFanart">
<value condition="Window.IsVisible(3205)">path/to/image.png</value>
[...]
</variable>
cheers