1 parent
2d1d03db1e
commit
ef3139ca64
60 files changed
+1774
-4412
No files matched your search
@@ -14,9 +14,14 @@ A modern music bot for TeamSpeak 3, featuring YouTube integration, playlist supp
|
||||
- ⭐ **History & Favorites** - `!history`, `!stats`, `!fav add|list|play` backed by SQLite
|
||||
- 📋 **Playlist Support** - Queue management with shuffle, repeat, and skip functionality
|
||||
- 🎧 **High Quality Audio** - 192kHz stereo internal pipeline
|
||||
- 🔄 **Hot Reload** - Update the bot without disconnecting from the server
|
||||
- 🎚️ **Named Listening Rooms** - Independent queues and playback engines can
|
||||
whisper different music to different user groups simultaneously
|
||||
- 🔄 **Transactional Updates** - Validate a complete daemon/Core/protocol
|
||||
release, checkpoint every room, re-exec, reconnect, and restore playback
|
||||
- ⚙️ **Configurable** - JSON-based configuration system
|
||||
- 🔊 **TeamSpeak Native** - Uses TeamSpeak's native audio system for best quality
|
||||
- 🧩 **VoidTeamspeak SDK** - Native protocol support is an independently
|
||||
consumable modern C++ library rather than an Echoion-internal component
|
||||
|
||||
## Building
|
||||
|
||||
@@ -124,7 +129,7 @@ The supported runtime consists of four main components:
|
||||
|
||||
1. **EchoionApi** - Shared interfaces and types
|
||||
2. **EchoionCore** - Core music playback logic (hot-reloadable)
|
||||
3. **EchoionProtocol** - Native TeamSpeak UDP voice and command protocol
|
||||
3. **VoidTeamspeak** - Reusable native TeamSpeak SDK-compatible client library
|
||||
4. **EchoionStandalone** - Daemon host and Core API adapter
|
||||
|
||||
`EchoionPlugin` is archived compatibility code. It is excluded from normal
|
||||
@@ -136,7 +141,7 @@ TeamSpeak client integration.
|
||||
```
|
||||
query → SourceRouter (innertube → Yandex → direct URL → yt-dlp) → PlaybackEngine
|
||||
(dual AudioDecoder, gapless handoff) → Core → Standalone interface
|
||||
→ EchoionProtocol → TeamSpeak
|
||||
→ VoidTeamspeak → TeamSpeak
|
||||
```
|
||||
|
||||
Audio is decoded using FFmpeg at 192kHz stereo and emitted in 20ms chunks to
|
||||
@@ -152,6 +157,20 @@ The core library can be hot-reloaded without disconnecting from the server:
|
||||
1. Build the new core: `cmake --build . --target EchoionCore`
|
||||
2. Replace `Echoion.ts`; the daemon's host watcher reloads it automatically.
|
||||
|
||||
Protocol or host changes require a validated daemon re-exec rather than a Core
|
||||
hot reload. Stage both artifacts and atomically publish the watched manifest:
|
||||
|
||||
```bash
|
||||
scripts/stage-release.sh "$HOME/echoion/releases" 1.2.3 \
|
||||
build/bin/echoiond build/lib/Echoion.ts
|
||||
```
|
||||
|
||||
The staging command rejects unsafe version names and existing release
|
||||
directories, copies complete artifacts first, calculates SHA-256 hashes, then
|
||||
renames `pending-release.json` into place. The running daemon validates it in a
|
||||
child process, checkpoints Core and room state, disconnects cleanly, and
|
||||
re-execs the staged binary.
|
||||
|
||||
### Adding Commands
|
||||
|
||||
To add a new command:
|
||||
|
||||
Reference in new issue
Block a user