pub async fn library_get_exclusion_candidates(
manager: State<'_, RepositoryManagerWrapper>,
handle: String,
) -> Result<Vec<ExclusionCandidate>, String>Expand description
The folders the user may choose to hide.
Offers each music library and the folders directly inside it. Music is the
only scope offered because it is the one where a foreign folder — podcasts,
audiobooks, sound effects — routinely shares a library with the media the
user actually browses; the scope is decided here rather than in the UI so the
collection-type table stays out of the frontend
(see SearchScope::for_collection_type).
Reads through HybridRepository::get_items_unfiltered so folders that are
already hidden still appear — otherwise the setting could never be undone.
TRACES: UR-076 | DR-209