1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2025-12-11 15:38:14 +08:00

Auto-Generate docs 🤖

This commit is contained in:
Issues Docs [BOT]
2025-01-17 17:13:54 +00:00
parent b6691e8848
commit bf2642c469
3 changed files with 89 additions and 0 deletions

View File

@@ -69,5 +69,11 @@ title: yt-dlp cookies 文件上传功能
谢谢
---
### 评论 4 - sunmiao0301
20250117实测可用
---
[链接到 GitHub Issue](https://github.com/hanxi/xiaomusic/issues/210)

28
docs/issues/365.md Normal file
View File

@@ -0,0 +1,28 @@
---
title: 已知 ttsCommand
---
# 已知 ttsCommand
参考: https://github.com/idootop/mi-gpt/blob/main/docs/compatibility.md
- 小爱音箱 Pro LX06 `5-1`
- 小爱音箱 mini LX01 `5-1`
- 小爱音箱 Play2019 款) LX05 `5-1`
- 小爱音箱 万能遥控版 LX5A `5-1`
- 小米 AI 音箱 S12 `5-1` `5-3`
- 小米 AI 音箱(第二代) L15A `7-3`
- 小爱智能家庭屏 10 X10A `7-3`
- Xiaomi Sound Pro L17A `7-3`
- 小爱音箱 L06A `5-1`
- 小爱音箱 Play L05B `5-3`
- 小米小爱音箱 Play 增强版 L05C `5-3`
- Xiaomi 智能家庭屏 6 X6A `7-3` `7-1`
- Redmi 小爱触屏音箱 Pro 8 英寸 X08E `7-3`
- 小爱音箱 Art L09A `3-1`
- 小爱触屏音箱 LX04 `5-1`
## 评论
没有评论。
[链接到 GitHub Issue](https://github.com/hanxi/xiaomusic/issues/365)

55
docs/issues/366.md Normal file
View File

@@ -0,0 +1,55 @@
---
title: 多设备单独播放功能设计
---
# 多设备单独播放功能设计
## 分组功能
为设备设计分组功能,可以把一个或者多个设备加入到一个分组,一个分组内的设备会被控制同时播放。设备的音量需要支持独立配置。
分组用 group_list 字段配置,比如 `did1:客厅,did2:客厅` 表示 did1和did2用同一个组名。不配置这个参数就说明一个设备一个分组。后台勾选设备的意图改为哪些设备可以接入。比如:
`319762914:a,319518426:a,1236547:b`
单个设备的存储配置结构如下:
```json
{
"devices": {
"10086": {
"cur_music": "当前播放的歌曲",
"cur_playlist": "当前播放的列表",
"name": "客厅的小爱1",
"play_type": 1
},
"10087": {
"cur_music": "当前播放的歌曲",
"cur_playlist": "当前播放的列表",
"name": "客厅的小爱2",
"play_type": 1
}
}
}
```
设备名字从音箱app设置里读取过来不用在后台修改。
配置采用组名相同为一组,可以考虑不设置组名就用设备名作为组名,也就是一个设备为一组。
后端提供的接口都改为支持操作多个设备,
单曲循环,随机播放这些操作都会同步修改同一个组里的其他设备。
歌单列表所有设备共享,当前选择的歌单和当前播放的歌曲组内共享,一个组共用一份播放列表,也就是共用一个定时器。
## 主页设备切换
主页主要是用于播放操作的,所有操作都是针对于单个设备的,所以在顶部加入一个切换设备的功能。除了修改声音不会同步修改组内设备,其他操作都会同时操作组内所有设备。
> /issues/65.html#issuecomment-2215736529
## 评论
没有评论。
[链接到 GitHub Issue](https://github.com/hanxi/xiaomusic/issues/366)