2007-11-07, 12:30
Could someone throw some light on the two params of time and image when used with xbmc.notification()
time: I've been informed it should be milliseconds, but ieven if I pass 140000 (14secs) it shows for the default time (~3secs)
example command used:
image: Always attempts to load filename from the current skins media folder.
ERROR: Texture manager unable to load file: Q:\skin\Project Mayhem III\media\image=Q:\scripts\myscriptname\resources\notify.gif
example command used:
Is it possible to get it to load an image from your own scripts path?
Is there a preferred image type/size ?
Thanks
time: I've been informed it should be milliseconds, but ieven if I pass 140000 (14secs) it shows for the default time (~3secs)
example command used:
Code:
xbmc.executebuiltin("XBMC.Notification('heading','message',time=14000)")
image: Always attempts to load filename from the current skins media folder.
ERROR: Texture manager unable to load file: Q:\skin\Project Mayhem III\media\image=Q:\scripts\myscriptname\resources\notify.gif
example command used:
Code:
xbmc.executebuiltin("XBMC.Notification('heading','message',image='Q:\scripts\myscriptname\resources\notify.gif')")
Is it possible to get it to load an image from your own scripts path?
Is there a preferred image type/size ?
Thanks