mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Parsing to int
This commit is contained in:
@@ -632,7 +632,7 @@ var List = {
|
||||
} else if(thisSong != undefined && i != undefined) {
|
||||
var isFound = false;
|
||||
if(thisSong.source == "soundcloud") {
|
||||
List.found.push({id: thisSong.id});
|
||||
List.found.push({id: parseInt(thisSong.id)});
|
||||
List.exportToSoundCloud(full_playlist[i+1], i+1);
|
||||
} else {
|
||||
thisSong.title = Helper.replaceForFind(thisSong.title);
|
||||
@@ -655,7 +655,7 @@ var List = {
|
||||
}
|
||||
var id=song.id;
|
||||
if(similarity(title, thisSong.track) > 0.60) {
|
||||
List.found.push({id: song.id});
|
||||
List.found.push({id: parseInt(song.id)});
|
||||
isFound = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user