import xbmc
from pulsar.addon import ADDON_NAME


def notify(message='', header=None, time=5000, image=''):
    if header is None:
        header = ADDON_NAME
    xbmc.executebuiltin('Notification("%s", "%s", "%d", "%s")' %
                        (header, message, time, image))
