2015-05-19, 10:15
Hi,
The skin I use have widgets and I've just notice that when selecting an album the cdart is not displaying.
It uses a var like so to populate the cdart:
For reference,
Label is returning - Artist
Label2 is returning - Album name
As you can see I'm playing around to determine what is wrong and the issue I have is putting the actual Album folder name / path into the value. I've checked the wiki etc but couldn't find anything that holds the folder name / path.
I've tried, Listitem.folder, path, but no luck so far.
Anyone know if there is a propery for this and what it is or perhaps another solution to correct this var and have cdart work correctly in the widget?
Thanks,
Mike.
The skin I use have widgets and I've just notice that when selecting an album the cdart is not displaying.
It uses a var like so to populate the cdart:
Code:
<variable name="cdARTWidget1Var">
<!--value condition="Stringcompare(Skin.String(LibraryStructure),1)">$INFO[Skin.String(ArtistsLogosPath)]$INFO[Window(home).Property(Label2)]\$INFO[Window(home).Property(Label)]\cdart.png</value>
<value condition="Stringcompare(Skin.String(LibraryStructure),2)">$INFO[Skin.String(ArtistsLogosPath)]$INFO[Window(home).Property(Label2)]\$INFO[Window(home).Property(Year)] - $INFO[Container(5010).ListItem.Label,,\cdart.png]</value>
<value condition="Stringcompare(Skin.String(LibraryStructure),3)">$INFO[Skin.String(ArtistsLogosPath)]$INFO[Window(home).Property(Label2)]\$INFO[Container(5010).ListItem.Label] $INFO[Window(home).Property(Year),(,)\cdart.png]</value>
<value condition="Stringcompare(Skin.String(LibraryStructure),4)">$INFO[Skin.String(ArtistsLogosPath)]$INFO[Window(home).Property(Label2)] - $INFO[Container(5010).ListItem.Label] $INFO[Window(home).Property(Year),(,)\cdart.png]</value-->
<value>$INFO[Skin.String(ArtistsLogosPath)]$INFO[Window(home).Property(Label2)]\$INFO[Container(5010).ListItem.folder]\cdart.png]</value>
<!--value>$INFO[Skin.String(ArtistsLogosPath)]/$INFO[Window(home).Property(Label2)]/$INFO[Window(home).Property(Label)]/cdart.png]</value-->
</variable>
For reference,
Label is returning - Artist
Label2 is returning - Album name
As you can see I'm playing around to determine what is wrong and the issue I have is putting the actual Album folder name / path into the value. I've checked the wiki etc but couldn't find anything that holds the folder name / path.
I've tried, Listitem.folder, path, but no luck so far.
Anyone know if there is a propery for this and what it is or perhaps another solution to correct this var and have cdart work correctly in the widget?
Thanks,
Mike.