2018-02-14, 13:17
Hey,
Mine code execute fine but when window is shown I got that "loading" icon (spinning wheel)
I need to press ESC and then it work fine.
the endOfDirectory make it load empty list before MyWindow show up but that is not the way I would like to have this.
window.doModal() is inside function that is launched when entering specific listitem item from menu.
Any help ?
Edit:
Also when I press that ESC first time i get this in log:
Mine code execute fine but when window is shown I got that "loading" icon (spinning wheel)
I need to press ESC and then it work fine.
Quote:class MyWindow(pyxbmct.BlankFullWindow): ...
window = MyWindow(input=my_data_to_process)
# xbmcplugin.endOfDirectory(int(sys.argv[1]))
window.doModal()
the endOfDirectory make it load empty list before MyWindow show up but that is not the way I would like to have this.
window.doModal() is inside function that is launched when entering specific listitem item from menu.
Any help ?
Edit:
Also when I press that ESC first time i get this in log:
Quote:13:02:05.870 T:6820 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.myplugin/?mode=10&name=myplugin
13:02:05.872 T:6820 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.myplugin/?mode=10&name=myplugin) failed
13:02:06.970 T:6820 WARNING: CGUIWindowManager - CGUIWindowManager::HandleAction - ignoring action 107, because topmost modal dialog closing animation is running