2015-07-26, 17:47
I have a very strange issue with a python script.
I run this script from an <onclick> statement in my skin:
The script runs fine, at one point it is using a condition test:
The problem is that if I invoke this script when DialogVideoInfo is displayed, xbmc.getCondVisibility() never returns.
The weird thing is that the script resumes, and completes correctly after I exit the windows, xbmc.getCondVisibility() returns and the script execution ends normally but only after:
It doesn't seem related with the condition itself as I tried different tests, it seems to be related with the getCondVisibility call.
Could this be a bug with the python/xbmc engine? Or is there something I should know about dialogs and python scripts?
Thank you in advance...
I run this script from an <onclick> statement in my skin:
PHP Code:
<onclick>RunScript(special://masterprofile/resumeFullscreen.py)</onclick>
The script runs fine, at one point it is using a condition test:
PHP Code:
if xbmc.getCondVisibility("!VideoPlayer.IsFullscreen + Player.Paused"):
The problem is that if I invoke this script when DialogVideoInfo is displayed, xbmc.getCondVisibility() never returns.
The weird thing is that the script resumes, and completes correctly after I exit the windows, xbmc.getCondVisibility() returns and the script execution ends normally but only after:
Code:
DEBUG: ------ Window Deinit (DialogVideoInfo.xml) ------
It doesn't seem related with the condition itself as I tried different tests, it seems to be related with the getCondVisibility call.
Could this be a bug with the python/xbmc engine? Or is there something I should know about dialogs and python scripts?
Thank you in advance...