aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions/MediaPlayer/plugin.py
diff options
context:
space:
mode:
authoracid-burn <acid-burn@opendreambox.org>2011-02-07 20:47:31 +0100
committeracid-burn <acid-burn@opendreambox.org>2011-02-07 20:47:31 +0100
commit65a7c0d34bf86543475e98a781a93aa59013b6ce (patch)
tree9dac10269b359b139f49c7fcc89d754026c61b91 /lib/python/Plugins/Extensions/MediaPlayer/plugin.py
parent89e103f1ff262950613b761fcb370f8ab7267ee8 (diff)
downloadenigma2-65a7c0d34bf86543475e98a781a93aa59013b6ce.tar.gz
enigma2-65a7c0d34bf86543475e98a781a93aa59013b6ce.zip
Enigma2-Plugins: implement needsRestart=False for plugins that don't need a enigma2 restart after installation.
refs #670
Diffstat (limited to 'lib/python/Plugins/Extensions/MediaPlayer/plugin.py')
-rwxr-xr-xlib/python/Plugins/Extensions/MediaPlayer/plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Plugins/Extensions/MediaPlayer/plugin.py b/lib/python/Plugins/Extensions/MediaPlayer/plugin.py
index 9ae886fc..b44a2470 100755
--- a/lib/python/Plugins/Extensions/MediaPlayer/plugin.py
+++ b/lib/python/Plugins/Extensions/MediaPlayer/plugin.py
@@ -1041,6 +1041,6 @@ def filescan(**kwargs):
from Plugins.Plugin import PluginDescriptor
def Plugins(**kwargs):
return [
- PluginDescriptor(name = "MediaPlayer", description = "Play back media files", where = PluginDescriptor.WHERE_MENU, fnc = menu),
- PluginDescriptor(name = "MediaPlayer", where = PluginDescriptor.WHERE_FILESCAN, fnc = filescan)
+ PluginDescriptor(name = "MediaPlayer", description = "Play back media files", where = PluginDescriptor.WHERE_MENU, needsRestart = False, fnc = menu),
+ PluginDescriptor(name = "MediaPlayer", where = PluginDescriptor.WHERE_FILESCAN, needsRestart = False, fnc = filescan)
]