mirror of
				https://git.unlock-music.dev/um/web.git
				synced 2025-11-04 15:33:28 +08:00 
			
		
		
		
	Merge branch 'master' into pull/1
This commit is contained in:
		
						commit
						0e59843944
					
				@ -66,9 +66,11 @@ async function Decrypt(file) {
 | 
				
			|||||||
    const filename = artist + " - " + title + "." + new_ext;
 | 
					    const filename = artist + " - " + title + "." + new_ext;
 | 
				
			||||||
    // 处理无封面
 | 
					    // 处理无封面
 | 
				
			||||||
    let pic_url = "";
 | 
					    let pic_url = "";
 | 
				
			||||||
    if (tag.common.picture !== undefined && tag.common.picture.length > 0) {
 | 
					
 | 
				
			||||||
        let pic = new Blob([tag.common.picture[0].data], {type: tag.common.picture[0].format});
 | 
					    if (tag.common.picture !== undefined && tag.common.picture.length >= 1) {
 | 
				
			||||||
        pic_url = URL.createObjectURL(pic);
 | 
					        const picture = tag.common.picture[0];
 | 
				
			||||||
 | 
					        const blobPic = new Blob([picture.data], {type: picture.format});
 | 
				
			||||||
 | 
					        pic_url = URL.createObjectURL(blobPic);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    // 返回
 | 
					    // 返回
 | 
				
			||||||
    return {
 | 
					    return {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user