2015-03-29, 20:20
As for hiding one when they're both the same try using -
Code:
<visible>!StringCompare(Label_1,Label_2)</visible>
<visible>!StringCompare(Label_1,Label_2)</visible>
StringCompare(Container.FolderPath,Skin.String(vnodes1.path))
SubString(Container.FolderPath,$INFO[Skin.String(vnodes1.path)])
<value condition="Window.IsVisible(MyVideoNav.xml) + StringCompare($INFO[Container.FolderPath],Skin.Setting(vnodes1.path))">TV SHOWS</value>
<value condition="Window.IsVisible(MyVideoNav.xml) + StringCompare(Container.FolderPath,$INFO[Skin.String(vnodes1.path)])
<value condition="Window.IsVisible(MyVideoNav.xml) + SubString(Container.FolderPath,$INFO[Skin.String(vnodes1.path)])">TV SHOWS</value>
<label>$INFO[Container.FolderPath] / $INFO[Skin.String(vnodes1.path)]</label>
(2015-04-21, 03:24)miketurn1234 Wrote: Thank You again Hitcher for your response.Should work then. Have you tried this?
If you are still interested in this topic, I will split my response into to replies.
Okay, so first off I applied your "Test Label" above in the skin I am working on.
Test Label Part 1 - The "Container.Folderpath" part of the label returns the current folder path you are in when you enter the video nodes file navigation screen, which makes sense.
Test Label Part 2 - This part returns the path of the video node itself, which makes sense.
When I first enter the video node, the two parts of the test label are identical.
When I go into a subfolder within the video node, the first part of the test label changes adding the name of that subfolder to the end of the file path and the second part of the test label still stays the same, showing the path of the vnode.
Not sure exactly what to do with that information, but I figured I would share this with you if you see anything here that stands out.
<value condition="Window.IsVisible(videolibrary) + SubString(Container.FolderPath,$INFO[Skin.String(vnodes1.path)])">TV SHOWS</value>
<value condition="Window.IsVisible(videolibrary) + SubString(Container.FolderPath,$INFO[Skin.String(vnodes1.path)],left)">TV SHOWS</value>
<value condition="Window.IsVisible(MyVideoNav.xml) + SubString(Container.FolderPath,C:\FILES\TV SHOWS)">TV SHOWS</value>