Fix .xm read info from filename

remotes/origin/HEAD
MengYX 4 years ago
parent b6757e81a2
commit 3b885f82ca
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604

@ -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…
Cancel
Save