Hello manfeed, I somehow managed to get the colored flags show up nicely by editing inclueds.xml, however I have also tried to get Audio language and subtitle language colored flags to show up and they do show up but the problem is it only shows one language as shown in the screenshots
here is what I did
I extracted the Textures.xbt file and put the files and folders inside media folder, also grabbed a subtitles flags folder from another mode and put it inside flags folder, I then edited inclueds.xml file
Audio Language
From this:
Code:
<control type="label">
<left>60</left>
<top>-3</top>
<width>555</width>
<height>38</height>
<aligny>top</aligny>
<font>Font_18A</font>
<label>$INFO[ListItem.Property(AudioLanguage.1)]$INFO[ListItem.Property(AudioLanguage.2), / ]$INFO[ListItem.Property(AudioLanguage.3), / ]$INFO[ListItem.Property(AudioLanguage.4), / ]$INFO[ListItem.Property(AudioLanguage.5), / ]$INFO[ListItem.Property(AudioLanguage.6), / ]$INFO[ListItem.Property(AudioLanguage.7), / ]$INFO[ListItem.Property(AudioLanguage.8), / ]$INFO[ListItem.Property(AudioLanguage.9), / ]$INFO[ListItem.Property(AudioLanguage.10), / ]</label>
<textcolor>FFFFFAF0</textcolor>
<scroll>true</scroll>
<scrollout>false</scrollout>
<visible>!Control.IsVisible(71)</visible>
</control>
To this:
Code:
<control type="image">
<left>60</left>
<top>-3</top>
<width>auto</width>
<height>auto</height>
<texture>$INFO[ListItem.Property(AudioLanguage.1),flags/subtitles/flags/,.png]</texture>
<aligny>top</aligny>
<font>Font_18A</font>
<label>$INFO[ListItem.Property(AudioLanguage.1)]$INFO[ListItem.Property(AudioLanguage.2), / ]$INFO[ListItem.Property(AudioLanguage.3), / ]$INFO[ListItem.Property(AudioLanguage.4), / ]$INFO[ListItem.Property(AudioLanguage.5), / ]$INFO[ListItem.Property(AudioLanguage.6), / ]$INFO[ListItem.Property(AudioLanguage.7), / ]$INFO[ListItem.Property(AudioLanguage.8), / ]$INFO[ListItem.Property(AudioLanguage.9), / ]$INFO[ListItem.Property(AudioLanguage.10), / ]</label>
<textcolor>FFFFFAF0</textcolor>
<scroll>true</scroll>
<scrollout>false</scrollout>
<visible>!Control.IsVisible(71)</visible>
</control>
Subtitle Language
From this:
Code:
<control type="label">
<left>60</left>
<top>42</top>
<width>555</width>
<height>38</height>
<aligny>top</aligny>
<font>Font_18A</font>
<label>$INFO[ListItem.Property(SubtitleLanguage.1)]$INFO[ListItem.Property(SubtitleLanguage.2), / ]$INFO[ListItem.Property(SubtitleLanguage.3), / ]$INFO[ListItem.Property(SubtitleLanguage.4), / ]$INFO[ListItem.Property(SubtitleLanguage.5), / ]$INFO[ListItem.Property(SubtitleLanguage.6), / ]$INFO[ListItem.Property(SubtitleLanguage.7), / ]$INFO[ListItem.Property(SubtitleLanguage.8), / ]$INFO[ListItem.Property(SubtitleLanguage.9), / ]$INFO[ListItem.Property(SubtitleLanguage.10), / ]</label>
<textcolor>FFFFFAF0</textcolor>
<scroll>true</scroll>
<scrollout>false</scrollout>
<animation effect="slide" end="0,-42" time="0" tween="sine" easing="out" condition="IsEmpty(ListItem.Property(AudioLanguage.1))">Conditional</animation>
<visible>!Control.IsVisible(71)</visible>
</control>
To this:
Code:
<control type="image">
<left>60</left>
<top>42</top>
<width>auto</width>
<height>auto</height>
<texture>$INFO[ListItem.Property(SubtitleLanguage.1),flags/subtitles/flags/,.png]</texture>
<aligny>top</aligny>
<font>Font_18A</font>
<label>$INFO[ListItem.Property(SubtitleLanguage.1)]$INFO[ListItem.Property(SubtitleLanguage.2), / ]$INFO[ListItem.Property(SubtitleLanguage.3), / ]$INFO[ListItem.Property(SubtitleLanguage.4), / ]$INFO[ListItem.Property(SubtitleLanguage.5), / ]$INFO[ListItem.Property(SubtitleLanguage.6), / ]$INFO[ListItem.Property(SubtitleLanguage.7), / ]$INFO[ListItem.Property(SubtitleLanguage.8), / ]$INFO[ListItem.Property(SubtitleLanguage.9), / ]$INFO[ListItem.Property(SubtitleLanguage.10), / ]</label>
<textcolor>FFFFFAF0</textcolor>
<scroll>true</scroll>
<scrollout>false</scrollout>
<animation effect="slide" end="0,-42" time="0" tween="sine" easing="out" condition="IsEmpty(ListItem.Property(AudioLanguage.1))">Conditional</animation>
<visible>!Control.IsVisible(71)</visible>
</control>
And here are the results before and after the changes, and like I said it only shows one language after applying the code:
http://i.imgur.com/7CPmofS.jpg?1
http://i.imgur.com/C7blYIR.jpg?1
http://i.imgur.com/vm8NuDE.jpg?1
http://i.imgur.com/ur7oPzE.jpg?1
I don't know how to edit the texture code to show up all Languages
By the way my Kodi version is 16.1 Jarvis
and these are my specs
Operating System
Windows 7 Ultimate 64-bit SP1
CPU
Intel Core i7 2600K @ 3.40GHz 57 °C
Sandy Bridge 32nm Technology
RAM
16.0GB Dual-Channel DDR3 @ 665MHz (9-9-9-24)
Motherboard
Gigabyte Technology Co. Ltd. Z77-D3H (Intel Core i7-2600K CPU @ 3.40GHz) 28 °C
Graphics
HP 2311 (1920x1080@60Hz)
1023MB NVIDIA GeForce GTX 560 Ti (ASUStek Computer Inc) 38 °C
Storage
931GB Western Digital WDC WD10EZRX-00A8LB0 (SATA) 30 °C
3726GB Western Digital WDC WD40PURX-64GVNY0 (SATA) 35 °C
1863GB Western Digital WDC WD20EARX-00PASB0 (SATA) 30 °C
465GB Western Digital WDC WD5000AVDS-73U7B1 (SATA) 34 °C
Optical Drives
ATAPI iHAS322
Audio
NVIDIA High Definition Audio