From d570cb12ea0f159ed76e4c846f006f9c740fd87f Mon Sep 17 00:00:00 2001 From: jurialmunkey Date: Tue, 17 Oct 2023 14:10:51 +1100 Subject: [PATCH] :ambulance: Hotfix for empty --- addon.xml | 2 +- resources/lib/skinshortcuts_template.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/addon.xml b/addon.xml index ee749b8..17d0b0f 100644 --- a/addon.xml +++ b/addon.xml @@ -1,6 +1,6 @@ diff --git a/resources/lib/skinshortcuts_template.py b/resources/lib/skinshortcuts_template.py index d8289e9..c269a4e 100644 --- a/resources/lib/skinshortcuts_template.py +++ b/resources/lib/skinshortcuts_template.py @@ -40,7 +40,8 @@ def update_xml(self, force=False, no_reload=False, genxml='', **kwargs): if not self.meta: return - hashvalue = f'{make_hash(self.content + load_filecontent(self.filepath) + genxml)}--{xbmc.getInfoLabel("System.ProfileName")}' + hashvalue = f'{self.content}{load_filecontent(self.filepath)}{genxml}' + hashvalue = f'{make_hash(hashvalue)}--{xbmc.getInfoLabel("System.ProfileName")}' if not force: # Allow overriding over built check last_version = xbmc.getInfoLabel(f'Skin.String({self.hashname})')