Repository navigation
Description
What happened
When a profile hides a library (Settings → Libraries, the "Hidden libraries" preference ui.disabled_library_ids), every title that also lives in another, still-visible library disappears for that profile. The title drops out of the visible library's grid, search, and the watchlist, and its detail page returns 404.
This affects servers that split the same shows or movies across libraries, for example an HD library and a 4K library, or a regular and a remux library. Hiding the 4K library should leave the HD copy browsable, but the whole title goes away instead.
Accounts restricted to a set of libraries by an admin are not affected. With the same libraries, an account allowed only the HD library still sees the shared titles.
Steps to reproduce
On a Silo dev deployment built from main at 47a2998:
- Create two series libraries whose roots both contain the same show. Here "TV Shows" (id 2) and "TV 4K" (id 3) both contain Moon Knight, One-Punch Man and The Queen's Gambit;
media_item_librarieslists each of those series under both libraries. - As an unrestricted account's profile, add Moon Knight to the watchlist.
- Hide "TV 4K" for that profile:
PUT /api/v2/settings/values/ui.disabled_library_ids?scope=profilewith{"value":[3]}. - Request, with that profile:
GET /api/v2/catalog?library_id=2(browse "TV Shows")GET /api/v2/catalog?q=moon%20knight(search)GET /api/v2/watchlistGET /api/v2/catalog/items/series-tvdb-368611(Moon Knight's detail page)
Before step 3:
browse lib 2: ['1883', '3 Body Problem', '56 Days', 'Moon Knight', 'One-Punch Man', 'Pokémon Chronicles', "The Queen's Gambit"]
search "moon knight": ['Moon Knight']
item detail Moon Knight: HTTP 200
watchlist: ['Moon Knight']
After step 3:
browse lib 2: ['1883', '3 Body Problem', '56 Days', 'Pokémon Chronicles']
search "moon knight": []
item detail Moon Knight: HTTP 404
watchlist: []
For comparison, a separate account restricted by an admin to Movies and "TV Shows" (library_ids {1,2}) still gets all seven shows in "TV Shows", finds Moon Knight in search, and opens its detail page (HTTP 200).
Expected behavior
Hiding a library hides that library, not titles that are also in a library the profile can still see. A title in both "TV Shows" and the hidden "TV 4K" should stay in "TV Shows", search, the watchlist and other rows, and open normally. Its 4K version should not be offered, because that file lives in the hidden library.
Silo version / commit
main at 47a2998
Deployment
Silo dev deployment (Docker Compose, PostgreSQL, Redis, S3-compatible storage), single node.
Clients affected
- Web UI
- Android
- iOS/tvOS/macOS
- Jellyfin-compat client (Infuse, Findroid, ...)
- Other/not client-specific
The filtering happens on the server, so every client that sends the profile sees it. Only the native API was checked.
Relevant logs
No logs available. The requests succeed and return empty results or a 404; nothing is logged for them.
Technical notes
The scope resolver handles the preference two ways (internal/access/resolver.go, and library_decision in internal/policy/vendor/scope.rego):
- A restricted viewer has the hidden IDs subtracted from its allowlist. Catalog queries then require membership in any remaining allowed library (
EXISTS ... media_folder_id = ANY(allowed)), so a shared title stays. - An unrestricted viewer gets the hidden IDs as
DisabledLibraryIDs. Catalog queries applyNOT EXISTS (... media_folder_id = ANY(disabled))(libraryAccessConditionsininternal/catalog/access_filter.go, and copies acrossinternal/catalog,internal/sections,internal/jellycompat, and Meilisearch'slibrary_ids NOT IN [...]). Membership in a hidden library removes the title even when it is also in a visible one.
The settings contract describes ui.disabled_library_ids as "Libraries you have hidden from your own browsing" and notes that it "is not an access control", so the global removal does not match the setting's intent.
AI harness
Claude Code (T3 Code)
AI tool(s)
Claude Code
AI model(s)
claude-opus-5-5
AI involvement
Fully AI-generated. A maintainer started the run; the AI agent reproduced the problem on a dev deployment, traced the cause in the source, and wrote this issue.
Independent or adversarial review
n/a
Confirmations
- I reproduced this myself on a real deployment
- Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above
Source: community report on Discord (2 reports)
Activity
Quick104 commentedon Oct 6, 2026
🤖 AI agent claim. Claude Code (claude-opus-5-5) is working on a fix for this issue on behalf of @Quick104, who is assigned.
A pull request will link here when the fix is ready. If the work stops without a fix, the assignment and this comment are removed.
Planning to work on this, or have context to add? Reply here and mention @Quick104.