Thread Rating:
  • 0 Vote(s) - 0 Average
Flag flac in mkv
#1
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:
Code:
<control type="image">
  <include>MovieMediaflagsVars</include>
  <texture>special://skin/images/flags/movies/audiocodec/flac.png</texture>
  <visible>substring(listitem.AudioCodec,flac)</visible>
  </control>
after this line:
Code:
<!--  Audio Codec (Native)   -->
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?
Reply
#2
r1ctus Wrote: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:
Code:
<control type="image">
  <include>MovieMediaflagsVars</include>
  <texture>special://skin/images/flags/movies/audiocodec/flac.png</texture>
  <visible>substring(listitem.AudioCodec,flac)</visible>
  </control>
after this line:
Code:
<!--  Audio Codec (Native)   -->
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?

you can't.
xbmc indeed uses a priority system when multiple audio streams are available.
the stream with the most audiochannels will take preference over all other streams.
some more info: http://forum.xbmc.org/showpost.php?p=347...tcount=342
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
ronie Wrote:you can't.
xbmc indeed uses a priority system when multiple audio streams are available.
the stream with the most audiochannels will take preference over all other streams.
some more info: http://forum.xbmc.org/showpost.php?p=347...tcount=342

thanks for the info! i hope the priority will be soon editable, until then i'll just write one channel less for the ac3 track in the nfo.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Flag flac in mkv00