def filescan_open(list, session, **kwargs):
session.open(IpkgInstaller, list) # list
-def filescan():
+def filescan(**kwargs):
# we expect not to be called if the MediaScanner plugin is not available,
# thus we don't catch an ImportError exception here
from Plugins.Extensions.MediaScanner.plugin import Scanner, ScanPath
],
name = "Ipkg",
description = "Install software updates...",
- openfnc = filescan_open,
- )
-
+ openfnc = filescan_open, )
+
def Plugins(**kwargs):
- return [ PluginDescriptor(name="Ipkg", where = PluginDescriptor.WHERE_FILESCAN, fnc = filescan) ]
\ No newline at end of file
+ return [ PluginDescriptor(name="Ipkg", where = PluginDescriptor.WHERE_FILESCAN, fnc = filescan) ]