Add mg3d & Fix Bugs

This commit is contained in:
xhacker-zzz
2022-11-22 06:40:02 +08:00
parent a5de3829db
commit fee35d4a95
10 changed files with 94 additions and 11 deletions

View File

@@ -17,7 +17,7 @@ export async function Decrypt(
if (ext !== raw_ext) file = new Blob([buffer], { type: AudioMimeType[ext] });
}
const tag = await metaParseBlob(file);
const { title, artist } = GetMetaFromFile(raw_filename, tag.common.title, String(tag.common.artists || tag.common.artist));
const { title, artist } = GetMetaFromFile(raw_filename, tag.common.title, String(tag.common.artists || tag.common.artist || ''));
return {
title,