Browse Source

Use Small Cover Image for .ncm

20230320
MengYX 4 years ago
parent
commit
6ef0850c40
No known key found for this signature in database GPG Key ID: E63F9C7303E8F604
  1. 4
      src/decrypt/ncm.js

4
src/decrypt/ncm.js

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

Loading…
Cancel
Save