2014-02-04, 02:18
Hello
is there a Way to check if a Smartplaylist got Files/Content to set the Visible according to this?
would like to show the Menuitem just if "special://skin/playlists/Documentarys/Dokus.xsp" got Files in it, acording to "Container.Content(movies)"
Think about a Stringcompare or something. But at the Moment no clue what could do the job.
Regards.
--------------
EDIT:
O.K. Propably i miss something Simple & Stupid?
i try it with "Library.HasContent(special://skin/playlists/Documentarys/Dokus.xsp)" as i do it in the Widget
and i try it with "!IsEmpty(special://skin/playlists/Documentarys/Dokus.xsp)"
both with no Luck. (Item wont show up!)
Did think about a Syntax mistake and did try also
no clue
EDIT2:
Just beacause i feel Funny i try also:
lol. but as you shurely guess - No Luck.
is there a Way to check if a Smartplaylist got Files/Content to set the Visible according to this?
PHP Code:
<item id="21">
<description>Documentary</description>
<label>31961</label>
<icon>special://skin/backgrounds/documentary.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Docu_Folder)]</thumb>
<onclick>XBMC.ActivateWindow(10025,special://skin/playlists/Documentarys/Dokus.xsp,return)</onclick>
<visible>!Skin.HasSetting(HomeMenuNoDocuButton) + ???</visible>
</item>
would like to show the Menuitem just if "special://skin/playlists/Documentarys/Dokus.xsp" got Files in it, acording to "Container.Content(movies)"
Think about a Stringcompare or something. But at the Moment no clue what could do the job.
Regards.
--------------
EDIT:
O.K. Propably i miss something Simple & Stupid?
i try it with "Library.HasContent(special://skin/playlists/Documentarys/Dokus.xsp)" as i do it in the Widget
and i try it with "!IsEmpty(special://skin/playlists/Documentarys/Dokus.xsp)"
both with no Luck. (Item wont show up!)
Did think about a Syntax mistake and did try also
PHP Code:
<visible>!Skin.HasSetting(HomeMenuNoDocuButton) + Library.HasContent(playlist=special://skin/playlists/Documentarys/Dokus.xsp)</visible>
no clue
EDIT2:
Just beacause i feel Funny i try also:
PHP Code:
StringCompare(playlist=special://skin/playlists/Documentarys/Dokus.xsp.NumItems,IntegerGreatherThan(NumItems,0)
lol. but as you shurely guess - No Luck.