Revert "really only show accessible devices"
authoracid-burn <acidburn@opendreambox.org>
Fri, 13 Feb 2009 09:55:43 +0000 (10:55 +0100)
committeracid-burn <acidburn@opendreambox.org>
Fri, 13 Feb 2009 09:55:43 +0000 (10:55 +0100)
This reverts commit 8530482b1d58468eade8ae2cfd618c694bef75d2.

lib/python/Plugins/Extensions/MediaScanner/plugin.py

index b43662e..2c31197 100755 (executable)
@@ -45,9 +45,6 @@ def scan(session):
                for x in parts:
                        if not access(x[1], F_OK|R_OK):
                                parts.remove(x) 
-               for x in parts: # first run sometimes skips an entry
-                       if not access(x[1], F_OK|R_OK):
-                               parts.remove(x)
                session.openWithCallback(mountpoint_choosen, ChoiceBox, title = _("Please Select Medium to be Scanned"), list = parts)
 
 def main(session, **kwargs):