mirror of
https://github.com/MeoProject/lx-music-api-server.git
synced 2025-05-23 19:17:41 +08:00
docs: 为什么不改README😡
This commit is contained in:
parent
bdf03dbfdd
commit
2e67b1967a
65
README.md
65
README.md
@ -2,18 +2,17 @@
|
||||
|
||||
<div align="center">
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||
[](https://github.com/lxmusics/lx-music-api-server-python/actions/workflows/build_beta.yml)
|
||||
[](https://github.com/lxmusics/lx-music-api-server-python/releases/latest)
|
||||
[](https://github.com/lxmusics/lx-music-api-server-python/releases)
|
||||
[](https://github.com/lxmusics/lx-music-api-server/blob/main/LICENSE)
|
||||

|
||||
[](https://github.com/MeoProject/lx-music-api-server/actions/workflows/build_beta.yml)
|
||||
[](https://github.com/MeoProject/lx-music-api-server/releases/latest)
|
||||
[](https://github.com/MeoProject/lx-music-api-server/releases)
|
||||
[](https://github.com/MeoProject/lx-music-api-server/blob/main/LICENSE)
|
||||
|
||||
</div>
|
||||
|
||||
原仓库:[lx-music-api-server](https://github.com/lxmusics/lx-music-api-server)
|
||||
你可以在原仓库中找到对应的可用源脚本
|
||||
本项目[文档](https://apidoc.zcmonety.xyz)
|
||||
|
||||
由于使用此项目导致的**封号**等情况**与本项目无关**
|
||||
|
||||
@ -36,8 +35,8 @@
|
||||
|
||||
### Release 部署(推荐)
|
||||
|
||||
1. 从 [Releases](https://github.com/lxmusics/lx-music-api-server-python/releases)
|
||||
或 [Actions](https://github.com/lxmusics/lx-music-api-server-python/actions)
|
||||
1. 从 [Releases](https://github.com/MeoProject/lx-music-api-server/releases)
|
||||
或 [Actions](https://github.com/MeoProject/lx-music-api-server/actions)
|
||||
下载对应你系统的可执行文件 (从 GitHub Actions 下载需要登录 GitHub 账号)
|
||||
|
||||
2. 运行可执行文件(如果下载的文件是压缩包请先解压)
|
||||
@ -57,8 +56,8 @@
|
||||
2. clone本项目并进入项目目录
|
||||
|
||||
```bash
|
||||
git clone https://github.com/lxmusics/lx-music-api-server-python.git
|
||||
cd lx-music-api-server-python
|
||||
git clone https://github.com/MeoProject/lx-music-api-server.git
|
||||
cd lx-music-api-server
|
||||
```
|
||||
|
||||
3. 安装依赖
|
||||
@ -87,8 +86,8 @@ linux 命令如果为 python3 请自行替换
|
||||
1. clone本项目并进入项目目录
|
||||
|
||||
```bash
|
||||
git clone https://github.com/lxmusics/lx-music-api-server-python.git
|
||||
cd lx-music-api-server-python
|
||||
git clone https://github.com/MeoProject/lx-music-api-server.git
|
||||
cd lx-music-api-server
|
||||
```
|
||||
|
||||
2. 安装依赖
|
||||
@ -103,36 +102,6 @@ linux 命令如果为 python3 请自行替换
|
||||
python main.py
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Docker 部署
|
||||
|
||||
环境要求:Docker
|
||||
|
||||
不知道需要的 Docker 版本,可以自己尝试现有的 Docker 版本是否可以使用
|
||||
|
||||
1. 更新软件包
|
||||
|
||||
```bash
|
||||
sudo apt-get update
|
||||
```
|
||||
|
||||
2. 安装Docker,已有跳过
|
||||
|
||||
```bash
|
||||
sudo apt-get install -y docker.io
|
||||
```
|
||||
|
||||
3. 创建容器
|
||||
|
||||
```bash
|
||||
docker run --name lx-music-api-server -p 9763:9763 -v /root/lx-music-api-server/config:/app/server/config -v /root/lx-music-api-server/logs:/app/server/logs -v /root/lx-music-api-server/audio:/app/server/audio --restart always -d ikun0014/lx-music-api-docker
|
||||
```
|
||||
|
||||
4. 填写配置
|
||||
|
||||
前往/root/lx-music-api-server/config填写 (权限不足可修改创建容器命令)
|
||||
|
||||
## 📖返回码说明
|
||||
|
||||
接口返回值中`body.code`字段值中的代码含义
|
||||
@ -237,7 +206,7 @@ linux 命令如果为 python3 请自行替换
|
||||
|
||||
4. 模块不拆分
|
||||
|
||||
详见[config.py](https://github.com/lxmusics/lx-music-api-server-python/tree/main/common/config.py)
|
||||
详见[config.py](https://github.com/MeoProject/lx-music-api-server/tree/main/common/config.py)
|
||||
|
||||
5. 不明所以的变量名
|
||||
|
||||
@ -254,7 +223,7 @@ linux 命令如果为 python3 请自行替换
|
||||
|
||||
## 📄项目协议
|
||||
|
||||
本项目基于 [MIT](https://github.com/lxmusics/lx-music-api-server/blob/main/LICENSE) 许可证发行,以下协议是对于 MIT 原协议的补充,如有冲突,以以下协议为准。
|
||||
本项目基于 [MIT](https://github.com/MeoProject/lx-music-api-server/blob/main/LICENSE) 许可证发行,以下协议是对于 MIT 原协议的补充,如有冲突,以以下协议为准。
|
||||
|
||||
词语约定:本协议中的“本项目”指本音源项目;“使用者”指签署本协议的使用者;“官方音乐平台”指对本项目内置的包括酷我、酷狗、咪咕等音乐源的官方平台统称;“版权数据”指包括但不限于图像、音频、名字等在内的他人拥有所属版权的数据。
|
||||
|
||||
@ -274,8 +243,8 @@ folltoshe+foxmail.com
|
||||
|
||||
## ✨Star 趋势图
|
||||
|
||||
[](https://starchart.cc/lxmusics/lx-music-api-server-python)
|
||||
[](https://starchart.cc/MeoProject/lx-music-api-server)
|
||||
|
||||
## ⚙️贡献者
|
||||
|
||||
[](https://github.com/lxmusics/lx-music-api-server-python/graphs/contributors)
|
||||
[](https://github.com/MeoProject/lx-music-api-server/graphs/contributors)
|
||||
|
60
README_EN.md
60
README_EN.md
@ -2,18 +2,16 @@ English | [简体中文](README.md)
|
||||
|
||||
<div align="center">
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||
[](https://github.com/lxmusics/lx-music-api-server-python/actions/workflows/build_beta.yml)
|
||||
[](https://github.com/lxmusics/lx-music-api-server-python/releases/latest)
|
||||
[](https://github.com/lxmusics/lx-music-api-server-python/releases)
|
||||
[](https://github.com/lxmusics/lx-music-api-server/blob/main/LICENSE)
|
||||

|
||||
[](https://github.com/MeoProject/lx-music-api-server/actions/workflows/build_beta.yml)
|
||||
[](https://github.com/MeoProject/lx-music-api-server/releases/latest)
|
||||
[](https://github.com/MeoProject/lx-music-api-server/releases)
|
||||
[](https://github.com/MeoProject/lx-music-api-server/blob/main/LICENSE)
|
||||
|
||||
</div>
|
||||
|
||||
Original Repo: [lx-music-api-server](https://github.com/lxmusics/lx-music-api-server)
|
||||
You can find the corresponding available source scripts in the original repository.
|
||||
This project [Document](https://apidoc.zcmonety.xyz)
|
||||
|
||||
**Ban** and other situations caused by the use of this project have **nothing** to do with this project.
|
||||
|
||||
@ -36,7 +34,7 @@ You can find the corresponding available source scripts in the original reposito
|
||||
|
||||
### Use Release (recommended)
|
||||
|
||||
1. Download the executable file corresponding to your system from [Releases](https://github.com/lxmusics/lx-music-api-server-python/releases) or [Actions](https://github.com/lxmusics/lx-music-api-server-python/actions)
|
||||
1. Download the executable file corresponding to your system from [Releases](https://github.com/MeoProject/lx-music-api-server/releases) or [Actions](https://github.com/MeoProject/lx-music-api-server/actions)
|
||||
|
||||
2. Run the downloaded executable file (maybe you need to unzip the downloaded file if it is a compressed files)
|
||||
|
||||
@ -55,8 +53,8 @@ Required environment: Python 3.8+
|
||||
2. Clone this project and enter the project directory
|
||||
|
||||
```bash
|
||||
git clone https://github.com/lxmusics/lx-music-api-server-python.git
|
||||
cd lx-music-api-server-python
|
||||
git clone https://github.com/MeoProject/lx-music-api-server.git
|
||||
cd lx-music-api-server
|
||||
```
|
||||
|
||||
3. Install requirements
|
||||
@ -85,8 +83,8 @@ If you are using linux, you command maybe python3, please replace it yourself.
|
||||
1. Clone this project and enter the project directory
|
||||
|
||||
```bash
|
||||
git clone https://github.com/lxmusics/lx-music-api-server-python.git
|
||||
cd lx-music-api-server-python
|
||||
git clone https://github.com/MeoProject/lx-music-api-server.git
|
||||
cd lx-music-api-server
|
||||
```
|
||||
|
||||
2. Install requirements
|
||||
@ -101,32 +99,6 @@ If you are using linux, you command maybe python3, please replace it yourself.
|
||||
python main.py
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Use Docker
|
||||
|
||||
Required environment: Docker
|
||||
|
||||
We don't know the Docker version you need, you can try whether the existing Docker version can be used by yourself.
|
||||
|
||||
1. Update package
|
||||
|
||||
```bash
|
||||
sudo apt-get update
|
||||
```
|
||||
|
||||
2. install Docker (skip if you already have it)
|
||||
|
||||
```bash
|
||||
sudo apt-get install -y docker.io
|
||||
```
|
||||
|
||||
3. Create container
|
||||
|
||||
```bash
|
||||
docker run --name lx-music-api-server-python -p 9763:9763 -v /root/lx-music-api-server-python/config:/work/config -v /root/lx-music-api-server-python/logs:/work/logs --restart always -d ikun0014/lx-music-api-docker
|
||||
```
|
||||
|
||||
## 📖Return code description
|
||||
|
||||
The code meaning in the `body.code` field value in the interface return value.
|
||||
@ -231,7 +203,7 @@ The code meaning of `statuscode` returned by the interface.
|
||||
|
||||
4. Module does not split
|
||||
|
||||
Details at [config.py](https://github.com/lxmusics/lx-music-api-server-python/tree/main/common/config.py)
|
||||
Details at [config.py](https://github.com/MeoProject/lx-music-api-server/tree/main/common/config.py)
|
||||
|
||||
5. Unknown variable name
|
||||
|
||||
@ -248,7 +220,7 @@ The code meaning of `statuscode` returned by the interface.
|
||||
|
||||
## 📄Project agreement
|
||||
|
||||
This project is issued under [MIT](https://github.com/lxmusics/lx-music-api-server/blob/main/LICENSE) license. The following agreement is a supplement to the original MIT agreement. In case of conflict, the following agreement shall prevail.
|
||||
This project is issued under [MIT](https://github.com/MeoProject/lx-music-api-server/blob/main/LICENSE) license. The following agreement is a supplement to the original MIT agreement. In case of conflict, the following agreement shall prevail.
|
||||
|
||||
Word agreement: "this project" in this agreement refers to this audio source project; "User" means the user who signed this Agreement; "Official Music Platform" refers to the official platforms built in this project, including Cool Me, Cool Dog, Mi Gu and other music sources; "Copyright data" refers to data of which others have copyright, including but not limited to images, audio, names, etc.
|
||||
|
||||
@ -268,8 +240,8 @@ folltoshe+foxmail.com
|
||||
|
||||
## ✨Star trend chart
|
||||
|
||||
[](https://starchart.cc/lxmusics/lx-music-api-server-python)
|
||||
[](https://starchart.cc/MeoProject/lx-music-api-server)
|
||||
|
||||
## ⚙️Contributor
|
||||
|
||||
[](https://github.com/lxmusics/lx-music-api-server-python/graphs/contributors)
|
||||
[](https://github.com/MeoProject/lx-music-api-server/graphs/contributors)
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "lx-music-api-server-python",
|
||||
"name": "lx-music-api-server",
|
||||
"version": "2.0.0.beta-11",
|
||||
"description": "一个适配 LX Music 的 API 后端实现",
|
||||
"scripts": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user