2019-09-08, 01:00
I'm trying to show a loading image when the video is loading, but because I use an external player, DialogBusy.xml isn't triggered.
Since I open videos from a DialogVideoInfo.xml button, I added DialogBusy to open there:
The problem is once I exit the video, back on the item list, I've lost all control of the list no matter what I press, and I have to quit Kodi.
My DialogBusy.xml is just:
So how do I make it close? Or have control back on the list? Or even just load the image directly from the onclick instead of adding a DialogBusy.xml window?
Since I open videos from a DialogVideoInfo.xml button, I added DialogBusy to open there:
xml:<control type="button" id="97">
<onclick>ActivateWindow(busydialog)</onclick>
<onclick>SendClick(8)</onclick>
</control>
The problem is once I exit the video, back on the item list, I've lost all control of the list no matter what I press, and I have to quit Kodi.
My DialogBusy.xml is just:
xml:<?xml version="1.0" encoding="UTF-8"?>
<window>
<controls>
<control type="multiimage">
<animation effect="fade" end="100" start="0" time="200">WindowOpen</animation>
<animation delay="100" effect="fade" end="0" start="100" time="200">WindowClose</animation>
<imagepath>general/background.png</imagepath>
<aspectratio>stretch</aspectratio>
<visible>Player.Playing</visible>
</control>
</controls>
</window>
So how do I make it close? Or have control back on the list? Or even just load the image directly from the onclick instead of adding a DialogBusy.xml window?