- August 31, 2006
- 2,159
- 2,679
- Home Country
- Sweden
- Moderator
- #1
Hi,
It looks like #itemtype not working in string.equals() statements in skins. Using this;
<visible>string.equals(#itemtype,#(L(528)))</visible>
would work in MP1.2 but does not work in MP1.3 Alpha.
No errors in logs. I have tried the same skin (Avallonis) in MP1.2 and this works and using MP1.3 and it does not work.
To test this;
1. open your mymusicgenres.xml in DefaultWide skin and add this code;
2. Run MP and goto myMusic
3. Switch to Album Artist view and you will see that the new fadelabel does not show as it should.
More info;
1. The #itemtype will be "Album Artist" so this is correct
2. The #(L(528)) will translate into Album Artist
But the evaluate does not do its job properly anymore.
Please let me know if you need more info.
best regards
cul8er
It looks like #itemtype not working in string.equals() statements in skins. Using this;
<visible>string.equals(#itemtype,#(L(528)))</visible>
would work in MP1.2 but does not work in MP1.3 Alpha.
No errors in logs. I have tried the same skin (Avallonis) in MP1.2 and this works and using MP1.3 and it does not work.
To test this;
1. open your mymusicgenres.xml in DefaultWide skin and add this code;
Code:
<control>
<description>Test</description>
<type>fadelabel</type>
<id>1</id>
<posX>20</posX>
<posY>200</posY>
<width>550</width>
<font>font12</font>
<textcolor>FFFFFFFF</textcolor>
<label>Test text</label>
<visible>string.equals(#itemtype,#(L(528)))</visible>
</control>
2. Run MP and goto myMusic
3. Switch to Album Artist view and you will see that the new fadelabel does not show as it should.
More info;
1. The #itemtype will be "Album Artist" so this is correct
2. The #(L(528)) will translate into Album Artist
But the evaluate does not do its job properly anymore.
Please let me know if you need more info.
best regards
cul8er
Last edited: