diff --git a/addon.xml b/addon.xml index 954b267..b4e80d4 100644 --- a/addon.xml +++ b/addon.xml @@ -1,6 +1,6 @@  + name="XBMC Backup" version="0.4.1" provider-name="robweber"> diff --git a/changelog.txt b/changelog.txt index cefcf8d..a2c1382 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,7 @@ +Version 0.4.1 + +added encode() around notifications + Version 0.4.0 fixed settings display error - thanks zer04c diff --git a/resources/lib/utils.py b/resources/lib/utils.py index cf81268..02ee1d9 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -14,7 +14,7 @@ def log(message,loglevel=xbmc.LOGNOTICE): xbmc.log(encode(__addon_id__ + ": " + message),level=loglevel) def showNotification(message): - xbmc.executebuiltin("Notification(" + getString(30010) + "," + message + ",4000," + xbmc.translatePath(__Addon.getAddonInfo('path') + "/icon.png") + ")") + xbmc.executebuiltin("Notification(" + encode(getString(30010)) + "," + encode(message) + ",4000," + xbmc.translatePath(__Addon.getAddonInfo('path') + "/icon.png") + ")") def getSetting(name): return __Addon.getSetting(name)