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

支持wav格式文件

This commit is contained in:
涵曦
2024-06-24 00:19:49 +00:00
parent 750923d5ca
commit 40bd099153
2 changed files with 2 additions and 1 deletions

View File

@@ -73,6 +73,7 @@ KEY_MATCH_ORDER = [
SUPPORT_MUSIC_TYPE = [
".mp3",
".flac",
".wav",
]

View File

@@ -379,7 +379,7 @@ class XiaoMusic:
name,
extension,
)
if extension not in SUPPORT_MUSIC_TYPE:
if extension.lower() not in SUPPORT_MUSIC_TYPE:
continue
# 歌曲名字相同会覆盖