Skip to content

Commit b486fce

Browse files
committed
up the jaro winkler name difference maximum to 15%
1 parent 285c74c commit b486fce

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.yarn/versions/1a35f4da.yml

Whitespace-only changes.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "daunroda",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"license": "MIT",
55
"description": "A simple yet efficient Spotify to YouTube Music Downloader",
66
"author": "Kovacs Alex ([email protected])",

src/lib/YouTube.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ export class YouTube {
374374
(artist) =>
375375
artist.name.toLowerCase() === track.artists[0].name.toLowerCase()
376376
) ||
377-
jaroWinkler(res.title ?? res.name ?? "", track.name) < 0.6
377+
jaroWinkler(res.title ?? res.name ?? "", track.name) < 0.85
378378
) {
379379
return null;
380380
}

0 commit comments

Comments
 (0)