[solved] SubString doesnt work as expected (label disapear if Item "new tag" is on F
#1
substring doesnt work as expected

PHP Code:
<value condition="Window.IsVisible(videos) + [SubString(ListItem.FolderPath,videodb://movies/,left) | Container.Content(movies)]">$LOCALIZE[342]</value

videolibrary -> Movies -> TAG's: if "new Tag" is on focus the Label "342" disapear. my debbugging info tells me that the Folderpath didnt chanched for this item ("videodb://movies/tags/") so i cant see any Reason why this label should disapear if the Item "new Tag" is on Focus. (Im on Jarvis)

(i did also delete every other value in this variable to be shure there isnt a conflict anywhre, didnt chanche anithing)

confused Undecided Huh
Reply
#2
my debuginfo tells me it did change Smile

Code:
newtag://movies/
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
O.K.

strange,

thanks

my Label ("Custom_Debugging_Overlay.xml")

PHP Code:
<!-- Path label -->

        <
control type="label">
            <
posx>15r</posx>
            <
posy>78</posy>
            <
width>890</width>
            <
height>21</height>
            <
textcolor>FFFF0000</textcolor>
            <
shadowcolor>black</shadowcolor>
            <
font>font13</font>
            <
align>right</align>
            <
label>[COLOR=FF00FF00]$INFO[Container.FolderName,, - ][/COLOR]$INFO[Container.FolderPath]</label>
            <!--
scroll>true</scroll-->
            <
visible>Skin.HasSetting(DebugInfo)</visible>
        </
control

EDIT:

Did also try to use this label directly in "myvideonav.xml" -> same results. (So no idea why i get different infos there.)
Reply
#4
you're using Listitem.FolderPath in your substring and Container.FolderPath in your debuginfo ;-)
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
#5
damed..

Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
[solved] SubString doesnt work as expected (label disapear if Item "new tag" is on F0