EPG Genretype problem
#1
So I noticed my EPG Timeline view does not show any background textures for other/unknown genres anymore. Last time I worked on the PVR this worked:

PHP Code:
<control type="image" id="13">
    <
description>other unknown</description>
    <
texture>backgroundtexture.png</texture>
    <
colordiffuse>ff651765</colordiffuse>
    <
visible>stringcompare(ListItem.Property(GenreType),0) | stringcompare(ListItem.Property(GenreType),240)</visible>
</
control

I added stringcompares for the other added values for unknown genre (192,208 and 224) but no effect.
Setting IsEmpty(ListItem,Property(GenreType)) as a condition wouldn't do the trick either.

Am I missing something here, are there more values for unknown?

Cheers,
Jeroen
Reply
#2
Noticed that, too. You can do this as a workaround but you have to use multiple textures.

PHP Code:
<texture border="12" fallback="windows/pvr/genres/0.png">$INFO[ListItem.Property(GenreType),windows/pvr/genres/,.png]</texture

Seems that ListItem.Property(GenreType) is sometimes 10, 20, 30 or whatever if the genre type is 0.
Image
Reply
#3
Yeah, using multiple textures is something I intended to avoid Smile
Reply

Logout Mark Read Team Forum Stats Members Help
EPG Genretype problem0