Browse Source

Fix .xm read info from filename

20230320
MengYX 4 years ago
parent
commit
3b885f82ca
No known key found for this signature in database GPG Key ID: E63F9C7303E8F604
  1. 4
      src/decrypt/xm.js

4
src/decrypt/xm.js

@ -46,8 +46,8 @@ export async function Decrypt(file, raw_filename, raw_ext) {
musicMeta.common.artist = "";
musicMeta.common.title = "";
}
const info = GetFileInfo(musicMeta.common.artist, musicMeta.common.title, raw_filename, "_");
let _sep = raw_filename.indexof("_") === -1 ? "-" : "_"
const info = GetFileInfo(musicMeta.common.artist, musicMeta.common.title, raw_filename, _sep);
const imgUrl = GetMetaCoverURL(musicMeta);

Loading…
Cancel
Save