From 223d914959b088648319f92f86451d95084e394b Mon Sep 17 00:00:00 2001 From: mglae Date: Sun, 19 Mar 2023 19:46:27 +0100 Subject: [PATCH 1/3] GLES: fix failing Admin window --- pvr.vdr.vnsi/resources/shaders/GLES/vert.glsl | 3 +++ src/GUIWindowAdmin.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pvr.vdr.vnsi/resources/shaders/GLES/vert.glsl b/pvr.vdr.vnsi/resources/shaders/GLES/vert.glsl index 93c32c77..73b411b7 100644 --- a/pvr.vdr.vnsi/resources/shaders/GLES/vert.glsl +++ b/pvr.vdr.vnsi/resources/shaders/GLES/vert.glsl @@ -5,6 +5,9 @@ attribute vec2 a_coord; varying vec2 v_coord; +uniform mat4 m_proj; +uniform mat4 m_model; + void main() { mat4 mvp = m_proj * m_model; diff --git a/src/GUIWindowAdmin.cpp b/src/GUIWindowAdmin.cpp index 9c05f4a1..b6be63e2 100644 --- a/src/GUIWindowAdmin.cpp +++ b/src/GUIWindowAdmin.cpp @@ -570,7 +570,7 @@ bool cVNSIAdmin::Open(const std::string& hostname, return false; m_bIsOsdControl = false; -#if defined(HAS_GL) || defined(HAS_GLES2) +#if defined(HAS_GL) || defined(HAS_GLES) m_osdRender = new cOSDRenderGL(); #else m_osdRender = new cOSDRender(); From 4b2e317d80c80d8807a41828186212d9d9fca15e Mon Sep 17 00:00:00 2001 From: mglae Date: Sun, 19 Mar 2023 19:47:41 +0100 Subject: [PATCH 2/3] GUIWindowAdmin: "Skin not supported" dialog --- .../language/resource.language.en_gb/strings.po | 10 ++++++++++ src/GUIWindowAdmin.cpp | 8 ++++++++ 2 files changed, 18 insertions(+) diff --git a/pvr.vdr.vnsi/resources/language/resource.language.en_gb/strings.po b/pvr.vdr.vnsi/resources/language/resource.language.en_gb/strings.po index de7b8048..3b503a7d 100644 --- a/pvr.vdr.vnsi/resources/language/resource.language.en_gb/strings.po +++ b/pvr.vdr.vnsi/resources/language/resource.language.en_gb/strings.po @@ -319,3 +319,13 @@ msgstr "" msgctxt "#30205" msgid "Repeating Child" msgstr "" + +msgctxt "#30205" +msgid "Repeating Child" +msgstr "" + +#empty strings from id 30206 to 30299 + +msgctxt "#30300" +msgid "The Skin is not supported" +msgstr "" diff --git a/src/GUIWindowAdmin.cpp b/src/GUIWindowAdmin.cpp index b6be63e2..f0b4574f 100644 --- a/src/GUIWindowAdmin.cpp +++ b/src/GUIWindowAdmin.cpp @@ -14,6 +14,7 @@ #include #include +#include #include #include #include @@ -563,6 +564,13 @@ bool cVNSIAdmin::Open(const std::string& hostname, m_port = port; m_wolMac = mac; + if (nullptr == GetControlHandle()) + { + kodi::gui::dialogs::OK::ShowAndGetInput( + "pvr.vdr.vnsi", kodi::addon::GetLocalizedString(30300, "The Skin is not supported")); + return false; + } + if (!cVNSISession::Open(m_hostname, m_port, name)) return false; From e76c7714f2d01169ee367f0085aec760df9e4eb3 Mon Sep 17 00:00:00 2001 From: mglae Date: Sun, 19 Mar 2023 19:52:08 +0100 Subject: [PATCH 3/3] Increase version to 21.0.1 --- pvr.vdr.vnsi/addon.xml.in | 2 +- pvr.vdr.vnsi/changelog.txt | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pvr.vdr.vnsi/addon.xml.in b/pvr.vdr.vnsi/addon.xml.in index 169a9dce..d2aa6655 100644 --- a/pvr.vdr.vnsi/addon.xml.in +++ b/pvr.vdr.vnsi/addon.xml.in @@ -1,7 +1,7 @@ @ADDON_DEPENDS@ diff --git a/pvr.vdr.vnsi/changelog.txt b/pvr.vdr.vnsi/changelog.txt index 81f9a544..c1840bab 100644 --- a/pvr.vdr.vnsi/changelog.txt +++ b/pvr.vdr.vnsi/changelog.txt @@ -1,3 +1,9 @@ +v21.0.1 +- Fix display of "Client Specific Settings" on GLES + +v21.0.0 +- Increased version to 21.0.0 for Kodi 21 Omega + v20.4.0 - Kodi inputstream API update to version 3.2.0 - Kodi PVR API update to version 8.0.2