2009-08-21, 09:54
I have a lot of mkv files with dual audio: one flac and one ac-3 or dts, and I'd like XBMC to display the 'Flac' flag if a flac track is listed in the nfo. I use Native flagging, so I edited the 'Includes_MovieMediaFlags.xml', and added this:
after this line: Now the Flac flag is displayed, but only when flac is the only audio codec listed in the .nfo, if an ac3 audiotrack is present, XBMC displays the DD5.1 flag. how can i make Flac to be "higher piority" then ac3?
Code:
<control type="image">
<include>MovieMediaflagsVars</include>
<texture>special://skin/images/flags/movies/audiocodec/flac.png</texture>
<visible>substring(listitem.AudioCodec,flac)</visible>
</control>
Code:
<!-- Audio Codec (Native) -->