Improve library path mapping UX#122
Merged
StudioNirin merged 4 commits intoApr 1, 2026
Merged
Conversation
When toggling a library back ON, re-fetch locations from Plex and reconcile: add mappings for new locations and remove mappings for locations no longer in Plex. Previously, toggling off/on only re-enabled stale mappings without detecting changes.
The 1-hour Plex library cache prevented toggle off/on from picking up new or removed folder locations. Now invalidates cache before fetching so the sync always uses fresh data from Plex.
Multi-mapping libraries now use one form with a single Save/Cancel
instead of per-mapping forms. New PUT /libraries/{id}/paths endpoint
saves all mappings at once.
- Auto-append folder name to mapping names when library has multiple locations (e.g., "Movies (Movies UHD)" instead of duplicate "Movies") - Adaptive form hints reference the actual Plex path for each mapping - Warning banner on unrecognized Plex path prefixes (not /data/ or /media/) - Path validation now shows warning for non-/mnt/ paths instead of empty
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan