Can't get notification icon to show
#1
Title says it all really. The notification appears, but uses the default blue book page icon instead of the one I specified. I've tried different naming, image size, and locations.

Here is my code:

Code:
xbmc.executebuiltin('xbmc.Notification(IMDB Ratings,Update Complete,/home/cosmicr/.xbmc/addons/script.imdbratings/resources/images/logo.png)')

The path isn't usually hardcoded in, but I can't get it to work either way.
Can anyone tell me what I'm doing wrong?


.
Reply
#2
Here's an example
https://github.com/paddycarey/script.art...b/utils.py

line 104
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#3
aha, thanks for the quick reply.

I misread the documentation of the function in the wiki. Turns out if you want your own icon you have to also specify the display time.

thanks heaps.
Reply
#4
cosmicr Wrote:aha, thanks for the quick reply.

I misread the documentation of the function in the wiki. Turns out if you want your own icon you have to also specify the display time.

thanks heaps.

yes or else you specifiy your icon in the time variable
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#5
note that there are some skins, that completely ignore your notification icon, at least Rapier skin does that.
Reply
#6
Martijn Wrote:yes or else you specifiy your icon in the time variable

but isn't that what I was doing?
Reply
#7
cosmicr Wrote:but isn't that what I was doing?

it does work now does it?
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#8
Martijn Wrote:it does work now does it?

Nope, only worked when I included the time also.
Reply

Logout Mark Read Team Forum Stats Members Help
Can't get notification icon to show0