diff --git a/聆澜/Koneko_聆澜_GIT音源_v0.1.4_QZv2.js b/聆澜/Koneko_聆澜_GIT音源_v0.1.4_QZv2.js index 15716d7..33ca269 100644 --- a/聆澜/Koneko_聆澜_GIT音源_v0.1.4_QZv2.js +++ b/聆澜/Koneko_聆澜_GIT音源_v0.1.4_QZv2.js @@ -122,9 +122,7 @@ function formatGitItem(item) { return { id: String(songId), name: item.title || item.filename || '', - artists: item.artist || '未知歌手', - source: 'git', - pic: picUrl, + artists: item.artist || '未知歌手', pic: picUrl, mPic: picUrl, sPic: picUrl, albumName: item.album || '未知专辑', @@ -226,9 +224,8 @@ var pluginInfo = { info: { id: 'koneko_ceru_git', name: 'GIT音源 - Koneko 聆澜', - version: '0.1.4', - source: 'git', - description: 'GIT音源,基于 GitCode audio_database.json 本地搜索 + Ceru 播放接口' + description: 'GIT音源,基于 GitCode audio_database.json 本地搜索 + Ceru 播放接口', + version: '0.1.4' }, ext: [], env: [{ key: 'ceru_key', name: 'Ceru API Key', description: '聆澜付费密钥。留空=公益模式(仅128k);填写=付费模式(高音质)。修改后下次播放自动生效,也可点扩展按钮激活' }], diff --git a/聆澜/Koneko_聆澜_QQ音乐_v0.1.4_QZv2.js b/聆澜/Koneko_聆澜_QQ音乐_v0.1.4_QZv2.js index fd23cc2..c81a799 100644 --- a/聆澜/Koneko_聆澜_QQ音乐_v0.1.4_QZv2.js +++ b/聆澜/Koneko_聆澜_QQ音乐_v0.1.4_QZv2.js @@ -192,9 +192,7 @@ function handleSearchResult(rawList) { list.push({ id: String(item.mid), name: item.name + (item.title_extra || ''), - artists: formatSingerName(item.singer, 'name'), - source: 'tx', - pic: picUrl, mPic: picUrl, sPic: picUrl, + artists: formatSingerName(item.singer, 'name'), pic: picUrl, mPic: picUrl, sPic: picUrl, albumName: albumName, albumId: String(albumId || ''), interval: String(formatPlayTime(item.interval) || '--/--'), @@ -279,9 +277,7 @@ function musicDetail(songmid) { return { id: String(t.mid), name: t.name, - artists: singerName, - source: 'tx', - pic: picUrl, + artists: singerName, pic: picUrl, mPic: picUrl, sPic: picUrl, albumName: t.album ? t.album.name : '', @@ -346,9 +342,8 @@ var pluginInfo = { info: { id: 'koneko_ceru_tx', name: 'QQ音乐 - Koneko 聆澜', - version: '0.1.4', - source: 'tx', - description: 'QQ音乐音源,基于 CeruMusic musicSdk 搜索 + Ceru 播放接口' + description: 'QQ音乐音源,基于 CeruMusic musicSdk 搜索 + Ceru 播放接口', + version: '0.1.4' }, ext: [], env: [{ key: 'ceru_key', name: 'Ceru API Key', description: '聆澜付费密钥。留空=公益模式(仅128k);填写=付费模式(高音质)。修改后下次播放自动生效,也可点扩展按钮激活' }], diff --git a/聆澜/Koneko_聆澜_咪咕音乐_v0.1.4_QZv2.js b/聆澜/Koneko_聆澜_咪咕音乐_v0.1.4_QZv2.js index f9730be..44d5b56 100644 --- a/聆澜/Koneko_聆澜_咪咕音乐_v0.1.4_QZv2.js +++ b/聆澜/Koneko_聆澜_咪咕音乐_v0.1.4_QZv2.js @@ -118,9 +118,7 @@ function handleSearchResult(rawList) { list.push({ id: String(item.copyrightId || item.id || ''), name: stripEm(item.name || ''), - artists: stripEm(singerName), - source: 'mg', - pic: picUrl, mPic: picUrl, sPic: picUrl, + artists: stripEm(singerName), pic: picUrl, mPic: picUrl, sPic: picUrl, albumName: stripEm(albumName), albumId: albumId, interval: '--/--', @@ -210,9 +208,8 @@ var pluginInfo = { info: { id: 'koneko_ceru_mg', name: '咪咕音乐 - Koneko 聆澜', - version: '0.1.4', - source: 'mg', - description: '咪咕音乐音源,基于 CeruMusic musicSdk 搜索 + Ceru 播放接口' + description: '咪咕音乐音源,基于 CeruMusic musicSdk 搜索 + Ceru 播放接口', + version: '0.1.4' }, ext: [], env: [{ key: 'ceru_key', name: 'Ceru API Key', description: '聆澜付费密钥。留空=公益模式(仅128k);填写=付费模式(高音质)。修改后下次播放自动生效,也可点扩展按钮激活' }], diff --git a/聆澜/Koneko_聆澜_网易云音乐_v0.1.4_QZv2.js b/聆澜/Koneko_聆澜_网易云音乐_v0.1.4_QZv2.js index e153b7f..3d3011b 100644 --- a/聆澜/Koneko_聆澜_网易云音乐_v0.1.4_QZv2.js +++ b/聆澜/Koneko_聆澜_网易云音乐_v0.1.4_QZv2.js @@ -183,9 +183,7 @@ function handleSearchResult(rawList) { list.push({ id: s.id ? String(s.id) : '', name: s.name || '', - artists: artists.join('、'), - source: 'wy', - pic: pic, mPic: pic, sPic: pic, + artists: artists.join('、'), pic: pic, mPic: pic, sPic: pic, albumName: album, albumId: albumId, interval: formatPlayTime(s.duration), @@ -279,9 +277,7 @@ function musicDetail(songmid) { return { id: String(s.id), name: s.name, - artists: formatSingerName(s.ar, 'name'), - source: 'wy', - pic: picUrl, + artists: formatSingerName(s.ar, 'name'), pic: picUrl, mPic: picUrl, sPic: picUrl, albumName: s.al && s.al.name ? s.al.name : '', @@ -379,9 +375,7 @@ function leaderboardGetList(id, page) { list.push({ id: String(item.id), name: item.name, - artists: formatSingerName(item.ar, 'name'), - source: 'wy', - pic: picUrl, + artists: formatSingerName(item.ar, 'name'), pic: picUrl, mPic: picUrl, sPic: picUrl, albumName: item.al && item.al.name ? item.al.name : '', @@ -455,9 +449,7 @@ var songList = { img: p.coverImgUrl || '', play_count: formatPlayCount(p.playCount), total: p.trackCount || 0, - desc: p.description || '', - source: 'wy' - }); + desc: p.description || '', }); } return { list: list, total: res.body.total || 0, page: page, limit: limit, source: 'wy' }; }).catch(function() { return { list: [], total: 0, page: page, limit: limit, source: 'wy' }; }); @@ -481,9 +473,7 @@ var songList = { list.push({ id: String(item.id), name: item.name, - artists: formatSingerName(item.ar, 'name'), - source: 'wy', - pic: picUrl, mPic: picUrl, sPic: picUrl, + artists: formatSingerName(item.ar, 'name'), pic: picUrl, mPic: picUrl, sPic: picUrl, albumName: item.al && item.al.name ? item.al.name : '', albumId: String(item.al && item.al.id ? item.al.id : ''), interval: String(formatPlayTime((item.dt || 0) / 1000) || '--/--'), @@ -492,9 +482,7 @@ var songList = { } return { list: list, page: page, limit: limit, - total: playlist.trackIds ? playlist.trackIds.length : list.length, - source: 'wy', - info: { name: playlist.name, img: playlist.coverImgUrl, desc: playlist.description, author: playlist.creator && playlist.creator.nickname ? playlist.creator.nickname : '' } + total: playlist.trackIds ? playlist.trackIds.length : list.length, info: { name: playlist.name, img: playlist.coverImgUrl, desc: playlist.description, author: playlist.creator && playlist.creator.nickname ? playlist.creator.nickname : '' } }; }).catch(function() { return { list: [], total: 0, source: 'wy' }; }); }, @@ -628,9 +616,8 @@ var pluginInfo = { info: { id: 'koneko_ceru_wy', name: '网易云音乐 - Koneko 聆澜', - version: '0.1.5', - source: 'wy', - description: '网易云音乐音源,基于 CeruMusic musicSdk 搜索 + Ceru 播放接口' + description: '网易云音乐音源,基于 CeruMusic musicSdk 搜索 + Ceru 播放接口', + version: '0.1.5' }, ext: [], env: [ diff --git a/聆澜/Koneko_聆澜_酷我音乐_v0.1.4_QZv2.js b/聆澜/Koneko_聆澜_酷我音乐_v0.1.4_QZv2.js index b8a4f46..998b2d2 100644 --- a/聆澜/Koneko_聆澜_酷我音乐_v0.1.4_QZv2.js +++ b/聆澜/Koneko_聆澜_酷我音乐_v0.1.4_QZv2.js @@ -131,9 +131,7 @@ function handleSearchResult(rawList) { list.push({ id: String(songId), name: stripEm(info.SONGNAME || ''), - artists: artistStr, - source: 'kw', - pic: picUrl, + artists: artistStr, pic: picUrl, mPic: picUrl, sPic: picUrl, albumName: stripEm(info.ALBUM || ''), @@ -226,9 +224,8 @@ var pluginInfo = { info: { id: 'koneko_ceru_kw', name: '酷我音乐 - Koneko 聆澜', - version: '0.1.4', - source: 'kw', - description: '酷我音乐音源,基于 CeruMusic musicSdk 搜索 + Ceru 播放接口' + description: '酷我音乐音源,基于 CeruMusic musicSdk 搜索 + Ceru 播放接口', + version: '0.1.4' }, ext: [], env: [{ key: 'ceru_key', name: 'Ceru API Key', description: '聆澜付费密钥。留空=公益模式(仅128k);填写=付费模式(高音质)。修改后下次播放自动生效,也可点扩展按钮激活' }], diff --git a/聆澜/Koneko_聆澜_酷狗音乐_v0.1.4_QZv2.js b/聆澜/Koneko_聆澜_酷狗音乐_v0.1.4_QZv2.js index 9c4ada2..9f1d324 100644 --- a/聆澜/Koneko_聆澜_酷狗音乐_v0.1.4_QZv2.js +++ b/聆澜/Koneko_聆澜_酷狗音乐_v0.1.4_QZv2.js @@ -105,9 +105,7 @@ function handleSearchResult(rawList) { list.push({ id: String(item.hash || item.audio_id || ''), name: stripEm(item.songname || item.song_name || ''), - artists: stripEm(item.singername || item.singer_name || ''), - source: 'kg', - pic: picUrl, + artists: stripEm(item.singername || item.singer_name || ''), pic: picUrl, mPic: picUrl, sPic: picUrl, albumName: stripEm(item.album_name || ''), @@ -211,9 +209,8 @@ var pluginInfo = { info: { id: 'koneko_ceru_kg', name: '酷狗音乐 - Koneko 聆澜', - version: '0.1.4', - source: 'kg', - description: '酷狗音乐音源,基于 CeruMusic musicSdk 搜索 + Ceru 播放接口' + description: '酷狗音乐音源,基于 CeruMusic musicSdk 搜索 + Ceru 播放接口', + version: '0.1.4' }, ext: [], env: [{ key: 'ceru_key', name: 'Ceru API Key', description: '聆澜付费密钥。留空=公益模式(仅128k);填写=付费模式(高音质)。修改后下次播放自动生效,也可点扩展按钮激活' }],