Get found subtitle list
#1
Hi,
as AutoSubs is not working for me since a while, I wanted to create something myself. I am not a developer so my question might be trivial. 

In my plugin I have this piece of code:
python:
xbmc.executebuiltin('XBMC.ActivateWindow(SubtitleSearch)')
while (xbmcgui.getCurrentWindowDialogId() != 10153):
  xbmc.sleep(1000)
while (xbmcgui.getCurrentWindowDialogId() == 10153):
  xbmc.executebuiltin('XBMC.Action(Select)')
  xbmc.executebuiltin('XBMC.Action(Enter)')
  xbmc.sleep(1000)
 
Which works ok-ish. I want to upgrade it and make less brute force.

Is there any way to check when plugin which is searching fo subtitles ends it work? As you can see in second while I am forcing to download first result of subtitles, but I would rather want to wait for such event than execute it like this?
Reply

Logout Mark Read Team Forum Stats Members Help
Get found subtitle list0