Loading directory frozes whole plugin
#1
Code:
import xbmc, xbmcgui

# name and create our window
class BlahMainWindow(xbmcgui.Window):
    # and define it as self
    def __init__(self):
        # add picture control to our window (self) with a hardcoded path name to picture
        self.addControl(xbmcgui.ControlImage(0,0,720,480, 'background.jpg'))

# store our window as a short variable for easy of use
W = BlahMainWindow()
# run our window we created with our background jpeg image
W.doModal()
# after the window is closed, Destroy it.
del W

I tried to run this code from xbmc wiki http://wiki.xbmc.org/index.php?title=HOW...on_Scripts . It shows dialog Loading directory forever. Is there any way how to not show it?
Reply
#2
I get this error.
CGUIMediaWindow::GetDirectory(plugin://plugin.video.test) failed
Reply
#3
Done.

xbmcplugin.endOfDirectory(int(sys.argv[1]))
Reply

Logout Mark Read Team Forum Stats Members Help
Loading directory frozes whole plugin0