add (incomplete) media scan support
[enigma2.git] / lib / python / Plugins / Plugin.py
index b2808c8ec6838da15733c38824560ab53b7838e7..de3ec4f06ecac0cb8a6b26c28f10354df9780270 100644 (file)
@@ -1,4 +1,7 @@
 from enigma import loadPNG
+from Components.config import ConfigSubsection, config
+
+config.plugins = ConfigSubsection()
 
 class PluginDescriptor:
        """An object to describe a plugin."""
@@ -14,7 +17,7 @@ class PluginDescriptor:
        # you have to ignore unknown kwargs!
        
        # argument: session
-       WHERE_BLUEMENU = 0
+       WHERE_EXTENSIONSMENU = 0
        WHERE_MAINMENU = 1
        WHERE_PLUGINMENU  = 2
        # argument: session, serviceref (currently selected)