streamd: optional keys, per-stream proxy, auto deps; agent module.yaml sync; RTE AutoPlay; Telegram release announces
- streamd: MPD-only start, proxy field, ffmpeg/NRE/mp4decrypt auto-install - GET/PUT /api/modules for module.yaml sync; agent sync_modules - RTE Live-tab AutoPlay fixes; modules zip named bbc/rte/tg4.zip - Telegram notify scripts wired into Forgejo release workflows
This commit is contained in:
parent
f9c28be3f1
commit
ac8701b5a6
36 changed files with 1460 additions and 143 deletions
|
|
@ -15,6 +15,7 @@ import (
|
|||
"drmdecryption/apps/agent/internal/client"
|
||||
"drmdecryption/apps/agent/internal/config"
|
||||
"drmdecryption/apps/agent/internal/device"
|
||||
"drmdecryption/apps/agent/internal/modsync"
|
||||
"drmdecryption/apps/agent/internal/poller"
|
||||
"drmdecryption/apps/agent/internal/queue"
|
||||
"drmdecryption/apps/agent/internal/worker"
|
||||
|
|
@ -116,6 +117,17 @@ func runCmd(sub string, args []string) {
|
|||
}
|
||||
go p.Loop(stop)
|
||||
|
||||
if cfg.SyncModules {
|
||||
ms := &modsync.Syncer{
|
||||
API: api,
|
||||
ModulesDir: cfg.ModulesDir,
|
||||
Interval: cfg.ModulesSyncInterval(),
|
||||
Log: log.Default(),
|
||||
}
|
||||
go ms.Loop(stop)
|
||||
log.Printf("modules sync enabled interval=%s", cfg.ModulesSyncInterval())
|
||||
}
|
||||
|
||||
ws := wsclient.New(cfg.StreamdURL, cfg.Token, cfg.AgentID, log.Default())
|
||||
go ws.Loop()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue