Expand description
Library browsing preferences — currently, which folders are hidden.
The setting replaces a hardcoded frontend filter that dropped any item
literally named “Podcasts”, which was one user’s folder layout keyed on an
English string and shipped to everyone. What is hidden is now a user choice
made of stable ids, applied in the repository layer
(repository::exclusions) so every query path agrees; the frontend only
renders a picker over the candidates this module serves.
TRACES: UR-076 | DR-209
Structs§
- Exclusion
Candidate - Something the user may choose to hide: a library, or a folder directly inside one.
Constants§
- CANDIDATE_
SCAN_ 🔒LIMIT - How many immediate children of a library the picker will consider.
- LIBRARY_
SETTINGS_ 🔒KEY app_settingskey holding the persisted library preferences (JSON).
Functions§
- library_
get_ exclusion_ candidates - The folders the user may choose to hide.
- library_
get_ settings - The library preferences currently in force.
- library_
set_ settings - Replace the library preferences: apply them to every subsequent query and persist them.
- persist_
library_ 🔒settings - Write the preferences to
app_settings. - restore_
library_ settings - Restore the persisted preferences at startup, into the exclusion set the repository consults.