From 2bc804187af1f1f7e37ad3385557607a7f40f53f Mon Sep 17 00:00:00 2001 From: TRAE Bot Date: Sun, 5 Jul 2026 16:02:32 +0000 Subject: [PATCH] fix: ext format (add description/entry); fix getUrl signature to (source, songInfo, type) --- 聆澜/Koneko_聆澜_GIT音源_v0.1.0_QZv2.js | 2 +- 聆澜/Koneko_聆澜_QQ音乐_v0.1.0_QZv2.js | 2 +- 聆澜/Koneko_聆澜_咪咕音乐_v0.1.0_QZv2.js | 2 +- 聆澜/Koneko_聆澜_网易云音乐_v0.1.0_QZv2.js | 6 +++--- 聆澜/Koneko_聆澜_酷我音乐_v0.1.0_QZv2.js | 2 +- 聆澜/Koneko_聆澜_酷狗音乐_v0.1.0_QZv2.js | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/聆澜/Koneko_聆澜_GIT音源_v0.1.0_QZv2.js b/聆澜/Koneko_聆澜_GIT音源_v0.1.0_QZv2.js index 85567c7..645d2fd 100644 --- a/聆澜/Koneko_聆澜_GIT音源_v0.1.0_QZv2.js +++ b/聆澜/Koneko_聆澜_GIT音源_v0.1.0_QZv2.js @@ -138,7 +138,7 @@ function search(str, page, limit, retryNum) { } // ===== 播放链接 ===== -function getUrl(songInfo, type) { +function getUrl(source, songInfo, type) { var q = (type === 'standard' ? '128k' : type === 'exhigh' ? '320k' : type === 'lossless' || type === 'hires' || type === 'jymaster' ? 'flac' : type) || '128k'; var songId = songInfo.id || ''; if (!songId) return Promise.resolve(''); diff --git a/聆澜/Koneko_聆澜_QQ音乐_v0.1.0_QZv2.js b/聆澜/Koneko_聆澜_QQ音乐_v0.1.0_QZv2.js index a0f6238..2dbcbac 100644 --- a/聆澜/Koneko_聆澜_QQ音乐_v0.1.0_QZv2.js +++ b/聆澜/Koneko_聆澜_QQ音乐_v0.1.0_QZv2.js @@ -175,7 +175,7 @@ function search(str, page, limit, retryNum) { } // ===== 播放链接 ===== -function getUrl(songInfo, type) { +function getUrl(source, songInfo, type) { var q = (type === 'standard' ? '128k' : type === 'exhigh' ? '320k' : type === 'lossless' || type === 'hires' || type === 'jymaster' ? 'flac' : type) || '128k'; var songId = songInfo.id || ''; var ceruKey = CERU_KEY || ''; diff --git a/聆澜/Koneko_聆澜_咪咕音乐_v0.1.0_QZv2.js b/聆澜/Koneko_聆澜_咪咕音乐_v0.1.0_QZv2.js index c92e087..5bbd143 100644 --- a/聆澜/Koneko_聆澜_咪咕音乐_v0.1.0_QZv2.js +++ b/聆澜/Koneko_聆澜_咪咕音乐_v0.1.0_QZv2.js @@ -119,7 +119,7 @@ function search(str, page, limit, retryNum) { } // ===== 播放链接 ===== -function getUrl(songInfo, type) { +function getUrl(source, songInfo, type) { var q = (type === 'standard' ? '128k' : type === 'exhigh' ? '320k' : type === 'lossless' || type === 'hires' || type === 'jymaster' ? 'flac' : type) || '128k'; var songId = songInfo.id || ''; var ceruKey = CERU_KEY || ''; diff --git a/聆澜/Koneko_聆澜_网易云音乐_v0.1.0_QZv2.js b/聆澜/Koneko_聆澜_网易云音乐_v0.1.0_QZv2.js index 40546c7..1545fac 100644 --- a/聆澜/Koneko_聆澜_网易云音乐_v0.1.0_QZv2.js +++ b/聆澜/Koneko_聆澜_网易云音乐_v0.1.0_QZv2.js @@ -197,7 +197,7 @@ function search(str, page, limit, retryNum) { } // ===== 播放链接 ===== -function getUrl(songInfo, type) { +function getUrl(source, songInfo, type) { var q = (type === 'standard' ? '128k' : type === 'exhigh' ? '320k' : type === 'lossless' || type === 'hires' || type === 'jymaster' ? 'flac' : type) || '128k'; var songId = songInfo.id || ''; var ceruKey = CERU_KEY || ''; @@ -615,8 +615,8 @@ var pluginInfo = { description: '网易云音乐音源,基于 CeruMusic musicSdk 搜索 + Ceru 播放接口' }, ext: [ - { type: 'homePage', url: 'https://music.163.com/', name: '网易云音乐主页' }, - { type: 'share', url: 'https://music.163.com/song/media/outer/url?id={id}.mp3', name: '外链分享' } + { type: 'homePage', url: 'https://music.163.com/', name: '网易云音乐主页', description: '网易云音乐主页', entry: '' }, + { type: 'share', url: 'https://music.163.com/song/media/outer/url?id={id}.mp3', name: '外链分享', description: '外链分享', entry: '' } ], env: [ { key: 'ceru_key', name: 'Ceru API Key', description: '聆澜播放接口密钥' }, diff --git a/聆澜/Koneko_聆澜_酷我音乐_v0.1.0_QZv2.js b/聆澜/Koneko_聆澜_酷我音乐_v0.1.0_QZv2.js index d3f6c2e..84f3304 100644 --- a/聆澜/Koneko_聆澜_酷我音乐_v0.1.0_QZv2.js +++ b/聆澜/Koneko_聆澜_酷我音乐_v0.1.0_QZv2.js @@ -109,7 +109,7 @@ function search(str, page, limit, retryNum) { } // ===== 播放链接 ===== -function getUrl(songInfo, type) { +function getUrl(source, songInfo, type) { var q = (type === 'standard' ? '128k' : type === 'exhigh' ? '320k' : type === 'lossless' || type === 'hires' || type === 'jymaster' ? 'flac' : type) || '128k'; var songId = songInfo.id || ''; var ceruKey = CERU_KEY || ''; diff --git a/聆澜/Koneko_聆澜_酷狗音乐_v0.1.0_QZv2.js b/聆澜/Koneko_聆澜_酷狗音乐_v0.1.0_QZv2.js index a06b6cd..5b3d744 100644 --- a/聆澜/Koneko_聆澜_酷狗音乐_v0.1.0_QZv2.js +++ b/聆澜/Koneko_聆澜_酷狗音乐_v0.1.0_QZv2.js @@ -109,7 +109,7 @@ function search(str, page, limit, retryNum) { } // ===== 播放链接 ===== -function getUrl(songInfo, type) { +function getUrl(source, songInfo, type) { var q = (type === 'standard' ? '128k' : type === 'exhigh' ? '320k' : type === 'lossless' || type === 'hires' || type === 'jymaster' ? 'flac' : type) || '128k'; var songId = songInfo.id || ''; var ceruKey = CERU_KEY || '';