Problem with Skin.SetBool condition
#1
Hello

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
Reply
#2
IsEmpy != IsEmpty
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#3
?

Not shure what you try to say with
Quote:IsEmpy != IsEmpty

Could you explain this a bit futher
Reply
#4
You've made a typo. Wink
Reply
#5
Lol. shame on me!

did ckeck the stringname more than twice but simply overlooked that one!

Thanks!

:whistle:
Reply

Logout Mark Read Team Forum Stats Members Help
Problem with Skin.SetBool condition0