Skip to content

Commit 5e2bed8

Browse files
chore: update plugins.json
1 parent f57ffa9 commit 5e2bed8

6 files changed

+15
-18
lines changed

dist/62866923b42b77600712c4d5fbb2be65.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ async function getMusicInfo(musicItem) {
569569
module.exports = {
570570
platform: "酷我音乐",
571571
author: "ikun0014",
572-
version: "0.1.1",
572+
version: "0.1.2",
573573
appVersion: ">0.1.0-alpha.0",
574574
srcUrl: "https://mf.ikunshare.com/kw/index.js",
575575
cacheControl: "no-cache",

dist/6c4e03de1db7c84b79104a7b7e674e7e.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ async function importMusicSheet(urlLike) {
489489
}
490490
module.exports = {
491491
platform: "酷狗音乐",
492-
version: "0.1.1",
492+
version: "0.1.2",
493493
author: "ikun0014",
494494
appVersion: ">0.1.0-alpha.0",
495495
srcUrl: "https://mf.ikunshare.com/kg/index.js",

dist/996315568c696ac652dca93e92171043.js

+6-9
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ async function searchBase(query, page, type) {
3434
);
3535
return data.data;
3636
}
37-
// function musicCanPlayFilter(_) {
38-
// return _.lisSQ || _.lisHQ || _.lisBq || _.lisCr || _.lisQq || _.listenUrl || _.mp3;
39-
// }
4037
function musicCanPlayFilter(_) {
4138
return _.mp3 || _.listenUrl || _.lisQq || _.lisCr;
4239
}
@@ -686,11 +683,11 @@ const qualityLevels = {
686683
async function getMediaSource(musicItem, quality) {
687684
const res = (
688685
await axios_1.default.get(
689-
`https://api.ikunshare.com/url?source=mg&songId=${musicItem.id}&quality=${qualityLevels[quality]}`,
686+
`https://api.ikunshare.com/url?source=mg&songId=${musicItem.copyrightId}&quality=${qualityLevels[quality]}`,
690687
{
691-
"headers": {
692-
"X-Request-Key": "public_source"
693-
}
688+
headers: {
689+
"X-Request-Key": "public_source",
690+
},
694691
}
695692
)
696693
).data;
@@ -701,7 +698,7 @@ async function getMediaSource(musicItem, quality) {
701698
module.exports = {
702699
platform: "咪咕音乐",
703700
author: "ikun0014",
704-
version: "0.1.1",
701+
version: "0.1.2",
705702
appVersion: ">0.1.0-alpha.0",
706703
hints: {
707704
importMusicSheet: [
@@ -710,7 +707,7 @@ module.exports = {
710707
"导入时间和歌单大小有关,请耐心等待",
711708
],
712709
},
713-
primaryKey: ["id", "copyrightId"],
710+
primaryKey: ["copyrightId"],
714711
cacheControl: "cache",
715712
srcUrl: "https://mf.ikunshare.com/mg/index.js",
716713
supportedSearchType: ["music", "album", "sheet", "artist", "lyric"],

dist/f4f74cb4eb9a4930b61ee91a81e0caec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async function getLyric(musicItem) {
5757
module.exports = {
5858
platform: "酷歌词",
5959
author: "QQ频道@LY+",
60-
version: "0.1.1",
60+
version: "0.1.2",
6161
cacheControl: "no-store",
6262
supportedSearchType: ["lyric"],
6363
search,

dist/f7d1a3136c67e6dfdea569f214cfee3d.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ async function getMusicSheetInfo(sheet, page) {
586586
module.exports = {
587587
platform: "网易云音乐",
588588
author: "ikun0014",
589-
version: "0.1.1",
589+
version: "0.1.2",
590590
appVersion: ">0.1.0-alpha.0",
591591
srcUrl: "https://mf.ikunshare.com/wy/index.js",
592592
cacheControl: "no-store",

dist/plugins.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
{
5454
"name": "咪咕音乐",
5555
"url": "https://mf.ikunshare.com/mg/index.js",
56-
"version": "0.1.1"
56+
"version": "0.1.2"
5757
},
5858
{
5959
"name": "好听轻音乐",
@@ -133,17 +133,17 @@
133133
{
134134
"name": "网易云音乐",
135135
"url": "https://mf.ikunshare.com/wy/index.js",
136-
"version": "0.1.1"
136+
"version": "0.1.2"
137137
},
138138
{
139139
"name": "酷我音乐",
140140
"url": "https://mf.ikunshare.com/kw/index.js",
141-
"version": "0.1.1"
141+
"version": "0.1.2"
142142
},
143143
{
144144
"name": "酷歌词",
145145
"url": "https://mf.ikunshare.com/klrc/index.js",
146-
"version": "0.1.1"
146+
"version": "0.1.2"
147147
},
148148
{
149149
"name": "酷狗",
@@ -153,7 +153,7 @@
153153
{
154154
"name": "酷狗音乐",
155155
"url": "https://mf.ikunshare.com/kg/index.js",
156-
"version": "0.1.1"
156+
"version": "0.1.2"
157157
},
158158
{
159159
"name": "音悦台",

0 commit comments

Comments
 (0)