mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-21 23:05:46 +00:00
feat(library): local lossless index, filters, and conserve dedicated page (#871)
* feat(library): local lossless index, filters, and conserve dedicated page Add SQLite-backed lossless album browse and advanced-search filtering, wire All Albums and artist/album lossless drill-down mode, and hide the standalone /lossless-albums nav entry from sidebar visibility settings (conserved route, default off). * docs(release): note lossless local index in CHANGELOG and credits (PR #871)
This commit is contained in:
@@ -436,6 +436,22 @@ pub async fn library_advanced_search(
|
||||
advanced_search::run_advanced_search(&runtime.store, &request)
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub async fn library_list_lossless_albums(
|
||||
runtime: State<'_, LibraryRuntime>,
|
||||
request: crate::dto::LibraryLosslessAlbumsRequest,
|
||||
) -> Result<crate::dto::LibraryLosslessAlbumsResponse, String> {
|
||||
crate::lossless_albums::list_lossless_albums(&runtime.store, &request)
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub async fn library_get_artist_lossless_browse(
|
||||
runtime: State<'_, LibraryRuntime>,
|
||||
request: crate::dto::LibraryArtistLosslessBrowseRequest,
|
||||
) -> Result<crate::dto::LibraryArtistLosslessBrowseResponse, String> {
|
||||
crate::artist_lossless_browse::get_artist_lossless_browse(&runtime.store, &request)
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub async fn library_live_search(
|
||||
runtime: State<'_, LibraryRuntime>,
|
||||
|
||||
Reference in New Issue
Block a user