mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-27 09:33:55 +08:00
Merge branch 'py_link_huoshan' of https://github.com/xinnan-tech/xiaozhi-esp32-server into py_link_huoshan
This commit is contained in:
@@ -175,12 +175,12 @@ def _get_random_play_prompt(song_name):
|
|||||||
# 移除文件扩展名
|
# 移除文件扩展名
|
||||||
clean_name = os.path.splitext(song_name)[0]
|
clean_name = os.path.splitext(song_name)[0]
|
||||||
prompts = [
|
prompts = [
|
||||||
f"正在为您播放,{clean_name}",
|
f"正在为您播放,《{clean_name}》",
|
||||||
f"请欣赏歌曲,{clean_name}",
|
f"请欣赏歌曲,《{clean_name}》",
|
||||||
f"即将为您播放,{clean_name}",
|
f"即将为您播放,《{clean_name}》",
|
||||||
f"现在为您带来,《{clean_name}》",
|
f"现在为您带来,《{clean_name}》",
|
||||||
f"让我们一起聆听,《{clean_name}》",
|
f"让我们一起聆听,《{clean_name}》",
|
||||||
f"接下来请欣赏,{clean_name}",
|
f"接下来请欣赏,《{clean_name}》",
|
||||||
f"此刻为您献上,《{clean_name}》",
|
f"此刻为您献上,《{clean_name}》",
|
||||||
]
|
]
|
||||||
# 直接使用random.choice,不设置seed
|
# 直接使用random.choice,不设置seed
|
||||||
|
|||||||
Reference in New Issue
Block a user