Skip to content

Commit

Permalink
Merge pull request #98 from anxdpanic/dev
Browse files Browse the repository at this point in the history
2.0.3~alpha2
  • Loading branch information
anxdpanic authored Feb 12, 2023
2 parents f8b9279 + 1a37542 commit ec6b600
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.skinshortcuts" name="Skin Shortcuts" version="2.0.3~alpha1" provider-name="BigNoid, marcelveldt, SiLVO">
<addon id="script.skinshortcuts" name="Skin Shortcuts" version="2.0.3~alpha2" provider-name="BigNoid, marcelveldt, SiLVO">
<requires>
<import addon="xbmc.python" version="3.0.0"/>
<import addon="script.module.unidecode" version="1.1.1+matrix.2"/>
Expand Down
5 changes: 4 additions & 1 deletion resources/lib/skinshorcuts/xmlfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ def build_menu(self, mainmenu_id, groups, num_levels, build_mode, options, minit
profilelist.append([path, "String.IsEqual(System.ProfileName,%s)" % name, name])

else:
profilelist = [["special://masterprofile", None, 'masterprofile']]
name = xbmc.getInfoLabel("System.ProfileName")
profilelist = [[xbmcvfs.translatePath("special://masterprofile/"),
"String.IsEqual(System.ProfileName,%s)" % name,
name]]

if not self.shouldwerun(profilelist):
log("Menu is up to date")
Expand Down

0 comments on commit ec6b600

Please sign in to comment.