mirror of
				https://git.unlock-music.dev/um/web.git
				synced 2025-11-04 15:53:29 +08:00 
			
		
		
		
	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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user