forked from um/web
Fix .xm read info from filename
This commit is contained in:
parent
b6757e81a2
commit
3b885f82ca
@ -46,8 +46,8 @@ export async function Decrypt(file, raw_filename, raw_ext) {
|
|||||||
musicMeta.common.artist = "";
|
musicMeta.common.artist = "";
|
||||||
musicMeta.common.title = "";
|
musicMeta.common.title = "";
|
||||||
}
|
}
|
||||||
|
let _sep = raw_filename.indexof("_") === -1 ? "-" : "_"
|
||||||
const info = GetFileInfo(musicMeta.common.artist, musicMeta.common.title, raw_filename, "_");
|
const info = GetFileInfo(musicMeta.common.artist, musicMeta.common.title, raw_filename, _sep);
|
||||||
|
|
||||||
const imgUrl = GetMetaCoverURL(musicMeta);
|
const imgUrl = GetMetaCoverURL(musicMeta);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user