Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question : scanning library #133

Open
sreejithngvr opened this issue Jan 2, 2025 · 1 comment
Open

Question : scanning library #133

sreejithngvr opened this issue Jan 2, 2025 · 1 comment

Comments

@sreejithngvr
Copy link

sreejithngvr commented Jan 2, 2025

Jellyfin and emby taking too long to scan the libraries.
Is there anything specifically I have to do for this problem?

@Reasonable-Grape2698
Copy link

Reasonable-Grape2698 commented Jan 18, 2025

mount zurg: /data --cache-dir /cache --allow-other --dir-cache-time 50h --poll-interval 30s --vfs-cache-mode full --vfs-cache-max-size 30g --vfs-read-wait 5s --vfs-read-chunk-size 4M --vfs-read-chunk-size-limit 1024M --no-checksum --no-modtime --vfs-read-ahead 10g --allow-non-empty --cache-info-age 100h"

Try this mount command. Play around with it until it works as intended. Notable tags:
--vfs-read-wait, time it waits before reading ahead (ie if it's only pulling metadata, then closing the connection to that file, it won't read ahead)
--vfs-read-chunk-size Minimum chunk size it pulls when reading ahead, it's doubled each request up until the chunk size limit.
--dir-cache-time and --cache-info-age caches metadata, with these you can actually sometimes run time ls -1R /mnt/zurg to pull the entire directory structure, then stop zurg completely and scan with just rclone running via names only.

Play around with settings in Jellyfin/Emby so it doesn't read the entire file to scan (online lookup only, no sound levelling, chapter thumbnails, etc. Unsure on specifics for anything but Plex, but for Plex you just disable everything)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants