1
0
forked from um/web

Fix ncm unlock while no album pic #58

This commit is contained in:
MengYX 2020-05-14 17:37:21 +08:00
parent 6410576adb
commit 7b9070f99d
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604

View File

@ -132,7 +132,8 @@ function getMetaData(dataView, fileBuffer, offset) {
if (plainText.slice(0, labelIndex) === "dj") {
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};
}