From c2c93500f4f2a23fbe86a6d013335c0aa3066ff7 Mon Sep 17 00:00:00 2001
From: kcook98765 <56806582+kcook98765@users.noreply.github.com>
Date: Wed, 9 Feb 2022 16:44:42 -0800
Subject: [PATCH] Add current audio/subtitle lang to osd
Add language identifiers to OSD control.
---
1080i/Includes_OSD.xml | 34 +++++++++++++++++++++++++++++++---
addon.xml | 2 +-
2 files changed, 32 insertions(+), 4 deletions(-)
diff --git a/1080i/Includes_OSD.xml b/1080i/Includes_OSD.xml
index 77ee462..86c09d3 100644
--- a/1080i/Includes_OSD.xml
+++ b/1080i/Includes_OSD.xml
@@ -498,13 +498,41 @@
ClearProperty(OSDExtendedInfo,Home)
ClearProperty(OSD_Menu,Home)
+
+
+
+ 50%
+ Audio
+ 55
+ 48
+
+ main_fg_70
+ Highlight
+ Shadow
+ font_fps
+ right
+ top
+ 0
+ osd/audio-settings.png
+ osd/audio-settings.png
+ AudioNextLanguage
+ Window.IsVisible(videoosd)
+ !VideoPlayer.Content(musicvideos)
+ !String.IsEmpty(VideoPlayer.AudioLanguage)
+
+
+
50%
Subs
- 48
+ 55
48
-
-
+
+ main_fg_70
+ font_fps
+ right
+ top
+ 0
osd/subs.png
osd/subs.png
ActivateWindow(osdsubtitlesettings)
diff --git a/addon.xml b/addon.xml
index fd43e15..e872a04 100644
--- a/addon.xml
+++ b/addon.xml
@@ -1,4 +1,4 @@
-
+