#17517 new Bugs

Unexpected behavior from xbmc.monitor()

Reported by: Lunatixz Owned by: jfcarroll
Priority: 4 - Normal
Component: Python Code and/or Scripts Version: 17.3 "Krypton" Final
Severity: Normal Keywords: monitor, thread, endtime
Cc: Blocked By:
Blocking: Platform: Windows


I've been encountering unexpected behavior from xbmc.monitor.waitForAbort, Everytime either a single video or the first playlist entry ends the loop breaks. Since the clip i'm using is only a few seconds this compared with longer videos this is the first time i've noticed this behavior.

Details and reproducible code in link below. THX


Change History (3)

comment:1 Changed at 2017-07-01T12:41:56+01:00 by takoi

Please post a debug log and a working example (http://sscce.org/)

comment:2 Changed at 2017-07-04T00:28:31+01:00 by Lunatixz

I created a test script, you might notice it is from my "trump tweets" plugin, I'm trying to add a screensaver element.

The script can be executed both by program and by screensaver. Note while running via program the while loop does NOT break at the end of the short clip. HOWEVER when executed as a screensaver the while loop breaks. I added log entries to follow the loop actions. You can search entries using "script.test-0.0.1".

Log 1, program execute. Log 2, screensaver execute.


Last edited at 2017-07-04T00:39:16+01:00 by Lunatixz (previous) (diff)

comment:3 Changed at 2018-05-16T09:45:32+01:00 by Rechi

Does this sill happen with v18 nightlies?

Debug Log (​https://kodi.wiki/view/Log_file) is missing.

Note: See TracTickets for help on using tickets.