- MCP Streamable HTTP (:8765 HTTP / :8766 HTTPS 自签) - 工具:speak / play_url / play_file / download / stop / set_volume / list_voices / list_music / player_status / status - 音量:上限 100,默认 30,夜间 22:00-08:30 静默压到 60 - CORS + Origin 白名单(局域网网段 + Android WebView 虚拟域) - audio.py:PipeWire 蓝牙输出、JBL 绝对音量校验、播放状态/进度/设备信息 - tts.py:edge-tts 合成 + 缓存 - bt-play.sh:命令行播放工具
22 lines
299 B
Plaintext
22 lines
299 B
Plaintext
# Python 虚拟环境(约 100MB+,各自重建)
|
|
venv/
|
|
__pycache__/
|
|
*.pyc
|
|
|
|
# TTS 缓存(运行时生成)
|
|
cache/
|
|
|
|
# 证书私钥——绝不提交
|
|
certs/key.pem
|
|
certs/*.pem
|
|
*.pem
|
|
|
|
# 测试音频/下载文件
|
|
storages/music/*
|
|
!storages/music/.gitkeep
|
|
|
|
# 运行时/临时
|
|
*.log
|
|
*.out
|
|
.DS_Store
|