支持本地同名 krc 格式歌词文件的读取(#2053)

This commit is contained in:
lyswhut
2024-09-25 18:04:42 +08:00
parent 30fc818771
commit a599e0716f
7 changed files with 122 additions and 80 deletions
+1 -3
View File
@@ -31,7 +31,5 @@ export const getMusicFilePic = async(filePath: string) => {
export const getMusicFileLyric = async(filePath: string): Promise<LX.Music.LyricInfo | null> => {
const lyric = await getLocalMusicFileLyric(filePath)
if (!lyric) return null
return {
lyric,
}
return lyric
}