From 1919bc84d9bdd1350f001478b22759f863569ece Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B6=B5=E6=9B=A6?= Date: Fri, 5 Jul 2024 14:55:47 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9Em4a=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + xiaomusic/const.py | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 7ce4157bc..e7d91c29b 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,7 @@ pdm run xiaomusic.py - wav - ape - ogg +- m4a > 本地音乐会搜索目录下上面格式的文件,下载的歌曲是 mp3 格式的。 > 已知 L05B L05C 不支持 flac 格式。 diff --git a/xiaomusic/const.py b/xiaomusic/const.py index 9f4af8a41..e8d115c4c 100644 --- a/xiaomusic/const.py +++ b/xiaomusic/const.py @@ -4,6 +4,7 @@ ".wav", ".ape", ".ogg", + ".m4a", ] LATEST_ASK_API = "https://userprofile.mina.mi.com/device_profile/v2/conversation?source=dialogu&hardware={hardware}×tamp={timestamp}&limit=2"