2014-07-02, 19:21
Hi, I'm developing a service addon that will verify through a server, if it have some message to send to xbmc. If this message exists, it will show through a popup.
Right now I'm trying to add a new functionality. if xbmc is playing a video the message must not appear.
The problem is that this code lines are "new", I added after I install addon. I'm suspecting that xbmc are not reading the new file. I already disabled/enabled, uninstall and install once again and nothing. In last case, the log message it supposed to appear in xbmc log, I'm right?
What could be wrong?
Right now I'm trying to add a new functionality. if xbmc is playing a video the message must not appear.
Code:
logging.debug('-------------------------------------------')
logging.debug('Executando showNotificationNow')
logging.debug('-------------------------------------------')
if XBMC_ENABLE == True:
self.player = xbmc.Player()
logging.debug(str(dir(self.player)))
if not self.player.isPlayingVideo():
# show popup notification
else:
# save message to show up later
The problem is that this code lines are "new", I added after I install addon. I'm suspecting that xbmc are not reading the new file. I already disabled/enabled, uninstall and install once again and nothing. In last case, the log message it supposed to appear in xbmc log, I'm right?
What could be wrong?