mirror of
				https://git.unlock-music.dev/um/web.git
				synced 2025-11-04 15:33:28 +08:00 
			
		
		
		
	Add tips for qmcogg
This commit is contained in:
		
							parent
							
								
									497a63486d
								
							
						
					
					
						commit
						d91f48aa70
					
				@ -7,7 +7,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Features
 | 
					## Features
 | 
				
			||||||
- [x] Unlock in browser 在浏览器中解锁
 | 
					- [x] Unlock in browser 在浏览器中解锁
 | 
				
			||||||
- [x] QQMusic File QQ音乐文件 (.qmc0/.qmc3/.qmcflac)
 | 
					- [x] QQMusic File QQ音乐文件 (.qmc0/.qmc3/.qmcflac/.qmcogg)
 | 
				
			||||||
- [x] Netease File 网易云音乐文件 (.ncm)
 | 
					- [x] Netease File 网易云音乐文件 (.ncm)
 | 
				
			||||||
- [x] Drag and Drop 拖放文件
 | 
					- [x] Drag and Drop 拖放文件
 | 
				
			||||||
- [x] Play instantly 在线播放
 | 
					- [x] Play instantly 在线播放
 | 
				
			||||||
 | 
				
			|||||||
@ -69,7 +69,7 @@
 | 
				
			|||||||
            <el-footer id="app-footer">
 | 
					            <el-footer id="app-footer">
 | 
				
			||||||
                <el-row>
 | 
					                <el-row>
 | 
				
			||||||
                    音乐解锁:移除已购音乐的加密保护。
 | 
					                    音乐解锁:移除已购音乐的加密保护。
 | 
				
			||||||
                    目前支持网易云音乐(ncm)和QQ音乐(qmc0, qmc3, qmcflac)。
 | 
					                    目前支持网易云音乐(ncm)和QQ音乐(qmc0, qmc3, qmcflac, qmcogg)。
 | 
				
			||||||
                    <a href="https://github.com/ix64/unlock-music/wiki/使用提示" target="_blank">使用提示</a>
 | 
					                    <a href="https://github.com/ix64/unlock-music/wiki/使用提示" target="_blank">使用提示</a>
 | 
				
			||||||
                </el-row>
 | 
					                </el-row>
 | 
				
			||||||
                <el-row>
 | 
					                <el-row>
 | 
				
			||||||
 | 
				
			|||||||
@ -11,7 +11,8 @@ const SEED_MAP = [
 | 
				
			|||||||
    [0x00, 0x09, 0x5b, 0x9f, 0x62, 0x66, 0xa1]];
 | 
					    [0x00, 0x09, 0x5b, 0x9f, 0x62, 0x66, 0xa1]];
 | 
				
			||||||
const audio_mime_type = {
 | 
					const audio_mime_type = {
 | 
				
			||||||
    mp3: "audio/mpeg",
 | 
					    mp3: "audio/mpeg",
 | 
				
			||||||
    flac: "audio/flac"
 | 
					    flac: "audio/flac",
 | 
				
			||||||
 | 
					    ogg: "audio/ogg"
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
async function Decrypt(file) {
 | 
					async function Decrypt(file) {
 | 
				
			||||||
@ -21,9 +22,11 @@ async function Decrypt(file) {
 | 
				
			|||||||
    switch (filename_ext) {
 | 
					    switch (filename_ext) {
 | 
				
			||||||
        case "qmc0":
 | 
					        case "qmc0":
 | 
				
			||||||
        case "qmc3":
 | 
					        case "qmc3":
 | 
				
			||||||
        case "qmcogg":
 | 
					 | 
				
			||||||
            new_ext = "mp3";
 | 
					            new_ext = "mp3";
 | 
				
			||||||
            break;
 | 
					            break;
 | 
				
			||||||
 | 
					        case "qmcogg":
 | 
				
			||||||
 | 
					            new_ext = "ogg";
 | 
				
			||||||
 | 
					            break;
 | 
				
			||||||
        case "qmcflac":
 | 
					        case "qmcflac":
 | 
				
			||||||
            new_ext = "flac";
 | 
					            new_ext = "flac";
 | 
				
			||||||
            break;
 | 
					            break;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user