Is it possible to use WindowXMLDialog with addons of type "plugin.video" and "plugin.program"? or is it just for "script" addons?
If it can be done, can you give a brief example of the file structure and initialization?
What I did is create an xml file containing a dialog "<window type="dialog" ...>", and saved it under
"PLUGIN/resources/skins/default/720p"
I also tried different paths (every possible way I could think of).
Then I initialized it with
I also tried
without any luck (I did show it after init). I also tried to supply 3rd and 4th arguments (e.g. "default", "720p")
The exception I am getting is:
Can anyone help me with this.
If it can be done, can you give a brief example of the file structure and initialization?
What I did is create an xml file containing a dialog "<window type="dialog" ...>", and saved it under
"PLUGIN/resources/skins/default/720p"
I also tried different paths (every possible way I could think of).
Then I initialized it with
Code:
WindowXMLDialog("dialog.xml", os.getcwd())
Code:
WindowXMLDialog("dialog.xml", __addon__.getAddonInfo("path"))
The exception I am getting is:
Code:
RuntimeError: XML File for Window is missing
Can anyone help me with this.