Kodi Community Forum

Full Version: Showing view only for Addons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

Would Like to show a View only if the Content are Addons (In Addonbrowser) so i set the "<visible>" to

Code:
<visible>Window.IsVisible(AddonBrowser) + Container.Content(Addons)</visible>

but the view is also selectable while choosing Addon Cathegories (MusicAddons, Pictue Addons and so on)

Did i do a Mistake, or did i just misunderstand the wiki
Quote:also available are Addons true when a list of add-ons is shown
, ?

However are there Workarounds?

did already try "!ListItem.IsFolder" which works as long the "Backbutton" isnt on focus (which cause in this case the whole view to disapear)

Regards.


--------------------

EDIT:


looks horrible that way:
Image
I used !IsEmpty(Container.FolderPath) for fTV.
Thanks for the reply

"!IsEmpty(Container.FolderPath)" didnt work, but "Container.HasFiles" did the trick for me.

Thanks