mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #13315] [MERGED] Removing CollectionFolders from cache when they are deleted on disk. #13533
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/13315
Author: @sinterdev
Created: 1/2/2025
Status: ✅ Merged
Merged: 1/31/2025
Merged by: @crobibero
Base:
master← Head:master📝 Commits (2)
f4533beRemoving CollectionFolders from cache when they are deleted on disk.296791bRestoring previous expression.📊 Changes
1 file changed (+10 additions, -2 deletions)
View changed files
📝
Emby.Server.Implementations/Library/LibraryManager.cs(+10 -2)📄 Description
If the user has somehow deleted a collection on disk, it can prevent other collections from being scanned properly.
Changes
Added a few lines to synchronize the state between the cached collections and the collections in the root Jellyfin directory.
Issues
#12395
Testing
You can test this change by...
%LOCALAPPDATA%\jellyfin\root\default.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.