Linked additional search parameters

This commit is contained in:
2026-02-16 18:01:31 -06:00
parent f40339981a
commit 81d75446fd
2 changed files with 54 additions and 9 deletions

View File

@@ -1012,6 +1012,22 @@ fn handle_key(app: &mut App, code: KeyCode) {
"Shows" => core::jellyfin::LibraryQuery::shows(),
"Music" => core::jellyfin::LibraryQuery::music(),
"Playlists" => core::jellyfin::LibraryQuery::all().with_item_types("Playlist"),
// NEW
"Collections" => core::jellyfin::LibraryQuery::all()
.with_item_types("BoxSet"),
"Continue Watching" => core::jellyfin::LibraryQuery::all()
.with_item_types("Episode,Movie")
.with_filters("IsResumable")
.with_sort_by("DatePlayed")
.with_sort_order("Descending"),
"Recently Added" => core::jellyfin::LibraryQuery::all()
.with_item_types("Movie,Series")
.with_sort_by("DateCreated,SortName")
.with_sort_order("Descending"),
_ => { app.status = format!("Not wired yet: {}", cat); return; }
};