Enigma2-Plugins: implement needsRestart=True for plugins that need a enigma2 restart...
[enigma2.git] / lib / python / Plugins / Extensions / DVDPlayer / plugin.py
index e1ab3ef476d452a801876735c0b880b0cfcbe75e..eaf8db64c0ee3463afce1286dedf9c4485704e93 100755 (executable)
@@ -775,5 +775,5 @@ def filescan(**kwargs):
                )]              
 
 def Plugins(**kwargs):
-       return [PluginDescriptor(name = "DVDPlayer", description = "Play DVDs", where = PluginDescriptor.WHERE_MENU, fnc = menu),
-                       PluginDescriptor(where = PluginDescriptor.WHERE_FILESCAN, fnc = filescan)]
+       return [PluginDescriptor(name = "DVDPlayer", description = "Play DVDs", where = PluginDescriptor.WHERE_MENU, needsRestart = True, fnc = menu),
+                       PluginDescriptor(where = PluginDescriptor.WHERE_FILESCAN, needsRestart = True, fnc = filescan)]