Skip to content

Commit 893c64e

Browse files
committed
v0.23.15
1 parent 1bf3050 commit 893c64e

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

dist/main.js

+6-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @supportURL https://github.com/Xmader/musescore-downloader/issues
66
// @updateURL https://msdl.librescore.org/install.user.js
77
// @downloadURL https://msdl.librescore.org/install.user.js
8-
// @version 0.23.13
8+
// @version 0.23.15
99
// @description download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱
1010
// @author Xmader
1111
// @match https://musescore.com/*/*
@@ -331,7 +331,7 @@
331331
typeof GM[requiredMethod] !== 'undefined';
332332
};
333333

334-
const DISCORD_URL = 'https://discord.gg/kTyx6nUjMv';
334+
const DISCORD_URL = 'https://discord.gg/gSsTUvJmD8';
335335
const escapeFilename = (s) => {
336336
return s.replace(/[\s<>:{}"/\\|?*~.\0\cA-\cZ]+/g, '_');
337337
};
@@ -27036,7 +27036,8 @@ Please pipe the document into a Node stream.\
2703627036
},
2703727037
];
2703827038

27039-
const _getLink = (scorepack) => {
27039+
const _getLink = (indexingInfo) => {
27040+
const { scorepack } = JSON.parse(indexingInfo);
2704027041
return `https://librescore.org/score/${scorepack}`;
2704127042
};
2704227043
const getLibreScoreLink = (scoreinfo, _fetch = getFetch()) => __awaiter(void 0, void 0, void 0, function* () {
@@ -27313,7 +27314,7 @@ Please pipe the document into a Node stream.\
2731327314
class ScoreInfo {
2731427315
constructor() {
2731527316
this.RADIX = 20;
27316-
this.INDEX_RADIX = 128;
27317+
this.INDEX_RADIX = 32;
2731727318
this.store = new Map();
2731827319
}
2731927320
get idLastDigit() {
@@ -27329,7 +27330,7 @@ Please pipe the document into a Node stream.\
2732927330
return `https://ipfs.infura.io:5001/api/v0/block/stat?arg=${this.getMsczIpfsRef(mainCid)}`;
2733027331
}
2733127332
getScorepackRef(mainCid) {
27332-
return `/ipfs/${mainCid}/index/${(+this.id) % this.INDEX_RADIX}/${this.id}/scorepack`;
27333+
return `/ipfs/${mainCid}/index/${(+this.id) % this.INDEX_RADIX}/${this.id}`;
2733327334
}
2733427335
}
2733527336
class ScoreInfoInPage extends ScoreInfo {

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "musescore-downloader",
3-
"version": "0.23.13",
3+
"version": "0.23.15",
44
"description": "download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱",
55
"main": "dist/main.js",
66
"bin": "dist/cli.js",

0 commit comments

Comments
 (0)