From e7067b7cd5f8ad2eb17c3d0506b799552f06641a Mon Sep 17 00:00:00 2001 From: SnowWarri0r Date: Mon, 30 Dec 2024 01:18:36 +0800 Subject: [PATCH 1/2] remove meting lcr-type --- components/Player.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Player.js b/components/Player.js index 3c741f94..16357f38 100644 --- a/components/Player.js +++ b/components/Player.js @@ -71,10 +71,10 @@ const Player = () => { fixed='true' type='playlist' preload='auto' - lrc-type={siteConfig('MUSIC_PLAYER_METING_LRC_TYPE')} + // lrc-type={siteConfig('MUSIC_PLAYER_METING_LRC_TYPE')} api={siteConfig( 'MUSIC_PLAYER_METING_API', - 'https://api.i-meto.com/meting/api' + 'https://api.i-meto.com/meting/api?server=:server&type=:type&id=:id&r=:r' )} autoplay={autoPlay} order={siteConfig('MUSIC_PLAYER_ORDER')} From 2a00ecc7eea4539d0e8be00032317305999feff4 Mon Sep 17 00:00:00 2001 From: SnowWarri0r Date: Tue, 31 Dec 2024 22:34:26 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blog.config.js | 2 +- components/Player.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/blog.config.js b/blog.config.js index 3b827a95..4ca08da4 100644 --- a/blog.config.js +++ b/blog.config.js @@ -331,7 +331,7 @@ const BLOG = { MUSIC_PLAYER_METING_ID: process.env.NEXT_PUBLIC_MUSIC_PLAYER_METING_ID || '60198', // 对应歌单的 id MUSIC_PLAYER_METING_LRC_TYPE: - process.env.NEXT_PUBLIC_MUSIC_PLAYER_METING_LRC_TYPE || '1', // 可选值: 3 | 1 | 0(0:禁用 lrc 歌词,1:lrc 格式的字符串,3:lrc 文件 url) + process.env.NEXT_PUBLIC_MUSIC_PLAYER_METING_LRC_TYPE || '1', // 已废弃!!!可选值: 3 | 1 | 0(0:禁用 lrc 歌词,1:lrc 格式的字符串,3:lrc 文件 url) // ********挂件组件相关******** // ----> 评论互动 可同时开启多个支持 WALINE VALINE GISCUS CUSDIS UTTERRANCES GITALK diff --git a/components/Player.js b/components/Player.js index 16357f38..91fef339 100644 --- a/components/Player.js +++ b/components/Player.js @@ -71,7 +71,6 @@ const Player = () => { fixed='true' type='playlist' preload='auto' - // lrc-type={siteConfig('MUSIC_PLAYER_METING_LRC_TYPE')} api={siteConfig( 'MUSIC_PLAYER_METING_API', 'https://api.i-meto.com/meting/api?server=:server&type=:type&id=:id&r=:r'