Use Small Cover Image for .ncm

remotes/origin/HEAD
MengYX 4 years ago
parent 9af2ba5e62
commit 6ef0850c40
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604

@ -164,7 +164,9 @@ function getMetaData(dataView, fileBuffer, offset) {
if (plainText.slice(0, labelIndex) === "dj") { if (plainText.slice(0, labelIndex) === "dj") {
result = result.mainMusic; result = result.mainMusic;
} }
if (!!result.albumPic) result.albumPic = result.albumPic.replace("http://", "https://"); if (!!result.albumPic && result.albumPic !== "")
result.albumPic = result.albumPic.replace("http://", "https://") + "?param=500y500";
return {data: result, offset: offset}; return {data: result, offset: offset};
} }

Loading…
Cancel
Save