支持flac文件歌词写入
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
"download_name": "Music file naming",
|
||||
"download_data_embed": "Whether to embed the following content in the audio file",
|
||||
"download_embed_pic": "Embedding cover",
|
||||
"download_embed_lyric": "Embedding lyric (supports MP3 format only)",
|
||||
"download_embed_lyric": "Embedding lyric",
|
||||
"download_lyric_title": "Select whether to download the lyrics file",
|
||||
"download_lyric": "Lyrics download",
|
||||
"download_name1": "Title - Artist",
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
"download_name": "文件命名方式",
|
||||
"download_data_embed": "是否将以下内容嵌入到音频文件中",
|
||||
"download_embed_pic": "封面嵌入",
|
||||
"download_embed_lyric": "歌词嵌入(只支持 mp3 格式)",
|
||||
"download_embed_lyric": "歌词嵌入",
|
||||
"download_lyric_title": "是否同时下载歌词文件",
|
||||
"download_lyric": "歌词下载",
|
||||
"download_name1": "歌名 - 歌手",
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
"download_name": "文件命名方式",
|
||||
"download_data_embed": "是否將以下內容嵌入到音頻文件中",
|
||||
"download_embed_pic": "封面嵌入",
|
||||
"download_embed_lyric": "歌詞嵌入(只支持 mp3 格式)",
|
||||
"download_embed_lyric": "歌詞嵌入",
|
||||
"download_lyric_title": "是否同時下載歌詞文件",
|
||||
"download_lyric": "歌詞下載",
|
||||
"download_name1": "歌名 - 歌手",
|
||||
|
||||
@@ -184,13 +184,13 @@ const saveMeta = (downloadInfo, filePath, isEmbedPic, isEmbedLyric) => {
|
||||
})
|
||||
: Promise.resolve(),
|
||||
]
|
||||
Promise.all(tasks).then(([imgUrl, lyric]) => {
|
||||
Promise.all(tasks).then(([imgUrl, lyrics]) => {
|
||||
setMeta(filePath, {
|
||||
title: downloadInfo.musicInfo.name,
|
||||
artist: downloadInfo.musicInfo.singer,
|
||||
album: downloadInfo.musicInfo.albumName,
|
||||
APIC: imgUrl,
|
||||
lyric,
|
||||
lyrics,
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user