[solved] xbmc not showing logs
#1
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.

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?
Reply
#2
The syntax for xbmc.log() can be found here: http://mirrors.xbmc.org/docs/python-docs....html#-log

Code:
xbmc.log(msg='This is a test string.', level=xbmc.LOGDEBUG))
Reply
#3
Thanks KenV99

Wink
Reply

Logout Mark Read Team Forum Stats Members Help
[solved] xbmc not showing logs0