Exemple #1
0
 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" ))) )
Exemple #2
0
 def message(self,title,message):
   xbmcgui.Dialog().ok( Text.xbmcTo(title), Text.xbmcTo(message) )