audiobookshelf icon indicating copy to clipboard operation
audiobookshelf copied to clipboard

[Enhancement]: Multiple library filters

Open yuuzhan opened this issue 2 years ago • 8 comments

Describe the feature/enhancement

It would be nice to have more flexibility when filtering books in your library when you want to browse.

First, I would like to be able to filter off of the Negative of a filter (For Example: Does Not Contain Tag X)

Secondly, I would like to be able to use multiple filters (For Example: Progress: Not Started, Author: Stephen King, Genre: [NOT] Horror)

Thank you!

yuuzhan avatar Feb 01 '23 14:02 yuuzhan

That functionality would be awesome and greatly enhance usability!

peterpiglet avatar Mar 05 '23 10:03 peterpiglet

It would be nice to select multiple params, not just from the same type (series) but also from other list (like the op said, combine with authors and states)

Multiple Params being selected image

Highlighting fields that have some kind of active params image

Maybe even bring all the selected params to the top, out of the sorted order to be able to disable quickly.

Dr-Blank avatar Apr 13 '23 06:04 Dr-Blank

Being able to select multiple filters would be great for the users. For example, they could filter by 2 different Genres such as Fiction & History, Fiction & Space, Non-Fiction & Space

Raeitus avatar Sep 01 '23 18:09 Raeitus

I think both negative filters (e.g., books that aren't tagged "children's") and multiple filters (e.g., both genre of "Fantasy" and narrator of "Michael Kramer" to show only fantasy books narrated by Michael Kramer) are important.

I'd love this to be implemented!

See also: https://github.com/advplyr/audiobookshelf/issues/2197, more or less a dup of this.

fivestones avatar Jan 22 '24 10:01 fivestones

This would be especially useful to leverage for something like dynamic collections, or for a more robust form of RBAC.

sydlexius avatar Apr 01 '24 20:04 sydlexius

What's RBAC?

fivestones avatar Apr 02 '24 02:04 fivestones

It's a misapplication of the term, but it's Role-based Access Control. Right now I only make the audiobook library available to the kids, because I've got a good handle on the tags that work on that situation. For eBooks it's a different story, as the method I use for tagging isn't as good. Unfortunately, I can't setup any sort of filtering under the user profile that says allow access where tag = X and type = Y. I would assume that if we can get complex (multiple criteria with basic boolean operators) filtering, this would be a good basis to build atop of.

sydlexius avatar Apr 02 '24 03:04 sydlexius

A suggestion for an implementation of multiple filters was shared https://github.com/advplyr/audiobookshelf/issues/2940

Keeping this is the main thread for multiple filter support.

advplyr avatar May 06 '24 17:05 advplyr