audiobookshelf icon indicating copy to clipboard operation
audiobookshelf copied to clipboard

[Enhancement]: Search to include titles / descriptions

Open rynh opened this issue 1 year ago • 7 comments

Type of Enhancement

Server Backend

Describe the Feature/Enhancement

It'd be helpful if search would include item titles (and perhaps descriptions?) Most useful for podcasts. Search will catch the podcast title but not episodes within.

Not sure if indexing descriptions would bloat the index with large libraries, especially it searches as you type (which is a great look!)

Why would this be helpful?

Would be very helpful for large backlogs.

Future Implementation (Screenshot)

As search box is used it'd include these additional fields.

Audiobookshelf Server Version

2.12.3

Current Implementation (Screenshot)

No response

rynh avatar Aug 18 '24 19:08 rynh

I also need this function very much and I completely agree.

chenpinetree avatar Aug 19 '24 08:08 chenpinetree

You already can search in title/description of a podcast. Though not from top bar search box, but from specific podcast: image

contributor avatar Sep 12 '24 09:09 contributor

You already can search in title/description of a podcast. Though not from top bar search box, but from specific podcast: image

Thank you for the update. However, could you also add this feature to audiobooks? I’ve prepared fairy tales for my child, and there are hundreds of episodes, each with a different story and title. I’ve placed all these stories in a ‘Children’s Stories’ folder, but there’s no way to search for a specific story when we want to listen to specificc one. If I use the search function now, I have to place this folder inside the ‘Podcasts’ folder. So have to switch between the audiobooks and podcasts databases.

In addition, there are audiobooks with numbered chapters, it's really helpful to have a search feature for the chapters names.

Also, why not add it to the top bar search? Wouldn’t that be more convenient?

chenpinetree avatar Sep 12 '24 14:09 chenpinetree

You already can search in title/description of a podcast. Though not from top bar search box, but from specific podcast: image

Thanks, didn't notice this in the web view. If this could be added to the mobile app that'd be great.

I think the main search bar may be more intuitive though.

rynh avatar Sep 12 '24 14:09 rynh

Sure, using main search would be more convenient

contributor avatar Sep 13 '24 10:09 contributor

there’s no way to search for a specific story when we want to listen to specificc one

You can search audiobooks from main search. Title and Subtitle fields are searchable.

contributor avatar Sep 13 '24 10:09 contributor

there’s no way to search for a specific story when we want to listen to specificc one

You can search audiobooks from main search. Title and Subtitle fields are searchable.

Title of the chapters are not searchable.

chenpinetree avatar Sep 13 '24 14:09 chenpinetree

Something is odd about the search, seems maybe it limits number of results?

I have over 50 World of Warcraft books in my library, all of them have the word "Warcraft' it the title, desc and file name. But I only see 12 books appear when I search "Warcraft", do not see any reason why it is not listing all hits? I can find other ones if I am more specific like "Lich King".

ecker00 avatar Jan 09 '25 10:01 ecker00

Something is odd about the search, seems maybe it limits number of results?

I have over 50 World of Warcraft books in my library, all of them have the word "Warcraft' it the title, desc and file name. But I only see 12 books appear when I search "Warcraft", do not see any reason why it is not listing all hits? I can find other ones if I am more specific like "Lich King".

Yes, I also only get a maximum of 12 results.

@advplyr is there a way to change the hard Limit? I am sure there is a good reason, the search results are limited to 12 items, but what is it?

xcy7e avatar May 10 '25 19:05 xcy7e

Just the size of the payload. The endpoint should be paginated if we want to load a lot of items

advplyr avatar May 10 '25 21:05 advplyr

But the list of the whole, unfiltered library is not paginated (or is it, by lazy loading the items after scrolling?). Or is the underlying process more complicated than I understand?

This prevents me from finding some one-worded titles entirely.

xcy7e avatar May 11 '25 13:05 xcy7e

Yeah it is more complicated.

The library page, authors page and series books page are paginated. Pages are loaded as you scroll. The first few versions of Abs loaded every book, but the server would run out of memory or the browser would get extremely slow for users with large libraries.

This feature request is specific to searching for podcast episodes though. The relevant feature requests for showing more items in search is https://github.com/advplyr/audiobookshelf/issues/923

advplyr avatar May 11 '25 21:05 advplyr

Fixed in v2.23.0.

github-actions[bot] avatar May 16 '25 22:05 github-actions[bot]