fix: api path & docker image name
(cherry picked from commit ce3de22d0e25f8cdf13e455baaae657bf61ee56a)
This commit is contained in:
parent
a73212f026
commit
381f224a68
17
README.md
17
README.md
@ -8,20 +8,22 @@
|
|||||||
|
|
||||||
![Test Build](https://github.com/unlock-music/unlock-music/workflows/Test%20Build/badge.svg)
|
![Test Build](https://github.com/unlock-music/unlock-music/workflows/Test%20Build/badge.svg)
|
||||||
![GitHub releases](https://img.shields.io/github/downloads/unlock-music/unlock-music/total)
|
![GitHub releases](https://img.shields.io/github/downloads/unlock-music/unlock-music/total)
|
||||||
![Docker Pulls](https://img.shields.io/docker/pulls/unlock-music/unlock-music)
|
![Docker Pulls](https://img.shields.io/docker/pulls/ix64/unlock-music)
|
||||||
|
|
||||||
[license]: https://github.com/unlock-music/unlock-music/blob/master/LICENSE
|
[license]: https://github.com/unlock-music/unlock-music/blob/master/LICENSE
|
||||||
|
|
||||||
[repo_cli]: https://github.com/unlock-music/cli
|
[repo_cli]: https://github.com/unlock-music/cli
|
||||||
|
|
||||||
[tg_group]: https://t.me/unlock_music_chat
|
[tg_group]: https://t.me/unlock_music_chat
|
||||||
|
|
||||||
[related_projects]: https://github.com/unlock-music/unlock-music/wiki/和UnlockMusic相关的项目
|
[related_projects]: https://github.com/unlock-music/unlock-music/wiki/和UnlockMusic相关的项目
|
||||||
|
|
||||||
## 特性
|
## 特性
|
||||||
|
|
||||||
### 支持的格式
|
### 支持的格式
|
||||||
|
|
||||||
- [x] QQ 音乐 (.qmc0/.qmc2/.qmc3/.qmcflac/.qmcogg/[.tkm](https://github.com/unlock-music/unlock-music/issues/9))
|
- [x] QQ 音乐 (.qmc0/.qmc2/.qmc3/.qmcflac/.qmcogg/.tkm)
|
||||||
- [x] 写入封面图片
|
- [x] Moo 音乐格式 (.bkcmp3/.bkcflac)
|
||||||
- [x] Moo 音乐格式 ([.bkcmp3/.bkcflac](https://github.com/unlock-music/unlock-music/issues/11))
|
|
||||||
- [x] QQ 音乐 Tm 格式 (.tm0/.tm2/.tm3/.tm6)
|
- [x] QQ 音乐 Tm 格式 (.tm0/.tm2/.tm3/.tm6)
|
||||||
- [x] QQ 音乐新格式 ([.mflac/.mgg](https://github.com/unlock-music/unlock-music/issues/3))
|
- [x] QQ 音乐新格式 ([.mflac/.mgg](https://github.com/unlock-music/unlock-music/issues/3))
|
||||||
- [x] <ruby>QQ 音乐海外版<rt>JOOX Music</rt></ruby> (.)
|
- [x] <ruby>QQ 音乐海外版<rt>JOOX Music</rt></ruby> (.)
|
||||||
@ -31,16 +33,17 @@
|
|||||||
- [x] 酷狗音乐格式 (.kgm) ([CLI 版本][kgm_cli])
|
- [x] 酷狗音乐格式 (.kgm) ([CLI 版本][kgm_cli])
|
||||||
|
|
||||||
[kgm_cli]: https://github.com/unlock-music/unlock-music/wiki/其他音乐格式工具#酷狗音乐-kgmvpr解锁工具
|
[kgm_cli]: https://github.com/unlock-music/unlock-music/wiki/其他音乐格式工具#酷狗音乐-kgmvpr解锁工具
|
||||||
|
|
||||||
[joox_wiki]: https://github.com/unlock-music/joox-crypto/wiki/加密格式
|
[joox_wiki]: https://github.com/unlock-music/joox-crypto/wiki/加密格式
|
||||||
|
|
||||||
### 其他特性
|
### 其他特性
|
||||||
|
|
||||||
- [x] 在浏览器中解锁
|
- [x] 在浏览器中解锁
|
||||||
- [x] 拖放文件
|
- [x] 拖放文件
|
||||||
- [x] 在线播放
|
|
||||||
- [x] 批量解锁
|
- [x] 批量解锁
|
||||||
- [x] 渐进式 Web 应用 (PWA)
|
- [x] 渐进式 Web 应用 (PWA)
|
||||||
- [x] 多线程
|
- [x] 多线程
|
||||||
|
- [x] 写入Meta和封面图片
|
||||||
|
|
||||||
## 使用方法
|
## 使用方法
|
||||||
|
|
||||||
@ -53,13 +56,13 @@
|
|||||||
### 使用已构建版本
|
### 使用已构建版本
|
||||||
|
|
||||||
- 从[GitHub Release](https://github.com/unlock-music/unlock-music/releases/latest)下载已构建的版本
|
- 从[GitHub Release](https://github.com/unlock-music/unlock-music/releases/latest)下载已构建的版本
|
||||||
- 本地使用请下载`legacy版本`(`modern版本`只能通过**http/https 协议**访问)
|
- 本地使用请下载`legacy版本`(`modern版本`只能通过 **http(s)协议** 访问)
|
||||||
- 解压缩后即可部署或本地使用(**请勿直接运行源代码**)
|
- 解压缩后即可部署或本地使用(**请勿直接运行源代码**)
|
||||||
|
|
||||||
### 使用 Docker 镜像
|
### 使用 Docker 镜像
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run --name unlock-music -d -p 8080:80 unlock-music/unlock-music
|
docker run --name unlock-music -d -p 8080:80 ix64/unlock-music
|
||||||
```
|
```
|
||||||
|
|
||||||
### 自行构建
|
### 自行构建
|
||||||
|
@ -108,7 +108,6 @@ export async function querySongInfoById(id: string | number): Promise<SongInfoRe
|
|||||||
throw new Error('请求信息失败');
|
throw new Error('请求信息失败');
|
||||||
}
|
}
|
||||||
|
|
||||||
const QQ_MUSIC_COVER_URI = 'https://stats.ixarea.com/apis/music/qq-cover';
|
|
||||||
export function getQMImageURLFromPMID(pmid: string, type = 1): string {
|
export function getQMImageURLFromPMID(pmid: string, type = 1): string {
|
||||||
return `${QQ_MUSIC_COVER_URI}/${type}/${pmid}`;
|
return `${IXAREA_API_ENDPOINT}/music/qq-cover/${type}/${pmid}`;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user