diff options
| author | acid-burn <acid-burn@opendreambox.org> | 2011-02-08 11:23:09 +0100 |
|---|---|---|
| committer | acid-burn <acid-burn@opendreambox.org> | 2011-02-08 11:23:09 +0100 |
| commit | ba5fcab217438b995c1f903e0294b71d1411668b (patch) | |
| tree | 241cf5cd4001170753627442e24deb760ba1ed22 /lib/python/Plugins/Extensions/MediaScanner/plugin.py | |
| parent | c72fb90523ab709569016548763d872ae53327e3 (diff) | |
| parent | 6a3f59e24b003c417fbf6b31f8a6d87817fec24c (diff) | |
| download | enigma2-ba5fcab217438b995c1f903e0294b71d1411668b.tar.gz enigma2-ba5fcab217438b995c1f903e0294b71d1411668b.zip | |
Merge remote branch 'origin/acid-burn/bug_670_plugin_restartoption' into experimental
Diffstat (limited to 'lib/python/Plugins/Extensions/MediaScanner/plugin.py')
| -rwxr-xr-x | lib/python/Plugins/Extensions/MediaScanner/plugin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/Plugins/Extensions/MediaScanner/plugin.py b/lib/python/Plugins/Extensions/MediaScanner/plugin.py index 0cefa353..76bbb26a 100755 --- a/lib/python/Plugins/Extensions/MediaScanner/plugin.py +++ b/lib/python/Plugins/Extensions/MediaScanner/plugin.py @@ -91,8 +91,8 @@ def autostart(reason, **kwargs): def Plugins(**kwargs): return [ - PluginDescriptor(name="MediaScanner", description=_("Scan Files..."), where = PluginDescriptor.WHERE_PLUGINMENU, fnc=main), + PluginDescriptor(name="MediaScanner", description=_("Scan Files..."), where = PluginDescriptor.WHERE_PLUGINMENU, needsRestart = True, fnc=main), # PluginDescriptor(where = PluginDescriptor.WHERE_MENU, fnc=menuHook), - PluginDescriptor(where = PluginDescriptor.WHERE_SESSIONSTART, fnc = sessionstart), - PluginDescriptor(where = PluginDescriptor.WHERE_AUTOSTART, fnc = autostart) + PluginDescriptor(where = PluginDescriptor.WHERE_SESSIONSTART, needsRestart = True, fnc = sessionstart), + PluginDescriptor(where = PluginDescriptor.WHERE_AUTOSTART, needsRestart = True, fnc = autostart) ] |
