its a bad idea to open a screen at every place..
[enigma2.git] / lib / python / Plugins / Extensions / MediaScanner / plugin.py
index d2efea5..c5f6043 100644 (file)
@@ -57,11 +57,12 @@ def menuHook(menuid):
 global_session = None
 
 def partitionListChanged(action, device):
-       if action == 'add' and device.is_hotplug:
-               print "mountpoint", device.mountpoint
-               print "description", device.description
-               print "force_mounted", device.force_mounted
-               mountpoint_choosen((device.description, device.mountpoint, global_session))
+       pass
+#      if action == 'add' and device.is_hotplug:
+#              print "mountpoint", device.mountpoint
+#              print "description", device.description
+#              print "force_mounted", device.force_mounted
+#              mountpoint_choosen((device.description, device.mountpoint, global_session))
 
 def sessionstart(reason, session):
        global global_session