def notify(self,message): if self.config.getBool('notify'): xbmc.executebuiltin(Text.xbmcTo(u'XBMC.Notification({0},{1},{2},{3})'.format(self.name, message , 5 , os.path.join( self.path ,"icon.png" ))) )
def message(self,title,message): xbmcgui.Dialog().ok( Text.xbmcTo(title), Text.xbmcTo(message) )