[Enhancement]: Fuzzy Matching #228

Closed
opened 2026-04-24 23:01:48 +02:00 by adam · 5 comments
Owner

Originally created by @jt196 on GitHub (Mar 8, 2022).

Describe the feature/enhancement

Adding a new library to your set up, and I'm finding that the match patterns are quite a lot stricter than I think they have to be.

e.g.

Dots after abbreviated middle names:

  • James SA Corey + Expanse book title no match
  • James S.A. Corey + Expanse book title match

Book Title Match, author different

  • Benedict Cumberbatch Reads Sherlock Holmes' Rediscovered Railway Stories + Arthur Conan Doyle no match
  • Benedict Cumberbatch Reads Sherlock Holmes' Rediscovered Railway Stories + John Taylor (the actual author!) match.

I get the latter, but it's a very long name and seems like there should at least return some results here.

The Plex audiobooks metadata agent returns with a percentage match based on several criteria. If you're worried about your auto-matching breaking with fuzzy matching, why not just have a threshold?

Originally created by @jt196 on GitHub (Mar 8, 2022). ### Describe the feature/enhancement Adding a new library to your set up, and I'm finding that the match patterns are quite a lot stricter than I think they have to be. e.g. ## Dots after abbreviated middle names: - James SA Corey + Expanse book title **no match** - James S.A. Corey + Expanse book title **match** ## Book Title Match, author different - Benedict Cumberbatch Reads Sherlock Holmes' Rediscovered Railway Stories + Arthur Conan Doyle **no match** - Benedict Cumberbatch Reads Sherlock Holmes' Rediscovered Railway Stories + John Taylor (the actual author!) **match**. I get the latter, but it's a very long name and seems like there should at least return some results here. The Plex audiobooks metadata agent returns with a percentage match based on several criteria. If you're worried about your auto-matching breaking with fuzzy matching, why not just have a threshold?
adam added the enhancement label 2026-04-24 23:01:48 +02:00
adam closed this issue 2026-04-24 23:01:48 +02:00
Author
Owner

@jt196 commented on GitHub (Apr 26, 2022):

@Albuca, I think the Audnexus Plex metadata agent does a pretty good job of polling the Audible API - I think it's less strict than your search. Don't know if you're familiar with Python, but it's a pretty simple setup with just a few files. Think they use some sort of scoring system to evaluate the returned results.

@jt196 commented on GitHub (Apr 26, 2022): @Albuca, I think the [Audnexus Plex metadata agent](https://github.com/djdembeck/Audnexus.bundle) does a pretty good job of polling the Audible API - I think it's less strict than your search. Don't know if you're familiar with Python, but it's a pretty simple setup with just a few files. Think they use some sort of [scoring system](https://github.com/djdembeck/Audnexus.bundle/blob/main/Contents/Code/search_tools.py) to evaluate the returned results.
Author
Owner

@advplyr commented on GitHub (Jun 19, 2022):

@jt196 Audnexus has been being used for all audible searches for a few versions now

@advplyr commented on GitHub (Jun 19, 2022): @jt196 Audnexus has been being used for all audible searches for a few versions now
Author
Owner

@jt196 commented on GitHub (Jun 19, 2022):

@advplyr, great stuff. Did double check the test searches above and neither returned results. Guess the Sherlock one isn't the biggest deal, but James SA Corey. Is there a way to dial down the fuzziness? Even if it didn't auto match below a certain threshold that would be useful in the manual search to have less accurate results returned.

@jt196 commented on GitHub (Jun 19, 2022): @advplyr, great stuff. Did double check the test searches above and neither returned results. Guess the Sherlock one isn't the biggest deal, but James SA Corey. Is there a way to dial down the fuzziness? Even if it didn't auto match below a certain threshold that would be useful in the manual search to have less accurate results returned.
Author
Owner

@advplyr commented on GitHub (Sep 26, 2023):

This was implemented pretty well for the next release. PR https://github.com/advplyr/audiobookshelf/pull/2099

@advplyr commented on GitHub (Sep 26, 2023): This was implemented pretty well for the next release. PR https://github.com/advplyr/audiobookshelf/pull/2099
Author
Owner

@advplyr commented on GitHub (Sep 30, 2023):

Added in v2.4.4

@advplyr commented on GitHub (Sep 30, 2023): Added in [v2.4.4](https://github.com/advplyr/audiobookshelf/releases/tag/v2.4.4)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#228