Add fuse.basic.min.js in libs instead of full npm package, use lower threshold for quick matching

This commit is contained in:
advplyr 2025-06-13 17:23:24 -05:00
parent eda7036f70
commit 6d0d1415e4
5 changed files with 21 additions and 17 deletions

View file

@ -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++