mirror of
https://git.um-react.app/um/web.git
synced 2026-11-25 06:36:59 +00:00
fix: joox skip metadata fetch if api fails
This commit is contained in:
1 parent
2835ac08ec
commit
584fb24fdd
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user