Solved ListItem.Property(AudioLanguage.1) not showing all language logos
#1
hello
I have this issue with aeon mq6 spin jarvis mod , I want to show the colored flags(.png) files to show for both audio language and subtitle language,
my problem is with this code in includes.xml file <texture>$INFO[ListItem.Property(AudioLanguage.1),flags/subtitles/flags/,.png]</texture> no matter what I change it either shows one langauge or nothing, but the label code shows all languges in text without problem
originally the code was like this for SubtitleLanguage, it is almost the same for AudioLanguage
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>

I changed it into:
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>

Here is the result:
Image
http://i.imgur.com/vm8NuDE.jpg?1

Image
http://i.imgur.com/ur7oPzE.jpg?1

I even tried to change the texture code without success
from this
Code:
<texture>$INFO[ListItem.Property(SubtitleLanguage.1),flags/subtitles/flags/,.png]</texture>

to this
Code:
<texture>$INFO[ListItem.Property(SubtitleLanguage.1),flags/subtitles/flags/,.png], $INFO[ListItem.Property(SubtitleLanguage.2),flags/subtitles/flags/,.png] $INFO[ListItem.Property(SubtitleLanguage.3),flags/subtitles/flags/,.png]</texture>

I really appreciate some help here, I have spent the past 48 hours trying to figure it out.
Reply
#2
First mistake , you can mess label and images

Second mistake :Texture is for image .
You only have one properties for image,and that working.
PHP Code:
<texture>$INFO[ListItem.Property(SubtitleLanguage.1),flags/subtitles/flags/,.png]</texture
<texture>$INFO[ListItem.Property(SubtitleLanguage.1),flags/subtitles/flags/,.png] $INFO[ListItem.Property(SubtitleLanguage.2),flags/subtitles/flags/,.png] $INFO[ListItem.Property(SubtitleLanguage.3),flags/subtitles/flags/,.png] $INFO[ListItem.Property(SubtitleLanguage.4),flags/subtitles/flags/,.png]</texture>
You must create as horisontal list with properties

same is for audio
XBoxMediaCenter (Kodi Matrix ) 19.3 , AndroidBox -Matrix Skin AeonMQ6
Reply
#3
(2016-05-12, 16:17)Angelinas Wrote: First mistake , you can mess label and images

Second mistake :Texture is for image .
You only have one properties for image,and that working.
PHP Code:
<texture>$INFO[ListItem.Property(SubtitleLanguage.1),flags/subtitles/flags/,.png]</texture
<texture>$INFO[ListItem.Property(SubtitleLanguage.1),flags/subtitles/flags/,.png] $INFO[ListItem.Property(SubtitleLanguage.2),flags/subtitles/flags/,.png] $INFO[ListItem.Property(SubtitleLanguage.3),flags/subtitles/flags/,.png] $INFO[ListItem.Property(SubtitleLanguage.4),flags/subtitles/flags/,.png]</texture>
You must create as horisontal list with properties

same is for audio

Thank you Angelinas, I tried horisontal list with properties, but it doesn't show up
Code:
<texture>$INFO[ListItem.Property(SubtitleLanguage.1),flags/subtitles/flags/,.png] $INFO[ListItem.Property(SubtitleLanguage.2),flags/subtitles/flags/,.png] $INFO[ListItem.Property(SubtitleLanguage.3),flags/subtitles/flags/,.png] $INFO[ListItem.Property(SubtitleLanguage.4),flags/subtitles/flags/,.png]</texture>

Image


I think the problem is with texture, maybe it doesn't accept multiple properties, maybe I'm wrong,
Reply
#4
That isn't list this is just excample you need to create in IncludeVideo.xml
PHP Code:
<control type="grouplist">
                <!-- 
Linguagem de audio e legendas -->
                <
animation effect="slide" time="400" start="0,-250" end="0,0" easing="inout" tween="cubic">WindowOpen</animation>
                <
animation effect="slide" time="400" start="0,-250" end="0,0" easing="inout" tween="cubic">Visible</animation>
                <
animation effect="slide" time="400" start="0,0" end="0,-250" easing="inout" tween="cubic">WindowClose</animation>
                <
animation effect="slide" time="400" start="0,0" end="0,-250" easing="inout" tween="cubic">Hidden</animation>
                <
animation effect="slide" end="-780,0" time="0" condition="Control.IsVisible(51)+![Skin.HasSetting(noartrightlisttitle) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes)]">Conditional</animation>
                <
animation effect="slide" end="-780,80" time="0" condition="Control.IsVisible(51)+[Skin.HasSetting(noartrightlisttitle) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes)]">Conditional</animation>
                <
animation effect="slide" end="-780,0" time="0" condition="Control.IsVisible(55)+!Skin.HasSetting(noartlowlisttitle)">Conditional</animation>
                <
animation effect="slide" end="-780,80" time="0" condition="Control.IsVisible(55)+Skin.HasSetting(noartlowlisttitle)">Conditional</animation>
                <
animation effect="slide" end="-450,0" time="0" condition="Control.IsVisible(57)">Conditional</animation>
                <
animation effect="slide" end="150,0" time="0" condition="Control.IsVisible(71)">Conditional</animation>
                <
animation effect="slide" end="0,-20" time="500" tween="sine" easing="out" condition="![Skin.HasSetting(videoinfobar) | Skin.HasSetting(videodate)]">Conditional</animation>
                <
visible>![Skin.HasSetting(nolanguageflags) | StringCompare(ListItem.Label,..) | IsEmpty(Window(Home).Property(SkinHelper.ListItemAudioStreams.0.Language)) + IsEmpty(Window(Home).Property(SkinHelper.ListItemSubtitles.0)) | Control.IsVisible(59) | Control.IsVisible(77)| Control.HasFocus(9920) | Control.HasFocus(9940) | Control.IsVisible(9922) | Window.IsActive(2003) | Window.IsVisible(6621) | Window.IsVisible(6625)]</visible>
                        <!-- 
AudioSubtitle -->
                        <
left>810</left>
                        <
top>35</top>
                        <
orientation>horizontal</orientation>
                        <include>
AudioandSubImage</include>
                    </
control
And in Includes.xml include code for that list
somthing like this...
PHP Code:
        <include name="AudioandSubImage">
        <
control type="image">
            <!-- 
Subtitle 0 -->
            <
left>0</left>
            <
top>0</top>
            <
width>30</width>
            <
height>25</height>
            <
aspectratio>keep</aspectratio>
            <
fadetime>FanartCrossFadeTime</fadetime>
            <
texture>$INFO[Window(Home).Property(SkinHelper.ListItemSubtitles.0),resource://resource.images.languageflags.colour/,.png]</texture>
            
<visible>!IsEmpty(Window(Home).Property(SkinHelper.ListItemSubtitles.0))</visible>
        </
control>
        <
control type="image">
            <include>
FlagSeparator</include>
            <
visible>!IsEmpty(Window(Home).Property(SkinHelper.ListItemSubtitles.0))</visible>
        </
control>
        <
control type="image">
            <!-- 
Subtitle 1 -->
            <
left>0</left>
            <
top>0</top>
            <
width>30</width>
            <
height>25</height>
            <
aspectratio>keep</aspectratio>
            <
fadetime>FanartCrossFadeTime</fadetime>
            <
texture>$INFO[Window(Home).Property(SkinHelper.ListItemSubtitles.1),resource://resource.images.languageflags.colour/,.png]</texture>
            
<visible>!IsEmpty(Window(Home).Property(SkinHelper.ListItemSubtitles.1))</visible>
        </
control>
</
includes
In this file is for helper script, just rename to info script poperties add for more subtitle and for Audio too.And change folder path for images(mine are from script not from skin folder as your)
This is image for 4 subtitle (Blank is Serbian...dont have flag Sad )
Image
XBoxMediaCenter (Kodi Matrix ) 19.3 , AndroidBox -Matrix Skin AeonMQ6
Reply
#5
(2016-05-12, 17:55)Angelinas Wrote: That isn't list this is just excample you need to create in IncludeVideo.xml
Code:
<control type="grouplist">
                <!-- Linguagem de audio e legendas -->
                <animation effect="slide" time="400" start="0,-250" end="0,0" easing="inout" tween="cubic">WindowOpen</animation>
                <animation effect="slide" time="400" start="0,-250" end="0,0" easing="inout" tween="cubic">Visible</animation>
                <animation effect="slide" time="400" start="0,0" end="0,-250" easing="inout" tween="cubic">WindowClose</animation>
                <animation effect="slide" time="400" start="0,0" end="0,-250" easing="inout" tween="cubic">Hidden</animation>
                <animation effect="slide" end="-780,0" time="0" condition="Control.IsVisible(51)+![Skin.HasSetting(noartrightlisttitle) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes)]">Conditional</animation>
                <animation effect="slide" end="-780,80" time="0" condition="Control.IsVisible(51)+[Skin.HasSetting(noartrightlisttitle) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes)]">Conditional</animation>
                <animation effect="slide" end="-780,0" time="0" condition="Control.IsVisible(55)+!Skin.HasSetting(noartlowlisttitle)">Conditional</animation>
                <animation effect="slide" end="-780,80" time="0" condition="Control.IsVisible(55)+Skin.HasSetting(noartlowlisttitle)">Conditional</animation>
                <animation effect="slide" end="-450,0" time="0" condition="Control.IsVisible(57)">Conditional</animation>
                <animation effect="slide" end="150,0" time="0" condition="Control.IsVisible(71)">Conditional</animation>
                <animation effect="slide" end="0,-20" time="500" tween="sine" easing="out" condition="![Skin.HasSetting(videoinfobar) | Skin.HasSetting(videodate)]">Conditional</animation>
                <visible>![Skin.HasSetting(nolanguageflags) | StringCompare(ListItem.Label,..) | IsEmpty(Window(Home).Property(SkinHelper.ListItemAudioStreams.0.Language)) + IsEmpty(Window(Home).Property(SkinHelper.ListItemSubtitles.0)) | Control.IsVisible(59) | Control.IsVisible(77)| Control.HasFocus(9920) | Control.HasFocus(9940) | Control.IsVisible(9922) | Window.IsActive(2003) | Window.IsVisible(6621) | Window.IsVisible(6625)]</visible>
                        <!-- AudioSubtitle -->
                        <left>810</left>
                        <top>35</top>
                        <orientation>horizontal</orientation>
                        <include>AudioandSubImage</include>
                    </control>
And in Includes.xml include code for that list
somthing like this...
PHP Code:
        <include name="AudioandSubImage">
        <
control type="image">
            <!-- 
Subtitle 0 -->
            <
left>0</left>
            <
top>0</top>
            <
width>30</width>
            <
height>25</height>
            <
aspectratio>keep</aspectratio>
            <
fadetime>FanartCrossFadeTime</fadetime>
            <
texture>$INFO[Window(Home).Property(SkinHelper.ListItemSubtitles.0),resource://resource.images.languageflags.colour/,.png]</texture>
            
<visible>!IsEmpty(Window(Home).Property(SkinHelper.ListItemSubtitles.0))</visible>
        </
control>
        <
control type="image">
            <include>
FlagSeparator</include>
            <
visible>!IsEmpty(Window(Home).Property(SkinHelper.ListItemSubtitles.0))</visible>
        </
control>
        <
control type="image">
            <!-- 
Subtitle 1 -->
            <
left>0</left>
            <
top>0</top>
            <
width>30</width>
            <
height>25</height>
            <
aspectratio>keep</aspectratio>
            <
fadetime>FanartCrossFadeTime</fadetime>
            <
texture>$INFO[Window(Home).Property(SkinHelper.ListItemSubtitles.1),resource://resource.images.languageflags.colour/,.png]</texture>
            
<visible>!IsEmpty(Window(Home).Property(SkinHelper.ListItemSubtitles.1))</visible>
        </
control>
</
includes
In this file is for helper script, just rename to info script poperties add for more subtitle and for Audio too.And change folder path for images(mine are from script not from skin folder as your)
This is image for 4 subtitle (Blank is Serbian...dont have flag Sad )
Image



Hi Angelinas thanks for your help, since I'm new to these codes I'm not very familiar with them, however from what tried to understand I did the following
I changed every instance of IsEmpty(Window(Home) to $INFO[ListItem ,
my 1080i folder didn't contain IncludeVideo.xml file so I created one and
the content is as follows:
Code:
<control type="grouplist">
                <!-- Linguagem de audio e legendas -->
                <animation effect="slide" time="400" start="0,-250" end="0,0" easing="inout" tween="cubic">WindowOpen</animation>
                <animation effect="slide" time="400" start="0,-250" end="0,0" easing="inout" tween="cubic">Visible</animation>
                <animation effect="slide" time="400" start="0,0" end="0,-250" easing="inout" tween="cubic">WindowClose</animation>
                <animation effect="slide" time="400" start="0,0" end="0,-250" easing="inout" tween="cubic">Hidden</animation>
                <animation effect="slide" end="-780,0" time="0" condition="Control.IsVisible(51)+![Skin.HasSetting(noartrightlisttitle) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes)]">Conditional</animation>
                <animation effect="slide" end="-780,80" time="0" condition="Control.IsVisible(51)+[Skin.HasSetting(noartrightlisttitle) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes)]">Conditional</animation>
                <animation effect="slide" end="-780,0" time="0" condition="Control.IsVisible(55)+!Skin.HasSetting(noartlowlisttitle)">Conditional</animation>
                <animation effect="slide" end="-780,80" time="0" condition="Control.IsVisible(55)+Skin.HasSetting(noartlowlisttitle)">Conditional</animation>
                <animation effect="slide" end="-450,0" time="0" condition="Control.IsVisible(57)">Conditional</animation>
                <animation effect="slide" end="150,0" time="0" condition="Control.IsVisible(71)">Conditional</animation>
                <animation effect="slide" end="0,-20" time="500" tween="sine" easing="out" condition="![Skin.HasSetting(videoinfobar) | Skin.HasSetting(videodate)]">Conditional</animation>
                <visible>![Skin.HasSetting(nolanguageflags) | StringCompare(ListItem.Label,..) | $INFO[ListItem.Property(AudioLanguage.1) + $INFO[ListItem.Property(SubtitleLanguage.1) | Control.IsVisible(59) | Control.IsVisible(77)| Control.HasFocus(9920) | Control.HasFocus(9940) | Control.IsVisible(9922) | Window.IsActive(2003) | Window.IsVisible(6621) | Window.IsVisible(6625)]</visible>
                        <!-- AudioSubtitle -->
                        <left>810</left>
                        <top>35</top>
                        <orientation>horizontal</orientation>
                        <include>AudioandSubImage</include>
                    </control>

then added this line to includes.xml file
Code:
<include file="IncludeVideo.xml" />

then added this to unmodified includes.xml
Code:
<include name="AudioandSubImage">
        <control type="image">
            <!-- Subtitle 1 -->
            <left>60</left>
            <top>42</top>
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <fadetime>FanartCrossFadeTime</fadetime>
            <texture>$INFO[ListItem.Property(SubtitleLanguage.1),flags/subtitles/flags/,.png]</texture>
            <visible>$INFO[ListItem.Property(SubtitleLanguage.1)</visible>
        </control>
        <control type="image">
            <include>FlagSeparator</include>
            <visible>$INFO[ListItem.Property(SubtitleLanguage.2)</visible>
        </control>
        <control type="image">
            <!-- Subtitle 2 -->
            <left>60</left>
            <top>42</top>
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <fadetime>FanartCrossFadeTime</fadetime>
            <texture>$INFO[ListItem.Property(SubtitleLanguage.2),flags/subtitles/flags/,.png]</texture>
            <visible>$INFO[ListItem.Property(SubtitleLanguage.1)</visible>
        </control>
    </include>

and here is the result, not showing the logo only shows the label

Image

here is my unmodified includes.xml
http://www.mediafire.com/download/7b3xrp...cludes.xml
Reply
#6
Hello Angelinas , the problem with subtitle and audio flags still exists, I tried to create a list, I also tried to learn how to create it, but it was too complicated, if you could give me a hand with this I would truely appreciate it .
Reply
#7
I finally fixed the the problem, it took me about two weeks to figure it out, I couldn't focus on it much because of my work, I created the list like you said Angelinas so thank you for putting me on the right track anyway here it is colored flags for subtitle and audio language,

Code:
<include name="SubtitleLanguageFlags">
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(SubtitleLanguage.1),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(SubtitleLanguage.1))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(SubtitleLanguage.2),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(SubtitleLanguage.2))</visible>
            <visible>!Stringcompare(ListItem.Property(SubtitleLanguage.1),ListItem.Property(SubtitleLanguage.2))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(SubtitleLanguage.3),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(SubtitleLanguage.3))</visible>
            <visible>!Stringcompare(ListItem.Property(SubtitleLanguage.1),ListItem.Property(SubtitleLanguage.3))</visible>
            <visible>!Stringcompare(ListItem.Property(SubtitleLanguage.2),ListItem.Property(SubtitleLanguage.3))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(SubtitleLanguage.4),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(SubtitleLanguage.4))</visible>
            <visible>!Stringcompare(ListItem.Property(SubtitleLanguage.1),ListItem.Property(SubtitleLanguage.4))</visible>
            <visible>!Stringcompare(ListItem.Property(SubtitleLanguage.2),ListItem.Property(SubtitleLanguage.4))</visible>
            <visible>!Stringcompare(ListItem.Property(SubtitleLanguage.3),ListItem.Property(SubtitleLanguage.4))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(SubtitleLanguage.5),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(SubtitleLanguage.5))</visible>
            <visible>!Stringcompare(ListItem.Property(SubtitleLanguage.1),ListItem.Property(SubtitleLanguage.5))</visible>
            <visible>!Stringcompare(ListItem.Property(SubtitleLanguage.2),ListItem.Property(SubtitleLanguage.5))</visible>
            <visible>!Stringcompare(ListItem.Property(SubtitleLanguage.3),ListItem.Property(SubtitleLanguage.5))</visible>
            <visible>!Stringcompare(ListItem.Property(SubtitleLanguage.4),ListItem.Property(SubtitleLanguage.5))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(SubtitleLanguage.6),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(SubtitleLanguage.6))</visible>
            <visible>!Stringcompare(ListItem.Property(SubtitleLanguage.1),ListItem.Property(SubtitleLanguage.6))</visible>
            <visible>!Stringcompare(ListItem.Property(SubtitleLanguage.2),ListItem.Property(SubtitleLanguage.6))</visible>
            <visible>!Stringcompare(ListItem.Property(SubtitleLanguage.3),ListItem.Property(SubtitleLanguage.6))</visible>
            <visible>!Stringcompare(ListItem.Property(SubtitleLanguage.4),ListItem.Property(SubtitleLanguage.6))</visible>
            <visible>!Stringcompare(ListItem.Property(SubtitleLanguage.5),ListItem.Property(SubtitleLanguage.6))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <texture>$INFO[ListItem.Property(SubtitleLanguage.7),flags/subtitles/flags/,.png]</texture>
            <aspectratio>keep</aspectratio>
            <visible>!IsEmpty(ListItem.Property(SubtitleLanguage.7))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(SubtitleLanguage.8),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(SubtitleLanguage.8))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(SubtitleLanguage.9),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(SubtitleLanguage.9))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(SubtitleLanguage.10),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(SubtitleLanguage.10))</visible>
        </control>
    </include>
    
    
    
    
    <include name="AudioLanguageFlags">
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(AudioLanguage.1),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(AudioLanguage.1))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(AudioLanguage.2),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(AudioLanguage.2))</visible>
            <visible>!Stringcompare(ListItem.Property(AudioLanguage.1),ListItem.Property(AudioLanguage.2))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(AudioLanguage.3),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(AudioLanguage.3))</visible>
            <visible>!Stringcompare(ListItem.Property(AudioLanguage.1),ListItem.Property(AudioLanguage.3))</visible>
            <visible>!Stringcompare(ListItem.Property(AudioLanguage.2),ListItem.Property(AudioLanguage.3))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(AudioLanguage.4),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(AudioLanguage.4))</visible>
            <visible>!Stringcompare(ListItem.Property(AudioLanguage.1),ListItem.Property(AudioLanguage.4))</visible>
            <visible>!Stringcompare(ListItem.Property(AudioLanguage.2),ListItem.Property(AudioLanguage.4))</visible>
            <visible>!Stringcompare(ListItem.Property(AudioLanguage.3),ListItem.Property(AudioLanguage.4))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(AudioLanguage.5),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(AudioLanguage.5))</visible>
            <visible>!Stringcompare(ListItem.Property(AudioLanguage.1),ListItem.Property(AudioLanguage.5))</visible>
            <visible>!Stringcompare(ListItem.Property(AudioLanguage.2),ListItem.Property(AudioLanguage.5))</visible>
            <visible>!Stringcompare(ListItem.Property(AudioLanguage.3),ListItem.Property(AudioLanguage.5))</visible>
            <visible>!Stringcompare(ListItem.Property(AudioLanguage.4),ListItem.Property(AudioLanguage.5))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(AudioLanguage.6),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(AudioLanguage.6))</visible>
            <visible>!Stringcompare(ListItem.Property(AudioLanguage.1),ListItem.Property(AudioLanguage.6))</visible>
            <visible>!Stringcompare(ListItem.Property(AudioLanguage.2),ListItem.Property(AudioLanguage.6))</visible>
            <visible>!Stringcompare(ListItem.Property(AudioLanguage.3),ListItem.Property(AudioLanguage.6))</visible>
            <visible>!Stringcompare(ListItem.Property(AudioLanguage.4),ListItem.Property(AudioLanguage.6))</visible>
            <visible>!Stringcompare(ListItem.Property(AudioLanguage.5),ListItem.Property(AudioLanguage.6))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <texture>$INFO[ListItem.Property(AudioLanguage.7),flags/subtitles/flags/,.png]</texture>
            <aspectratio>keep</aspectratio>
            <visible>!IsEmpty(ListItem.Property(AudioLanguage.7))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(AudioLanguage.8),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(AudioLanguage.8))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(AudioLanguage.9),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(AudioLanguage.9))</visible>
        </control>
        <control type="image">
            <width>auto</width>
            <height>auto</height>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.Property(AudioLanguage.10),flags/subtitles/flags/,.png]</texture>
            <visible>!IsEmpty(ListItem.Property(AudioLanguage.10))</visible>
        </control>
    </include>
    
    
  <include name="AudioandSub">
    <control type="image">
      <left>-45</left>
      <top>-60</top>
      <height>225</height>
      <width>2025</width>
      <texture flipy="true" diffuse="shadow_mask.png">darkgrey.png</texture>
      <colordiffuse>$VAR[value_texturecolor]</colordiffuse>
      <animation effect="fade" end="85" condition="true">Conditional</animation>
      <animation effect="slide" end="-45,-22" time="0" condition="Control.IsVisible(55)">Conditional</animation>
      <animation effect="slide" end="-540,-22" time="0" condition="Control.IsVisible(57)">Conditional</animation>
      <animation effect="slide" end="-45,-22" time="0" condition="Control.IsVisible(59)">Conditional</animation>
      <visible>Control.IsVisible(51) |Control.IsVisible(55) | Control.IsVisible(57)</visible>
    </control>
    <control type="image">
      <left>-975</left>
      <top>-60</top>
      <height>225</height>
      <width>1800</width>
      <texture flipy="true">shadow_mask.png</texture>
      <colordiffuse>85000000</colordiffuse>
      <animation effect="slide" end="-45,-22" time="0" condition="Control.IsVisible(55)">Conditional</animation>
      <animation effect="slide" end="-540,-22" time="0" condition="Control.IsVisible(57)">Conditional</animation>
      <animation effect="slide" end="-45,-22" time="0" condition="Control.IsVisible(59)">Conditional</animation>
      <visible>Control.IsVisible(70)</visible>
    </control>
    <control type="image">
      <left>-22</left>
      <top>0</top>
      <width>3</width>
      <height>90</height>
      <texture>line_v.png</texture>
      <colordiffuse>FFFFFAF0</colordiffuse>
      <visible>![Control.IsVisible(51) | Control.IsVisible(55) | Control.IsVisible(57) | Control.IsVisible(59) | Control.IsVisible(70)]</visible>
    </control>
    <control type="image">
      <!-- Audio -->
      <left>0</left>
      <top>0</top>
      <width>38</width>
      <height>38</height>
      <texture>osd_audio.png</texture>
      <colordiffuse>FFFFFAF0</colordiffuse>
      <aspectratio>keep</aspectratio>
      <fadetime>FanartCrossFadeTime</fadetime>
      <visible>!IsEmpty(ListItem.Property(AudioLanguage.1))</visible>
    </control>
    <control  type="grouplist">
            <!-- <animation effect="fade" start="100" end="80" time="40" condition="true">Conditional</animation>-->
            <left>60</left>
            <top>-4</top>
            <width>650</width>
            <height>44</height>
            <align>left</align>
            <itemgap>23</itemgap>
            <visible>!IsEmpty(ListItem.Property(AudioLanguage.1))</visible>
            <orientation>horizontal</orientation>
            <include>AudioLanguageFlags</include>
    </control>
    
    
    <control type="image">
      <!-- Legenda -->
      <left>0</left>
      <top>45</top>
      <width>38</width>
      <height>38</height>
      <texture>osd_subtitle.png</texture>
      <colordiffuse>FFFFFAF0</colordiffuse>
      <aspectratio>keep</aspectratio>
      <fadetime>FanartCrossFadeTime</fadetime>
      <animation effect="slide" end="0,-42" time="0" tween="sine" easing="out" condition="IsEmpty(ListItem.Property(AudioLanguage.1))">Conditional</animation>
      <visible>!IsEmpty(ListItem.Property(SubtitleLanguage.1))</visible>
    </control>
    
    <control  type="grouplist">
            <!-- <animation effect="fade" start="100" end="50" time="40" condition="true">Conditional</animation>-->
            <left>60</left>
            <top>41</top>
            <width>650</width>
            <height>44</height>
            <align>left</align>
            <itemgap>23</itemgap>
            <visible>!IsEmpty(ListItem.Property(SubtitleLanguage.1))</visible>
            <orientation>horizontal</orientation>
            <include>SubtitleLanguageFlags</include>
            <animation effect="slide" end="0,-42" time="0" tween="sine" easing="out" condition="IsEmpty(ListItem.Property(AudioLanguage.1))">Conditional</animation>
    </control>
  </include>

Image

Image
Reply
#8
HI there,

is there any easy way to add this to the Aeon MQ 6 Mod? It only shows Text ("eng") on my setup
I am familiar with xml sheets and coding and stuff, but i have no clue about Kodi skinning. Can i take your xml which is printed above? Where would i insert this code?

Thanks!
Reply
#9
(2016-07-20, 03:33)AttacktheCow Wrote: HI there,

is there any easy way to add this to the Aeon MQ 6 Mod? It only shows Text ("eng") on my setup
I am familiar with xml sheets and coding and stuff, but i have no clue about Kodi skinning. Can i take your xml which is printed above? Where would i insert this code?

Thanks!

Which mod are you using?
Reply
#10
this one

http://forum.kodi.tv/showthread.php?tid=247705
Reply
#11
(2016-07-20, 20:19)AttacktheCow Wrote: this one

http://forum.kodi.tv/showthread.php?tid=247705

extract files to 720p folder and replace
http://www.mediafire.com/download/riohd0...ew720p.zip

then extract this to media/flags folder
http://www.mediafire.com/download/woy1db...titles.zip
Reply
#12
(2016-07-20, 21:58)DolGuldur Wrote:
(2016-07-20, 20:19)AttacktheCow Wrote: this one

http://forum.kodi.tv/showthread.php?tid=247705

extract files to 720p folder and replace
http://www.mediafire.com/download/riohd0...ew720p.zip

then extract this to media/flags folder
http://www.mediafire.com/download/woy1db...titles.zip

Hi, thanks for the reply.

i replaced all files you uploaded but it unfortunately does not work. At Movie selection, the text still remains but is only aligned slightly to the right. When selecting a movie (detailed page, i think its DialogvideoInfo), this screen is zoomed and also does not show the country flags.
I can follow your coding to a certain extend, but i don't really know what goes where. Are you sure you added all necessary files?

Thanks!
Reply
#13
(2016-07-28, 18:10)AttacktheCow Wrote: Hi, thanks for the reply.

i replaced all files you uploaded but it unfortunately does not work. At Movie selection, the text still remains but is only aligned slightly to the right. When selecting a movie (detailed page, i think its DialogvideoInfo), this screen is zoomed and also does not show the country flags.
I can follow your coding to a certain extend, but i don't really know what goes where. Are you sure you added all necessary files?

Thanks!
Mine is working fine, backup your skin, then you can use this version, and here is a couple of screenshots from it
http://www.mediafire.com/download/l8ql6u...master.zip
Image
Image
Reply
#14
Valid for MQ 7?
Reply

Logout Mark Read Team Forum Stats Members Help
ListItem.Property(AudioLanguage.1) not showing all language logos0