jarvis icon.png needs to be in root directory

This commit is contained in:
Rob Weber 2019-08-20 09:41:30 -05:00
parent 36f094a258
commit 46257f1626
3 changed files with 1 additions and 5 deletions

View File

@ -87,10 +87,6 @@
<license>The MIT License</license> <license>The MIT License</license>
<forum>https://forum.kodi.tv/showthread.php?tid=129499</forum> <forum>https://forum.kodi.tv/showthread.php?tid=129499</forum>
<source>https://github.com/robweber/xbmcbackup</source> <source>https://github.com/robweber/xbmcbackup</source>
<email></email>
<assets>
<icon>resources/media/icon.png</icon>
</assets>
<news>Version 1.1.4 <news>Version 1.1.4
- added file chunk support for dropbox uploads - added file chunk support for dropbox uploads
- fixed settings duplicate ids, thanks aster-anto - fixed settings duplicate ids, thanks aster-anto

View File

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

@ -18,7 +18,7 @@ def log(message,loglevel=xbmc.LOGNOTICE):
xbmc.log(encode(__addon_id__ + "-" + __Addon.getAddonInfo('version') + ": " + message),level=loglevel) xbmc.log(encode(__addon_id__ + "-" + __Addon.getAddonInfo('version') + ": " + message),level=loglevel)
def showNotification(message): 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') + "/icon.png"))
def getSetting(name): def getSetting(name):
return __Addon.getSetting(name) return __Addon.getSetting(name)