async def browse(self, device):
        """
        Launch file manager on the mount path of the specified device.

        :param device: device object, block device path or mount path
        :returns: whether the program was successfully launched.
        """
        device = self._find_device(device)
        if not device.is_mounted:
            self._log.error(_("not browsing {0}: not mounted", device))
            return False
        if not self._browser:
            self._log.error(_("not browsing {0}: no program", device))
            return False
        self._log.debug(_('opening {0} on {0.mount_paths[0]}', device))
        self._browser(device.mount_paths[0])
        self._log.info(_('opened {0} on {0.mount_paths[0]}', device))
        return True
async def browse ( self , device ) : device = self . _find_device ( device ) if not device . is_mounted : self . _log . error ( _ ( "not browsing {0}: not mounted" , device ) ) return False if not self . _browser : self . _log . error ( _ ( "not browsing {0}: no program" , device ) ) return False self . _log . debug ( _ ( 'opening {0} on {0.mount_paths[0]}' , device ) ) self . _browser ( device . mount_paths [ 0 ] ) self . _log . info ( _ ( 'opened {0} on {0.mount_paths[0]}' , device ) ) return True
Launch file manager on the mount path of the specified device.

        :param device: device object, block device path or mount path
        :returns: whether the program was successfully launched.