支持flac文件歌词写入

This commit is contained in:
lyswhut
2020-07-03 09:16:20 +08:00
parent 3b25e0a112
commit a5243ff58c
7 changed files with 9 additions and 10 deletions
+2 -2
View File
@@ -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,
})
})
}