mirror of
https://git.unlock-music.dev/um/web.git
synced 2024-12-28 16:35:02 +08:00
fix: joox skip metadata fetch if api fails
This commit is contained in:
parent
2835ac08ec
commit
584fb24fdd
@ -55,7 +55,7 @@ export async function extractQQMusicMeta(
|
||||
|
||||
if (id && id !== '0') {
|
||||
try {
|
||||
return fetchMetadataFromSongId(id, ext, musicMeta, musicBlob);
|
||||
return await fetchMetadataFromSongId(id, ext, musicMeta, musicBlob);
|
||||
} catch (e) {
|
||||
console.warn('在线获取曲目信息失败,回退到本地 meta 提取', e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user