[PR #11963] Fix Library renaming #13047

Closed
opened 2026-02-07 07:06:15 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11963

State: closed
Merged: Yes


This handler should not just spawn a normal library validation task because our new logic will prevent the removal of library root folder unless explicitly required, which will cause the old lib still "ghosting" in the db.

Changes

  • Validate top folder with explicit requirement to remove invalid libraries during library renaming
  • Attempt to refresh the new lib only when possible

Issues

Fixes #11937

Fixes #11885

Notes for affected users:

If you already have duplicated libs ghosting, just upgrade to a version contains this PR won't fix your issue.

A mitigation to this is to rename your lib one more time after you updated to a version contains this PR. This will remove the ghosting one.

Alternatively, you can remove the renamed library, which will also remove the ghosting one, then you can add it back with your desired name.

**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/11963 **State:** closed **Merged:** Yes --- This handler should not just spawn a normal library validation task because our new logic will prevent the removal of library root folder unless explicitly required, which will cause the old lib still "ghosting" in the db. <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> - Validate top folder with explicit requirement to remove invalid libraries during library renaming - Attempt to refresh the new lib only when possible **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> Fixes #11937 Fixes #11885 ## Notes for affected users: If you already have duplicated libs ghosting, just upgrade to a version contains this PR won't fix your issue. A mitigation to this is to rename your lib one more time after you updated to a version contains this PR. This will remove the ghosting one. Alternatively, you can remove the renamed library, which will also remove the ghosting one, then you can add it back with your desired name.
OVERLORD added the pull-request label 2026-02-07 07:06:15 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13047