Fix ncm unlock while no album pic #58

remotes/origin/HEAD
MengYX 5 years ago
parent 6410576adb
commit 7b9070f99d
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604

@ -132,7 +132,8 @@ function getMetaData(dataView, fileBuffer, offset) {
if (plainText.slice(0, labelIndex) === "dj") { if (plainText.slice(0, labelIndex) === "dj") {
result = result.mainMusic; result = result.mainMusic;
} }
result.albumPic = result.albumPic.replace("http:", "https:"); console.log(result);
if (!!result.albumPic) result.albumPic = result.albumPic.replace("http://", "https://");
return {data: result, offset: offset}; return {data: result, offset: offset};
} }

Loading…
Cancel
Save