mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
logging correctly
This commit is contained in:
@@ -683,7 +683,7 @@ var List = {
|
|||||||
}
|
}
|
||||||
title = title.toLowerCase();
|
title = title.toLowerCase();
|
||||||
var id=song.id;
|
var id=song.id;
|
||||||
Helper.log(title + " " + _title + " " + similarity(title, _title));
|
Helper.log([title + " " + _title + " " + similarity(title, _title)]);
|
||||||
if(similarity(title, _title) > 0.60) {
|
if(similarity(title, _title) > 0.60) {
|
||||||
List.found.push({id: parseInt(song.id)});
|
List.found.push({id: parseInt(song.id)});
|
||||||
isFound = true;
|
isFound = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user