新增虾米音源

This commit is contained in:
lyswhut
2020-04-23 12:50:46 +08:00
parent 7bd4002f09
commit ccf362db41
40 changed files with 931 additions and 14 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ const downloadLyric = (downloadInfo, filePath) => {
? Promise.resolve(downloadInfo.musicInfo.lrc)
: music[downloadInfo.musicInfo.source].getLyric(downloadInfo.musicInfo).promise
promise.then(lrc => {
if (lrc) saveLrc(filePath.replace(/(mp3|flac|ape)$/, 'lrc'), lrc)
if (lrc) saveLrc(filePath.replace(/(mp3|flac|ape|wav)$/, 'lrc'), lrc)
})
}