diff options
| author | acid-burn <acid-burn@opendreambox.org> | 2011-02-07 21:52:19 +0100 |
|---|---|---|
| committer | acid-burn <acid-burn@opendreambox.org> | 2011-02-07 21:52:19 +0100 |
| commit | 81ed3b8706eb034f04e9db87fbcfd9dbba39e125 (patch) | |
| tree | f6575114c438399991248b0681c2c83b5981029b /lib/python/Plugins/Extensions/MediaScanner/plugin.py | |
| parent | 65a7c0d34bf86543475e98a781a93aa59013b6ce (diff) | |
| download | enigma2-81ed3b8706eb034f04e9db87fbcfd9dbba39e125.tar.gz enigma2-81ed3b8706eb034f04e9db87fbcfd9dbba39e125.zip | |
Enigma2-Plugins: implement needsRestart=True for plugins that need a enigma2 restart after installation.
refs #670
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) ] |
