Skip to content

Commit

Permalink
docs: 久违的更新
Browse files Browse the repository at this point in the history
Co-Authored-By: sukimon_qwq <[email protected]>
  • Loading branch information
ikun0014 and helloplhm-qwq committed Jul 26, 2024
1 parent e16577f commit 1d1ab28
Show file tree
Hide file tree
Showing 10 changed files with 1,927 additions and 1,563 deletions.
3,385 changes: 1,837 additions & 1,548 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Binary file added src/.vuepress/public/images/favicon.ico
Binary file not shown.
Binary file added src/.vuepress/public/images/gitinstall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/.vuepress/public/images/pydown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/.vuepress/public/images/pyinstall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 1 addition & 8 deletions src/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default hopeTheme({

iconAssets: "fontawesome-with-brands",

logo: "https://img2.imgtp.com/2024/04/08/AaDnm8dY.png",
logo: "/images/favicon.ico",

repo: "MeoProject/lx-music-api-server",

Expand Down Expand Up @@ -42,13 +42,6 @@ export default hopeTheme({
// 在这里配置主题提供的插件
plugins: {
// 注意: 仅用于测试! 你必须自行生成并在生产环境中使用自己的评论服务
comment: {
provider: "Giscus",
repo: "MeoProject/lx-music-api-server",
repoId: "R_kgDOKr11fg",
category: "General",
categoryId: "DIC_kwDOKr11fs4CemjW",
},

components: {
components: ["Badge", "VPCard"],
Expand Down
2 changes: 1 addition & 1 deletion src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ home: true
icon: home
heroText: LX Music Api Server
tagline: 适用于 LX Music 的解析接口服务器的 Python 实现
heroImage: https://img2.imgtp.com/2024/04/08/AaDnm8dY.png
heroImage: /images/favicon.ico
actions:
- text: 如何部署?
link: /guide/readme.md
Expand Down
8 changes: 4 additions & 4 deletions src/deploy/deploy-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ head:
title: Windows部署教程
icon: fas fa-file-alt
author: ikun0014
date: 2024-06-15
date: 2024-07-25
index: false
---

## 部署教程

1.下载并且安装Python3.10-3.11
前往[Python官网](https://www.python.org/downloads/release/python-3119)下拉即可找到Python3.11.9的下载链接
![图1](https://img2.imgtp.com/2024/04/11/q3NfsbUp.png)
![图1](/images/pydown.png)
然后安装Python
![图2]()
![图2](/images/pyinstall.png)

2.下载并且安装Git
[点击我加速下载](https://github.moeyy.xyz/github.com/git-for-windows/git/releases/download/v2.44.0.windows.1/Git-2.44.0-64-bit.exe)
![图1](https://img2.imgtp.com/2024/04/11/Oa6RHDrb.png)
![图3](/images/gitinstall.png)
一路点击Next和Install即可

3.使用Git克隆仓库
Expand Down
19 changes: 17 additions & 2 deletions src/guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ head:
- name: keywords
content: 项目介绍
title: 介绍
icon: docs
icon: fas fa-info
author: ikun0014
date: 2024-04-10
index: true
Expand All @@ -21,4 +21,19 @@ index: true
## 项目官方交流群

- [QQ](https://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=117h8X7TPBWMLwK0Nec_TkdFpqsSs7LJ&group_code=206995059)
- [Telegram](https://t.me/+zBJAaMgr6yZmYWI9)
- [Telegram](https://t.me/+zBJAaMgr6yZmYWI9)

## 项目功能

- [ ] 功能
- [ ] 完整性API(歌单,搜索)
- [ ] 网易云刷新登录
- [ ] 服务器向webdav
- [x] 客户端播放服务器上的本地音乐
- [x] Cookie池
- [x] https监听,多端口监听
- [x] 反代兼容性
- [x] 获取更高的音质
- [x] QRC解密
- [ ] 本地化支持(目前仅支持简体中文)
- [x] 多端部署(`Windows` `Linux` `MacOS`
67 changes: 67 additions & 0 deletions src/guide/api/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,70 @@ index: false

# 接口列表

## 1.获取播放链接(获取会员歌曲请自行充值会员后在配置文件内填写cookie)

| 平台 | 请求方法 | 路径 |
| ----------- | ----------- | ----------- |
| Kuwo | GET | /url/kw/m/q |
| Tencent | GET | /url/tx/m/q |
| Kugou | GET | /url/kg/h/q |
| Netease | GET | /url/wy/m/q |
| Migu | GET | /url/mg/c/q |

参数详解:

m
: 各大平台歌曲详情页最后面的一串字符(tx是字母+数字混合,其它都是纯数字)

h
: 酷狗音乐歌曲的哈希(hash)值,最好通过搜索接口获得

q
: 歌曲的音质,
1. 128k
2. 320k
3. flac
4. flac24bit
5. master
6. dolby
7. sky

## 2.搜索

| 平台 | 请求方法 | 路径 |
| ----------- | ----------- | ----------- |
| Kugou | GET | /search/kg/song?query=k&page=p |

参数详解:

k
: 你需要搜索的歌曲的名称

p
: 页数

## 3.MV

| 平台 | 请求方法 | 路径 |
| ----------- | ----------- | ----------- |
| Kugou | GET | /mv/kg/mvid |

参数详解:

mvid
: 调用搜索接口获得

## 4.歌曲详情

| 平台 | 请求方法 | 路径 |
| ----------- | ----------- | ----------- |
| Kugou | GET | /info/kg/h |
| Tencent | GET | /info/tx/m |

参数详解:

h
: 经典hash值

m
: 经典歌曲ID

0 comments on commit 1d1ab28

Please sign in to comment.