2010-09-01, 15:11
aptalca Wrote:Hi Amet,
First of all, thanks for the great addon
I was wondering if there is a way to have this addon automatically close/hide the OSD menu when it's done downloading the subtitles?
Right now, I am accessing this addon not using a button on the remote, but through the OSD menu in Transparency. So when I select a subtitle to download, the OSD is also open. After download, the addon window automatically closes and the video starts playing, but I still have the OSD that I have to manually close.
I know I am just being lazy, but isn't it what we are all trying to achieve here with xbmc, ultimate practicality for the ultimate lazy?
Thanks
For anyone who's wondering, I was able to achieve the above by editing the video osd xml in my skin (transparency). I just added this line
Code:
<onclick>Dialog.Close(videoosd)</onclick>
right underneath this line
Code:
<onclick>RunScript($INFO[Skin.String(SubsScript_Path)])</onclick>
(thanks to ronie for that)