From 77ecaab392d853b82bb6b5a65861eabd8cd1466c Mon Sep 17 00:00:00 2001 From: anxdpanic Date: Sat, 11 Feb 2023 12:44:36 -0500 Subject: [PATCH 1/3] fixup missing window titles --- resources/lib/skinshorcuts/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/skinshorcuts/library.py b/resources/lib/skinshorcuts/library.py index c4bf540f..07b1b872 100644 --- a/resources/lib/skinshorcuts/library.py +++ b/resources/lib/skinshorcuts/library.py @@ -2475,7 +2475,7 @@ def select_shortcut(self, group="", custom=False, available_shortcuts=None, wind # Show select dialog _ = self._allow_install_widget_provider(None, is_widget, self.allow_widget_install) show_dialog = ShowDialog("DialogSelect.xml", CWD, listing=available_shortcuts, - windowtitle=window_title) + window_title=window_title) show_dialog.doModal() number = show_dialog.result del show_dialog From 61dab21a648bf7b9cd6532f09cde8042306c5107 Mon Sep 17 00:00:00 2001 From: anxdpanic Date: Sat, 11 Feb 2023 12:49:43 -0500 Subject: [PATCH 2/3] handle missing profiles.xml gracefully --- resources/lib/skinshorcuts/xmlfunctions.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/resources/lib/skinshorcuts/xmlfunctions.py b/resources/lib/skinshorcuts/xmlfunctions.py index c2a7ea94..5a2c88b9 100644 --- a/resources/lib/skinshorcuts/xmlfunctions.py +++ b/resources/lib/skinshorcuts/xmlfunctions.py @@ -66,8 +66,11 @@ def build_menu(self, mainmenu_id, groups, num_levels, build_mode, options, minit profiles_xml = xbmcvfs.translatePath('special://userdata/profiles.xml') tree = None if xbmcvfs.exists(profiles_xml): - contents = read_file(profiles_xml) - tree = ETree.fromstring(contents) + try: + contents = read_file(profiles_xml) + tree = ETree.fromstring(contents) + except FileNotFoundError: + pass profilelist = [] if tree is not None: From d65c9a210272beaaa91eef6656a412e3106cdf3a Mon Sep 17 00:00:00 2001 From: anxdpanic Date: Sat, 11 Feb 2023 12:49:55 -0500 Subject: [PATCH 3/3] 2.0.2 --- addon.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addon.xml b/addon.xml index 661b5463..f6b5f05d 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + @@ -8,9 +8,9 @@ -[fix] some widgets not working |contrib: bumpaneer| -[fix] new widget properties not being properly saved and applied |contrib: bumpaneer| -[fix] fix configuration of widgets/actions on some skins |contrib: eXoterr| +[fix] translations in PVR |contrib: Dis90| +[fix] titles missing in some dialogs +[fix] handle missing profiles.xml gracefully [lang] update translations from Weblate all