2014-06-03, 09:13
I am trying to skin my addon and want it to disappear when the video is playing, but reappear after it ends. Basically the user has to decide to close the window, otherwise it stays "open".
I tried simply not closing the window in the code, but the video just plays behind it. So I have to close the window.
Then I tried using a video player infolabel to detect when a video isnt playing, but that made the window appear in between items in a playlist. This would also happen if I put a sleep delay in the "check infolabel" loop.
Just looking for ideas here. Not looking for anyone to burn a lot of calories
P.S I tried adding a visibility criteria to the windows xml, but apparantly that only works for dialogs.
I tried simply not closing the window in the code, but the video just plays behind it. So I have to close the window.
Then I tried using a video player infolabel to detect when a video isnt playing, but that made the window appear in between items in a playlist. This would also happen if I put a sleep delay in the "check infolabel" loop.
Just looking for ideas here. Not looking for anyone to burn a lot of calories
P.S I tried adding a visibility criteria to the windows xml, but apparantly that only works for dialogs.