From 04ec3bd8a830057f1352105df41eadef3faa40a3 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Tue, 20 Aug 2019 11:32:07 -0500 Subject: [PATCH] use images folder as default --- addon.xml | 6 +++++- resources/{media => images}/icon.png | Bin resources/lib/utils.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) rename resources/{media => images}/icon.png (100%) diff --git a/addon.xml b/addon.xml index 214b9e2..6f9e76f 100644 --- a/addon.xml +++ b/addon.xml @@ -89,7 +89,11 @@ https://github.com/robweber/xbmcbackup - resources/media/icon.png + resources/images/icon.png + resources/images/screenshot1.png + resources/images/screenshot2.png + resources/images/screenshot3.png + resources/images/screenshot4.png Version 1.1.4 - added file chunk support for dropbox uploads diff --git a/resources/media/icon.png b/resources/images/icon.png similarity index 100% rename from resources/media/icon.png rename to resources/images/icon.png diff --git a/resources/lib/utils.py b/resources/lib/utils.py index 3f029e0..fc921ea 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -18,7 +18,7 @@ def log(message,loglevel=xbmc.LOGDEBUG): xbmc.log(encode(__addon_id__ + "-" + __Addon.getAddonInfo('version') + ": " + message),level=loglevel) def showNotification(message): - xbmcgui.Dialog().notification(encode(getString(30010)),encode(message),time=4000,icon=xbmc.translatePath(__Addon.getAddonInfo('path') + "/resources/media/icon.png")) + xbmcgui.Dialog().notification(encode(getString(30010)),encode(message),time=4000,icon=xbmc.translatePath(__Addon.getAddonInfo('path') + "/resources/images/icon.png")) def getSetting(name): return __Addon.getSetting(name)