add WHERE_FILESCAN
[enigma2.git] / lib / python / Plugins / Plugin.py
index de3ec4f06ecac0cb8a6b26c28f10354df9780270..c792446a032606aad038c7c287b71ca0a9dc94d9 100644 (file)
@@ -38,6 +38,9 @@ class PluginDescriptor:
        # start as teletext plugin. arguments: session, serviceref
        WHERE_TELETEXT = 8
        
        # start as teletext plugin. arguments: session, serviceref
        WHERE_TELETEXT = 8
        
+       # file-scanner, fnc must return a list of Scanners
+       WHERE_FILESCAN = 9
+       
        def __init__(self, name = "Plugin", where = [ ], description = "", icon = None, fnc = None):
                self.name = name
                if type(where) is list:
        def __init__(self, name = "Plugin", where = [ ], description = "", icon = None, fnc = None):
                self.name = name
                if type(where) is list: