forked from um/web
Use Small Cover Image for .ncm
This commit is contained in:
parent
9af2ba5e62
commit
6ef0850c40
@ -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…
Reference in New Issue
Block a user