feat: auto-resume music on reconnect, sorcerer tier, cert auth
Auto-resume: save playback position on stream errors and cancellation, restore automatically after reconnect or container restart once the channel is silent. Plugin lifecycle hook (on_connected) ensures the reconnect watcher starts without waiting for user commands. Sorcerer tier: new permission level between oper and admin. Configured via [mumble] sorcerers list in derp.toml. Mumble cert auth: pass certfile/keyfile to pymumble for client certificate authentication. Fixes: stream_audio now re-raises CancelledError and Exception so _play_loop detects failures correctly. Subprocess cleanup uses 3s timeout. Graceful shutdown cancels background tasks before stopping pymumble. Safe getattr for _opers in core plugin. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -16,4 +16,4 @@ services:
|
||||
- ./config/derp.toml:/app/config/derp.toml:ro,Z
|
||||
- ./data:/app/data:Z
|
||||
- ./secrets:/app/secrets:ro,Z
|
||||
command: ["--verbose"]
|
||||
command: ["--verbose", "--cprofile"]
|
||||
|
||||
Reference in New Issue
Block a user