Compare commits

...

2 Commits

Author SHA1 Message Date
HugoPoi
97ce4c84c7 1.0.3 2020-07-04 18:11:19 +02:00
HugoPoi
bd1a1e4f76 fix: proper fix for apple 2020-07-04 18:11:14 +02:00
3 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ async function searchOnMyFreeMp3(query){
}) })
.then(res => res.text()) .then(res => res.text())
.then(jsonp => vm.runInNewContext(jsonp, { callback: (payload) => payload.response })) .then(jsonp => vm.runInNewContext(jsonp, { callback: (payload) => payload.response }))
.then(items => _.filter(items, _.isString)); .then(items => _.filter(items, item => !_.isString(item)));
} }
function matchScore(spotifyMetas, vkmusicMetas){ function matchScore(spotifyMetas, vkmusicMetas){

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "vk-music-dl", "name": "vk-music-dl",
"version": "1.0.2", "version": "1.0.3",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "vk-music-dl", "name": "vk-music-dl",
"version": "1.0.2", "version": "1.0.3",
"description": "Download playlist from Spotify as mp3 from VKontact", "description": "Download playlist from Spotify as mp3 from VKontact",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {