Skip to content

Commit

Permalink
feat: 新增m4a文件格式支持
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxi committed Jul 5, 2024
1 parent 4c17614 commit 1919bc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ pdm run xiaomusic.py
- wav
- ape
- ogg
- m4a

> 本地音乐会搜索目录下上面格式的文件,下载的歌曲是 mp3 格式的。
> 已知 L05B L05C 不支持 flac 格式。
Expand Down
1 change: 1 addition & 0 deletions xiaomusic/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
".wav",
".ape",
".ogg",
".m4a",
]

LATEST_ASK_API = "https://userprofile.mina.mi.com/device_profile/v2/conversation?source=dialogu&hardware={hardware}&timestamp={timestamp}&limit=2"
Expand Down

0 comments on commit 1919bc8

Please sign in to comment.