修复歌曲封面无法嵌入的Bug
This commit is contained in:
parent
66f17cf05b
commit
d0ec90130c
@ -184,7 +184,7 @@ const saveMeta = (downloadInfo, filePath, isEmbedPic, isEmbedLyric) => {
|
|||||||
})
|
})
|
||||||
: Promise.resolve(),
|
: Promise.resolve(),
|
||||||
]
|
]
|
||||||
Promise.all(tasks).then(([imgUrl, lyrics]) => {
|
Promise.all(tasks).then(([imgUrl, lyrics = {}]) => {
|
||||||
setMeta(filePath, {
|
setMeta(filePath, {
|
||||||
title: downloadInfo.musicInfo.name,
|
title: downloadInfo.musicInfo.name,
|
||||||
artist: downloadInfo.musicInfo.singer,
|
artist: downloadInfo.musicInfo.singer,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user