@DaVu : Das wäre cool!
Ich hat das so schon mal über den Pfad/Dateinamen realisiert gehabt in der Datei 'includes.xml"
Code
...
<include content="MediaFlag">
<param name="texture" value="$INFO[$PARAM[infolabel_prefix]ListItem.AudioCodec,flags/audiocodec/,.png]"/>
<param name="visible" value="!String.IsEmpty($PARAM[infolabel_prefix]ListItem.AudioCodec)"/>
</include>
<include content="MediaFlag">
<param name="texture" value="flags/audiocodec/atmos.png"/>
<param name="visible" value="String.Contains($PARAM[infolabel_prefix]ListItem.Filenameandpath,.atmos.) | String.Contains($PARAM[infolabel_prefix]ListItem.Filenameandpath,atmos)"/>
</include>
<include content="MediaFlag">
<param name="texture" value="flags/audiocodec/dtsx.png"/>
<param name="visible" value="String.Contains($PARAM[infolabel_prefix]ListItem.Filenameandpath,.dtsx.) | String.Contains($PARAM[infolabel_prefix]ListItem.Filenameandpath,dtsx)"/>
</include>
<include content="MediaFlag">
<param name="texture" value="flags/audiocodec/auro.png"/>
<param name="visible" value="String.Contains($PARAM[infolabel_prefix]ListItem.Filenameandpath,.auro.) | String.Contains($PARAM[infolabel_prefix]ListItem.Filenameandpath,auro)"/>
</include>
...
Alles anzeigen