mirror of
				https://git.unlock-music.dev/um/web.git
				synced 2025-11-04 09:33:30 +08:00 
			
		
		
		
	Use Small Cover Image for .ncm
This commit is contained in:
		
							parent
							
								
									9af2ba5e62
								
							
						
					
					
						commit
						6ef0850c40
					
				@ -164,7 +164,9 @@ function getMetaData(dataView, fileBuffer, offset) {
 | 
				
			|||||||
    if (plainText.slice(0, labelIndex) === "dj") {
 | 
					    if (plainText.slice(0, labelIndex) === "dj") {
 | 
				
			||||||
        result = result.mainMusic;
 | 
					        result = result.mainMusic;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    if (!!result.albumPic) result.albumPic = result.albumPic.replace("http://", "https://");
 | 
					    if (!!result.albumPic && result.albumPic !== "")
 | 
				
			||||||
 | 
					        result.albumPic = result.albumPic.replace("http://", "https://") + "?param=500y500";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return {data: result, offset: offset};
 | 
					    return {data: result, offset: offset};
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user