mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
增加播放本地音乐功能
This commit is contained in:
parent
aa503120fc
commit
b1c4c69c69
2 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ class MusicHandler:
|
||||||
logger.bind(tag=TAG).warning("发送TTS消息时连接已关闭")
|
logger.bind(tag=TAG).warning("发送TTS消息时连接已关闭")
|
||||||
|
|
||||||
def stop_playing(self):
|
def stop_playing(self):
|
||||||
"""停止当前音乐播放"""
|
"""停止音乐播放"""
|
||||||
self.stop_event.set()
|
self.stop_event.set()
|
||||||
self.is_playing = False
|
self.is_playing = False
|
||||||
|
|
||||||
|
|
|
||||||
BIN
music/廉波老矣,尚能饭否.mp3
Normal file
BIN
music/廉波老矣,尚能饭否.mp3
Normal file
Binary file not shown.
Loading…
Reference in a new issue