add audio and subtitle language info to video osd if available
authorronie <ronie>
Mon, 14 Oct 2013 21:55:10 +0000 (23:55 +0200)
committerace20022 <ace20022@ymail.com>
Mon, 21 Oct 2013 18:20:42 +0000 (20:20 +0200)
addons/skin.confluence/720p/VideoFullScreen.xml
addons/skin.confluence/media/flagging/AudioLang.png [new file with mode: 0644]
addons/skin.confluence/media/flagging/SubLang.png [new file with mode: 0644]

index 079ef95..f13af5e 100644 (file)
                                                <aspectratio align="center">keep</aspectratio>
                                                <texture>$INFO[VideoPlayer.AudioChannels,flagging/audio/,.png]</texture>
                                        </control>
+                                       <control type="group" id="1">
+                                               <width>85</width>
+                                               <height>35</height>
+                                               <visible>!IsEmpty(VideoPlayer.AudioLanguage)</visible>
+                                               <control type="image" id="1">
+                                                       <posx>5</posx>
+                                                       <posy>0</posy>
+                                                       <description>Audio Language Image</description>
+                                                       <width>80</width>
+                                                       <height>35</height>
+                                                       <texture>flagging/AudioLang.png</texture>
+                                               </control>
+                                               <control type="label" id="1">
+                                                       <posx>38</posx>
+                                                       <posy>2</posy>
+                                                       <width>47</width>
+                                                       <height>35</height>
+                                                       <font>font13</font>
+                                                       <align>left</align>
+                                                       <label>$INFO[VideoPlayer.AudioLanguage]</label>
+                                                       <textcolor>grey</textcolor>
+                                               </control>
+                                       </control>
+                                       <control type="group" id="1">
+                                               <width>85</width>
+                                               <height>35</height>
+                                               <visible>!IsEmpty(VideoPlayer.SubtitlesLanguage)</visible>
+                                               <control type="image" id="1">
+                                                       <posx>5</posx>
+                                                       <posy>0</posy>
+                                                       <width>80</width>
+                                                       <height>35</height>
+                                                       <texture>flagging/SubLang.png</texture>
+                                               </control>
+                                               <control type="label" id="1">
+                                                       <posx>38</posx>
+                                                       <posy>2</posy>
+                                                       <width>47</width>
+                                                       <height>35</height>
+                                                       <font>font13</font>
+                                                       <align>left</align>
+                                                       <label>$INFO[VideoPlayer.SubtitlesLanguage]</label>
+                                                       <textcolor>grey</textcolor>
+                                               </control>
+                                       </control>
                                </control>
                                <control type="label" id="1">
                                        <posx>0</posx>
diff --git a/addons/skin.confluence/media/flagging/AudioLang.png b/addons/skin.confluence/media/flagging/AudioLang.png
new file mode 100644 (file)
index 0000000..fdbe5ae
Binary files /dev/null and b/addons/skin.confluence/media/flagging/AudioLang.png differ
diff --git a/addons/skin.confluence/media/flagging/SubLang.png b/addons/skin.confluence/media/flagging/SubLang.png
new file mode 100644 (file)
index 0000000..9952aed
Binary files /dev/null and b/addons/skin.confluence/media/flagging/SubLang.png differ