2019-02-05, 15:49
(2019-02-03, 17:15)Alanon Wrote:Hi Alanon, You are so great, a lot of thnkys , it works perfect. It was not the idea, that you programme it for me, but I am happy to have it now. I only wanna have some more informations for make it by myself. There is enough space I don't need to disengage some elements. Again thnaks you very much for this big present Greetings from Switzerland, Looks P.S.: Yes I know that I need to copy this code again when I bring an update.(2019-02-02, 14:54)looks Wrote: @Alanon, thanx for this information and now I have another little question. in the Info view by movies up on the right side are Subtitle& Language flags. Please can you tell where are this variables located? Sorr but I am new in Kodi skins and I need this help. Maybe after this information I can build this. Greetings Looks
Okay, this is the best I can do. Take the code below and paste it into Includes_Furniture.xml after line 389. This code will allow for up to two languages and two subtitles, provided that the language is formatted properly, so everything can be matched. The only issue I can see with this is space, since there is already a bunch of icons in the lower region, you'll probably have to disengage some elements to make room. If you don't want the indicator icons, you can just delete the entire image control. The same goes for the second subtitle or second language. Of course, you'll have to copy this code after every update.
Code:
<control type="image">
<width>40</width>
<height>50</height>
<aspectratio>keep</aspectratio>
<texture colordiffuse="ListLabel">indicator/audio.png</texture>
<visible>!String.IsEmpty(ListItem.Property(AudioLanguage.1))</visible>
</control>
<control type="image">
<width>50</width>
<aspectratio>keep</aspectratio>
<texture>$INFO[ListItem.Property(AudioLanguage.1),lang/,.png]</texture>
<visible>!String.IsEmpty(ListItem.Property(AudioLanguage.1))</visible>
</control>
<control type="image">
<width>50</width>
<aspectratio>keep</aspectratio>
<texture>$INFO[ListItem.Property(AudioLanguage.2),lang/,.png]</texture>
<visible>!String.IsEmpty(ListItem.Property(AudioLanguage.2))</visible>
</control>
<control type="image">
<width>58</width>
<height>45</height>
<aspectratio>keep</aspectratio>
<texture colordiffuse="ListLabel">indicator/subtitles.png</texture>
<visible>!String.IsEmpty(ListItem.Property(SubtitleLanguage.1))</visible>
</control>
<control type="image">
<width>50</width>
<aspectratio>keep</aspectratio>
<texture>$INFO[ListItem.Property(SubtitleLanguage.1),lang/,.png]</texture>
<visible>!String.IsEmpty(ListItem.Property(SubtitleLanguage.1))</visible>
</control>
<control type="image">
<width>50</width>
<aspectratio>keep</aspectratio>
<texture>$INFO[ListItem.Property(SubtitleLanguage.2),lang/,.png]</texture>
<visible>!String.IsEmpty(ListItem.Property(SubtitleLanguage.2))</visible>
</control>