add WHERE_FILESCAN
authorFelix Domke <tmbinc@elitedvb.net>
Tue, 19 Dec 2006 01:57:57 +0000 (01:57 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Tue, 19 Dec 2006 01:57:57 +0000 (01:57 +0000)
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
        
+       # 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: