max-depth for library scan/refresh #566

Closed
opened 2026-02-06 19:50:32 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @platinum55 on GitHub (Apr 4, 2019).

Is your feature request related to a problem? Please describe.
on my remote storage, each chdir() is expensive and takes around 12 seconds. When refreshing the library, jellyfin enters each directory and needs hours for this, even if only one folder is new.

Describe the solution you'd like
a max-deph feature for scanning would be great, like in the "find" binary for linux:

       -maxdepth levels
              Descend at most levels (a non-negative integer) levels of direc‐
              tories below the starting-points.  -maxdepth 0
               means  only  apply the tests and actions to the starting-points
              themselves.

Describe alternatives you've considered
An alternative could be the possibility to add single folders into existing libraries, to prevent to scanning process for all folders

Originally created by @platinum55 on GitHub (Apr 4, 2019). **Is your feature request related to a problem? Please describe.** on my remote storage, each chdir() is expensive and takes around 12 seconds. When refreshing the library, jellyfin enters each directory and needs hours for this, even if only one folder is new. **Describe the solution you'd like** a max-deph feature for scanning would be great, like in the "find" binary for linux: ``` -maxdepth levels Descend at most levels (a non-negative integer) levels of direc‐ tories below the starting-points. -maxdepth 0 means only apply the tests and actions to the starting-points themselves. ``` **Describe alternatives you've considered** An alternative could be the possibility to add single folders into existing libraries, to prevent to scanning process for all folders
OVERLORD added the enhancement label 2026-02-06 19:50:32 +03:00
Author
Owner

@jellyfin-bot commented on GitHub (Jul 29, 2019):

We are moving all feature and enhancement requests to our new Fider platform here. This new platform lets people vote on and better manage such requests.
This request now lives here.

@jellyfin-bot commented on GitHub (Jul 29, 2019): We are moving all feature and enhancement requests to our new Fider platform [here](https://features.jellyfin.org/). This new platform lets people vote on and better manage such requests. This request now lives [here](https://features.jellyfin.org/posts/188/max-depth-for-library-scan-refresh).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#566