Loading directory issue
#1
Hi guys,

Can someone explain why I get the "Loading directory" box when I just want to use the following code?

Code:
import xbmc, xbmcgui

class MyClass(xbmcgui.Window):
  print 'hello world'
  
mydisplay = MyClass()
mydisplay .doModal()
del mydisplay

Thanks,
Reply
#2
I guess you are using a plugin extension point but wanted to create a script.

In short: A plugin provides virtual directories, a script creates its own gui.

Use:
Code:
<extension point="xbmc.python.script" library="script.py"/>
Not:
Code:
<extension point="xbmc.python.pluginsource" library="script.py"/>

regards,
sphere
My GitHub. My Add-ons:
Image
Reply
#3
Hi Sphere,

Thank you for you reply, this works much better Smile

san

Reply

Logout Mark Read Team Forum Stats Members Help
Loading directory issue0