Repository navigation
Description
What happened
Not reproduced on a device yet. This comes from reading the source against server PR Silo-Server/silo-server#3711, which is about to merge.
That PR lets a server smart collection draw its titles from libraries other than the ones whose Collections tabs show it. For example, a collection can appear only on the Movies tab while its rules match titles from every library. The web app, the native API and Jellyfin clients list everything the rules match that the viewer may see.
The phone and tablet app narrows a server collection to the library it was opened from. When a collection is opened from a library's Collections tab, CollectionDetailViewModel sends that library as library_id on the /api/v2/catalog browse. The server applies it as a filter on the collection's titles. So, once #3711 is on the server:
- A collection shown on Movies whose rules draw from every library lists only its Movies titles.
- A collection shown on Movies whose rules match only another library's titles opens empty.
Before #3711 this filter changed nothing, because the server already limited a smart collection's rules to the libraries that show it.
Steps to reproduce
- On a server that includes fix(collections): let a server smart collection draw from every library silo-server#3711, sign in to the web app as an admin and create a smart collection under Admin > Libraries > Collections > New collection > Smart. Leave the rule sentence at all libraries, add a rule that matches titles in two libraries (for example Genre is Animation), and under Where it shows > Libraries pick only one of them, say Movies.
- In the Android phone app, open the Movies library's Collections tab and open the collection.
- Compare its titles with the same collection in the web app.
Expected behavior
The app lists the same titles as the web app: everything the collection's rules match that the profile may see, not only titles from the library it was opened from. A media-type filter the user picks can still narrow the list.
Device
Phone
Device model and OS version
Any phone or tablet. Found in source; not tied to a device.
App version and build
main at 58d9aac (2026-11-08).
Installed from
Built from source
Silo server version
Any build that includes Silo-Server/silo-server#3711.
Technical notes
androidApp/.../ui/screens/collections/CollectionDetailViewModel.ktpasseslibraryId = libraryIdtosectionRepository.getLibraryCollectionItemsfor alibrary_collectionsource, both on first load and when loading more.SectionApi.getLibraryCollectionItemssends it aslibrary_id.- The Android TV app (
TvLibraryCollectionDetailViewModel) sendslibrary_idonly when the view is filtered to a media type, and the Apple app does the same (LibraryCollectionDetailViewModel). The phone app could follow that: omitlibrary_idfor a server collection unless a media type is selected. - Personal collections opened through
collectionRepository.getItemsare a separate path and need checking separately. - Validation: this reaches Collections — Android (Collections — Android #5) C1 (browse collections and open members) and C4 (updated smart-collection membership). Neither case has a recorded result yet.
AI harness
Claude Code
AI tool(s)
GitHub CLI, Git
AI model(s)
claude-opus-5-5
AI involvement
AI-assisted
Independent or adversarial review
A Codex (gpt-6.1-sol) review of Silo-Server/silo-server#3711 raised this. I confirmed it by reading the Android, Apple and server source; it has not been reproduced on a device.
Activity