Skip to content

slow image directory loading when using fuse network drive mount with rclone, even with --disable-type-detection-by-header flag #5460

@francarl

Description

@francarl

Checklist

Version

v2.44.0

Description

When mounting fuse network drive using rclone or similar tools and accessing folder with lot of images, even if using --disable-type-detection-by-header flag, filebrowser is very slow and often hangs up.
From some test, the problem arises because filebrowser calculates image resolution for every images, regardless of --disable-type-detection-by-header flag, accessing each image file.

What did you expect to happen?

--disable-type-detection-by-header flag should also disable get image resolution

What actually happened?

very slow reading long list of images

Reproduction Steps

mount google drive with rclone:
rclone mount --daemon --vfs-cache-mode full gdrive:/ /media/GDrive/
navigate with filebrowser a folder with a lot of images
filebrowser -r /media/GDrive -p 8888 --disable-type-detection-by-header

Files

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions