Strange Problem with variable content (for Addons)
#1
Got a Strange Problem with Variable Content (Addons)

this works:

PHP Code:
<content target="$VAR[WidgetTarget]">addons://sources/video/</content> 

this dont: (?)

PHP Code:
<content target="$VAR[WidgetTarget]">Focus(1)Widget-Left</content

PHP Code:
<variable name="Focus(1)Widget-Left">
        <
value condition="Skin.HasSetting(LeftAddonWidgetShow-VideoAddons)">addons://sources/video/</value> 
        
<value condition="Skin.HasSetting(LeftAddonWidgetShow-MusicAddons)">addons://sources/audio/</value>
        
<value condition="Skin.HasSetting(LeftAddonWidgetShow-PictureAddons)">addons://sources/images/</value>
        
<value condition="Skin.HasSetting(LeftAddonWidgetShow-ProgramAddons)">addons://sources/executable/</value>
        
<value condition="Skin.HasSetting(LeftAddonWidgetShow-Nothing)"></value>
        <
value>addons://sources/video/</value>
    
</variable

No Idea Why. struggling around with this for a hour or so, no Idea left what i could have done Wrong.
Reply
#2
(2015-09-21, 21:33)Rantanplan-1 Wrote: this dont: (?)

PHP Code:
<content target="$VAR[WidgetTarget]">Focus(1)Widget-Left</content

that should be $VAR[Focus(1)Widget-Left] no?
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Dam in such a xxxx

Thanks. Dam did try everything but that one didnt jump in my eye.

Think i shuld stop skinning for Today. Undecided Sad Undecided

Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
Strange Problem with variable content (for Addons)0