Dual Language Flag Support
#1
Hi,
I have a lot of Films with two languages.
Code:
<fileinfo>
    <streamdetails>
      <video>
        <width>1920</width>
        <height>800</height>
        <codec>h264</codec>
        <duration>2h 59mn</duration>
        <aspect>2.400</aspect>
        <scantype>Progressive</scantype>
      </video>
      <audio>
        <language>deu</language>
        <longlanguage>German</longlanguage>
        <codec>ac3</codec>
        <channels>6</channels>
      </audio>
      <audio>
        <language>eng</language>
        <longlanguage>English</longlanguage>
        <codec>dca</codec>
        <channels>6</channels>
      </audio>
      <subtitle>
        <language>deu</language>
        <longlanguage>German</longlanguage>
      </subtitle>
    </streamdetails>
  </fileinfo>
How can I add support for show twi language flags?
Thanks for help.
Reply
#2
Take a look here:

http://forum.xbmc.org/showthread.php?tid=69785
Reply
#3
Thank you, but this thread I had found.
I won't a DL flag, I will two flags with example "GER" and "EN".
And the language is into the .nfo and not ever at the title.
My Includes_MediaFlags.xml:
Code:
                <control type="label">
                    <label>$INFO[ListItem.AudioLanguage]</label>
                    <posx>30</posx>
                    <posy>-1</posy>
                    <width>56</width>
                    <include>PosterMediaFlagsVars</include>
                    <font>Font_Flags_Large</font>
                    <textcolor>FlagText</textcolor>
                    <visible>!IsEmpty(ListItem.AudioLanguage)</visible>
                </control>
I hope you understand me, my english is very bad.
Reply
#4
From the skin we can only access the first language found.
Reply
#5
I propose to use mkvtoolnix and move the position of the German audio stream to first position within MKV. By default all movie is in English, but if it is German you see the indication on the UI in the end. Should work fine.
Reply
#6
@Hitcher OK, thank you, I hope this feature come in the future for xbmc.

@sircube Nice idea.
Reply

Logout Mark Read Team Forum Stats Members Help
Dual Language Flag Support0