2015-06-25, 02:42
I hate to post here again, but I really can't help me.
To get playback working I switched from WindowXMLDialog to WindowXML, now I have a big problem: A never ending "Working" screen on a black background.
I deleted everything except the code which is needed for WindowXML:
default.py
main.xml
Please help me again
To get playback working I switched from WindowXMLDialog to WindowXML, now I have a big problem: A never ending "Working" screen on a black background.
I deleted everything except the code which is needed for WindowXML:
default.py
Code:
# -*- coding: utf-8 -*-
import sys, xbmcgui, xbmcaddon
addon = xbmcaddon.Addon()
class ddd(xbmcgui.WindowXML):
def __init__(self,strXMLname, strFallbackPath):
# Changing the three varibles passed won't change, anything
# Doing strXMLname = "bah.xml" will not change anything.
# don't put GUI sensitive stuff here (as the xml hasn't been read yet
# Idea to initialize your variables here
pass
def onInit(self):
# Put your List Populating code/ and GUI startup stuff here
pass
def onAction(self, action):
pass
def onClick(self, controlID):
pass
def onFocus(self, controlID):
pass
w = ddd('main.xml', addon.getAddonInfo('path'))
w.doModal()
del w
main.xml
Code:
<window>
<controls>
</controls>
</window>
Please help me again