Linked additional search parameters
This commit is contained in:
16
src/main.rs
16
src/main.rs
@@ -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; }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user