2011-05-20, 01:00
stoli Wrote:It's the right file... I can't check anything at the moment (iphone access only )but you're on the right track. Make sure you reload the skin after any changes to the XML.
Just tried reloading the skin, still nothing which has me most confused. This is what I now have in there, for when you have a chance. I know it may not catch everything, but I'm quite strict with my naming for TV Shows, so should be fine I think.
Code:
<include name="VideoTypeHackFlaggingConditions">
<control type="image">
<description>WEB-DL Types Image</description>
<width>60</width>
<height>40</height>
<aspectratio>keep</aspectratio>
<texture>flagging/video/web-dl.png</texture>
<visible>substring(ListItem.FilenameAndPath,web-dl)</visible>
</control>
<control type="image">
<description>TV Types Image</description>
<width>60</width>
<height>40</height>
<aspectratio>keep</aspectratio>
<texture>flagging/video/tv.png</texture>
<visible>substring(ListItem.FilenameAndPath,pdtv) | substring(ListItem.FilenameAndPath,dsr)</visible>
</control>
<control type="image">
<description>HDTV Types Image</description>
<width>60</width>
<height>40</height>
<aspectratio>keep</aspectratio>
<texture>flagging/video/hdtv.png</texture>
<visible>substring(ListItem.FilenameAndPath,hdtv)</visible>
</control>
<control type="image">
<description>SDTV Types Image</description>
<width>60</width>
<height>40</height>
<aspectratio>keep</aspectratio>
<texture>flagging/video/custom/sdtv.png</texture>
<visible>substring(ListItem.FilenameAndPath,sdtv) | substring(ListItem.FilenameAndPath,tvrip)</visible>
</control>
<control type="image">
<description>DVD Image</description>
<width>60</width>
<height>40</height>
<aspectratio>keep</aspectratio>
<texture>flagging/video/dvd.png</texture>
<visible>[substring(ListItem.FilenameAndPath,dvd) | substring(ListItem.Filename,.vob,Right) | substring(ListItem.Filename,.ifo,Right)] + !substring(ListItem.FilenameAndPath,hddvd)</visible>
</control>
<control type="image">
<description>Bluray Image</description>
<width>60</width>
<height>40</height>
<aspectratio>keep</aspectratio>
<texture>flagging/video/bluray.png</texture>
<visible>substring(ListItem.FilenameAndPath,bluray) | substring(ListItem.FilenameAndPath,blu-ray) | substring(ListItem.Filename,brrip) | substring(ListItem.Filename,.m2ts,Right) | substring(ListItem.Filename,.bdmv,Right)</visible>
</control>
<control type="image">
<description>HDDVD Image</description>
<width>60</width>
<height>40</height>
<aspectratio>keep</aspectratio>
<texture>flagging/video/hddvd.png</texture>
<visible>substring(ListItem.FilenameAndPath,hddvd) | substring(ListItem.Filename,.evo,Right)</visible>
</control>
</include>