fix *required* kwargs. plugins not having **kwargs will probably not run with newer...
[vuplus_dvbapp] / lib / python / Plugins / Extensions / PicturePlayer / plugin.py
index 8a59109..4462df1 100644 (file)
@@ -9,7 +9,7 @@ from Components.ConfigList import ConfigList
 from Components.config import *
 
 from Tools.Directories import resolveFilename, pathExists, createDir, SCOPE_MEDIA
-from Components.FileList import FileEntryComponent, FileList
+from Components.FileList import FileList
 from Components.AVSwitch import AVSwitch
 
 from Plugins.Plugin import PluginDescriptor
@@ -533,7 +533,7 @@ def main(session, **kwargs):
 def filescan_open(list, session, **kwargs):
        session.open(picmain) # 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