Skip to content

Commit

Permalink
support for script.videolanguage
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Feb 24, 2013
1 parent f622a38 commit 925ec7d
Show file tree
Hide file tree
Showing 28 changed files with 79 additions and 91 deletions.
170 changes: 79 additions & 91 deletions 1080i/DialogVideoInfo.xml
Expand Up @@ -628,6 +628,39 @@
<include>Furniture_FlagUpright</include>
<visible>!IsEmpty(Control.GetLabel(900012)) | !IsEmpty(Control.GetLabel(900011))</visible>
</control>
<!-- Language flags -->
<control type="grouplist">
<width>24</width>
<height>90</height>
<align>center</align>
<animation effect="fade" start="100" end="80" time="40" condition="true">Conditional</animation>

<animation effect="slide" end="4,-10" condition="true">Conditional</animation>
<itemgap>2</itemgap>
<orientation>vertical</orientation>
<visible>!IsEmpty(Window.Property(AudioLanguage.1))</visible>
<control type="image">
<width>22</width>
<height>22</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window.Property(AudioLanguage.1),flags/language/,.png]</texture>
<visible>!IsEmpty(Window.Property(AudioLanguage.1))</visible>
</control>
<control type="image">
<width>22</width>
<height>22</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window.Property(AudioLanguage.2),flags/language/,.png]</texture>
<visible>!IsEmpty(Window.Property(AudioLanguage.2))</visible>
</control>
<control type="image">
<width>22</width>
<height>22</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window.Property(AudioLanguage.3),flags/language/,.png]</texture>
<visible>!IsEmpty(Window.Property(AudioLanguage.3))</visible>
</control>
</control>
<control type="image" id="900013">
<width>121</width>
<height>70</height>
Expand Down Expand Up @@ -686,8 +719,53 @@
<aspectratio aligny="center" align="center">keep</aspectratio>
<texture>flags/cc.png</texture>
<colordiffuse>FF7c7c7c</colordiffuse>
<visible>!IsEmpty(ListItem.SubtitleLanguage)</visible>
<visible>!IsEmpty(ListItem.SubtitleLanguage) | !IsEmpty(Window.Property(SubtitleLanguage.1))</visible>
</control>
<!-- Subtitle flags -->
<control type="grouplist" id="12000">
<posx>1355</posx>
<posy>947</posy>
<animation effect="slide" end="-103,7" condition="true">Conditional</animation>
<animation effect="fade" start="100" end="80" time="40" condition="true">Conditional</animation>
<width>90</width>
<height>48</height>
<align>center</align>
<itemgap>0</itemgap>
<orientation>horizontal</orientation>
<control type="image">
<width>22</width>
<height>22</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window.Property(SubtitleLanguage.1),flags/language/,.png]</texture>
<aspectratio>keep</aspectratio>
<visible>!IsEmpty(Window.Property(SubtitleLanguage.1))</visible>
</control>
<control type="image">
<width>22</width>
<height>22</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window.Property(SubtitleLanguage.2),flags/language/,.png]</texture>
<aspectratio>keep</aspectratio>
<visible>!IsEmpty(Window.Property(SubtitleLanguage.2))</visible>
<!-- <visible>!Stringcompare(Window.Property(SubtitleLanguage.1),Window.Property(SubtitleLanguage.2))</visible>
--> </control>
<control type="image">
<width>22</width>
<height>22</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window.Property(SubtitleLanguage.3),flags/language/,.png]</texture>
<aspectratio>keep</aspectratio>
<visible>!IsEmpty(Window.Property(SubtitleLanguage.3))</visible>
</control>
<!-- <control type="image">
<width>22</width>
<height>22</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window.Property(SubtitleLanguage.4),flags/language/,.png]</texture>
<aspectratio>keep</aspectratio>
<visible>!IsEmpty(Window.Property(SubtitleLanguage.4))</visible>
</control> -->
</control>
</control>
<control type="group">
<visible>Container.Content(tvshows)</visible>
Expand Down Expand Up @@ -794,96 +872,6 @@
</control>
</control>
</control>
<!-- Language flags -->
<control type="grouplist">
<posx>415</posx>
<posy>593</posy>
<width>290</width>
<height>48</height>
<align>right</align>
<itemgap>10</itemgap>
<orientation>horizontal</orientation>
<visible>false</visible>
<control type="image">
<width>48</width>
<height>48</height>
<aspectratio>center</aspectratio>
<texture>$INFO[Window.Property(AudioLanguage.1),flags/language/,.png]</texture>
<visible>!IsEmpty(Window.Property(AudioLanguage.1))</visible>
</control>
<control type="image">
<width>48</width>
<height>48</height>
<aspectratio>center</aspectratio>
<texture>$INFO[Window.Property(AudioLanguage.2),flags/language/,.png]</texture>
<visible>!IsEmpty(Window.Property(AudioLanguage.2))</visible>
</control>
<control type="image">
<width>48</width>
<height>48</height>
<aspectratio>center</aspectratio>
<texture>$INFO[Window.Property(AudioLanguage.3),flags/language/,.png]</texture>
<visible>!IsEmpty(Window.Property(AudioLanguage.3))</visible>
</control>
<control type="image">
<width>48</width>
<height>48</height>
<aspectratio>center</aspectratio>
<texture>$INFO[Window.Property(AudioLanguage.4),flags/language/,.png]</texture>
<visible>!IsEmpty(Window.Property(AudioLanguage.4))</visible>
</control>
<control type="image">
<width>48</width>
<height>48</height>
<aspectratio>center</aspectratio>
<texture>$INFO[Window.Property(AudioLanguage.5),flags/language/,.png]</texture>
<visible>!IsEmpty(Window.Property(AudioLanguage.5))</visible>
</control>
</control>
<!-- Subtitle flags -->
<control type="grouplist" id="12000">
<posx>1355</posx>
<posy>947</posy>
<animation effect="fade" start="100" end="80" time="40" condition="true">Conditional</animation>
<width>290</width>
<height>48</height>
<align>center</align>
<itemgap>0</itemgap>
<orientation>horizontal</orientation>
<control type="image">
<width>22</width>
<height>22</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window.Property(SubtitleLanguage.1),flags/language/,.png]</texture>
<aspectratio>keep</aspectratio>
<visible>!IsEmpty(Window.Property(SubtitleLanguage.1))</visible>
</control>
<control type="image">
<width>22</width>
<height>22</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window.Property(SubtitleLanguage.2),flags/language/,.png]</texture>
<aspectratio>keep</aspectratio>
<visible>!IsEmpty(Window.Property(SubtitleLanguage.2))</visible>
<visible>!Stringcompare(Window.Property(SubtitleLanguage.1),Window.Property(SubtitleLanguage.2))</visible>
</control>
<control type="image">
<width>22</width>
<height>22</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window.Property(SubtitleLanguage.3),flags/language/,.png]</texture>
<aspectratio>keep</aspectratio>
<visible>!IsEmpty(Window.Property(SubtitleLanguage.3))</visible>
</control>
<control type="image">
<width>22</width>
<height>22</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[Window.Property(SubtitleLanguage.4),flags/language/,.png]</texture>
<aspectratio>keep</aspectratio>
<visible>!IsEmpty(Window.Property(SubtitleLanguage.4))</visible>
</control>
</control>
<control type="spincontrol" id="60">
<posx>1820</posx>
<posy>584</posy>
Expand Down
Binary file added media/flags/language/ara.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/bul.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/chi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/cro.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/cze.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/dan.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/deu.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/dut.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/eng.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/fin.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/fre.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/ger.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/gre.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/hu.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/ita.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/jap.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/kor.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/nor.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/pol.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/por.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/rom.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/rus.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/ser.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/slo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/spa.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/flags/language/swe.png
Binary file added media/flags/language/tur.png

0 comments on commit 925ec7d

Please sign in to comment.