Help with addon creation
#1
I am at wits end, i have read, tried tested, and repeated 100's of times.

What I want is simple, or so i thought, i made myself a now playing popup dialog, which works fine, but i wanted more, so i decided that i would change the pyhton script, instead of calling the dialog, to call the window when you pause (dialogVideoInfo.xml?) but i cannot get it to work.

So my question is simple, or so i think, how would one go calling the pause/"i" window everytime a new video starts, the changing in videos i have, i tested it, but the calling of the window does not work.

PHP Code:
last_video getCurrentVideo()
while ( 
not xbmc.abortRequested ):
    
xbmc.sleep(1000)  #sleep 1000ms (1s)
    
current_video getCurrentVideo()
    if (
current_video != None and current_video != last_video):
        
title current_video['showtitle']
        
xbmc.executebuiltin("XBMC.ActivateWindow(10115)")
    
last_video current_video 

The above code does not work, it runs, no errors, but no "i" display

Hope my wording on this question makes sense, its late, and i have been sitting here trying to figure it out without enough caffeine for way to long :p
Reply
#2
If you have the rest of the script on github somewhere I can probably help...
Reply

Logout Mark Read Team Forum Stats Members Help
Help with addon creation0