2015-02-16, 18:09
Hello
Got a problem with a condition for Skin.SetBoll
here is what i try:
Sadli Kodi dont Care about "!IsEmpy(Skin.String(KodiYouTubeUserID))"
No mather if SkinString(KodiYouTubeUserID) is set or not, Kodi sets always the bool for "ShowLeftYoutubeWidgetLiked"
Do i miss probably something?
From my understanding and reading the wiki this shuld work. Shuldnt it?
Thanks in Advance
Got a problem with a condition for Skin.SetBoll
here is what i try:
PHP Code:
<onclick condition="Skin.HasSetting(ShowLeftYoutubeWidgetOwnVideos) + !IsEmpy(Skin.String(KodiYouTubeUserID))">Skin.SetBool(ShowLeftYoutubeWidgetLiked)</onclick>
<onclick condition="Skin.HasSetting(ShowLeftYoutubeWidgetOwnVideos) + IsEmpy(Skin.String(KodiYouTubeUserID))">Skin.SetBool(ShowLeftYoutubeWidgetRecommended)</onclick>
<onclick condition="Skin.HasSetting(ShowLeftYoutubeWidgetOwnVideos)">Skin.Reset(ShowLeftYoutubeWidgetOwnVideos)</onclick>
Sadli Kodi dont Care about "!IsEmpy(Skin.String(KodiYouTubeUserID))"
No mather if SkinString(KodiYouTubeUserID) is set or not, Kodi sets always the bool for "ShowLeftYoutubeWidgetLiked"
Do i miss probably something?
From my understanding and reading the wiki this shuld work. Shuldnt it?
Thanks in Advance