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

fix: skip library folders that are inaccessible or empty #9291

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

cvium
Copy link
Member

@cvium cvium commented Feb 10, 2023

Changes

  • Skip Folder where IsTopParent == true if the filesystem path is inaccessible or empty
  • Don't remove anything when IsRoot is true (AggregateFolder and UserRootFolder will have this condition and they directly point to library folders)

I have only tested it on Windows with SMB mount and an empty folder. It needs to be tested more, especially Linux network shares, symlinks etc.

Issues

@ShrirajHegde
Copy link

Any update on this? This is still a very bad problem.

Especially since rescan takes like days for a library of few TBs.

@crobibero crobibero merged commit 239727e into jellyfin:master Mar 18, 2024
@cvium cvium deleted the skip_inaccessible_libraries branch April 13, 2024 06:30
SourSulfur pushed a commit to SourSulfur/jellyfin that referenced this pull request Apr 19, 2024
SourSulfur pushed a commit to SourSulfur/jellyfin that referenced this pull request Apr 19, 2024
IDisposable pushed a commit to IDisposable/jellyfin-jellyfin that referenced this pull request Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants