mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-31 15:19:42 +02:00
Add fuse.basic.min.js in libs instead of full npm package, use lower threshold for quick matching
This commit is contained in:
parent
eda7036f70
commit
6d0d1415e4
5 changed files with 21 additions and 17 deletions
|
@ -370,7 +370,7 @@ class Scanner {
|
|||
|
||||
let numEpisodesUpdated = 0
|
||||
for (const episode of episodesToQuickMatch) {
|
||||
const episodeMatches = findMatchingEpisodesInFeed(feed, episode.title)
|
||||
const episodeMatches = findMatchingEpisodesInFeed(feed, episode.title, 0.1)
|
||||
if (episodeMatches?.length) {
|
||||
const wasUpdated = await this.updateEpisodeWithMatch(episode, episodeMatches[0].episode, options)
|
||||
if (wasUpdated) numEpisodesUpdated++
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue