streamd: optional keys, per-stream proxy, auto deps; agent module.yaml sync; RTE AutoPlay; Telegram release announces
All checks were successful
release / build-and-upload (push) Successful in 6m20s
modules-release / build-and-upload (push) Successful in 4m51s

- 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:
404errordeveloper 2026-10-09 00:17:23 +02:00
parent f9c28be3f1
commit ac8701b5a6
36 changed files with 1460 additions and 143 deletions

View file

@ -74,16 +74,14 @@ foreach ($name in $Modules) {
Remove-Item Env:GOOS, Env:GOARCH, Env:CGO_ENABLED -ErrorAction SilentlyContinue
}
# Release zip gets module.yaml (= publish template, secrets empty/placeholders).
# Release zip ships module.yaml only (= publish template renamed; no secrets).
Copy-Item $publish (Join-Path $stage "module.yaml") -Force
# Also keep the publish name for clarity.
Copy-Item $publish (Join-Path $stage "module-publish.yaml") -Force
$readme = @"
# module-$name ($Version)
# $name ($Version)
Drop this folder into your Null DRM ``modules/$name/`` directory (or point
``drm --modules-dir`` at a folder that contains ``$name/``).
Unpack this zip into your Null DRM ``modules/$name/`` directory (or point
``drm --modules-dir`` at a parent that contains ``$name/``).
1. Edit ``module.yaml`` — fill in any sensitive fields marked in comments.
2. Copy the matching ``.bin/<goos>-<goarch>/$name[.exe]`` up to ``.bin/$name[.exe]``
@ -91,12 +89,12 @@ Drop this folder into your Null DRM ``modules/$name/`` directory (or point
if Go is installed.
3. Run: ``drm modules`` then ``drm capture --app $name --channel …``
Local ``module.yaml`` with secrets must never be committed. This zip's
``module.yaml`` is a rename of ``module-publish.yaml`` (universal values only).
This zip's ``module.yaml`` is the published universal template (secrets empty).
Do not commit a local ``module.yaml`` that contains secrets.
"@
Set-Content -Path (Join-Path $stage "README.md") -Value $readme -Encoding utf8
$zipName = "module-$name-$Version.zip"
$zipName = "$name.zip"
$zipPath = Join-Path $Out $zipName
if (Test-Path $zipPath) { Remove-Item -Force $zipPath }
Compress-Archive -Path (Join-Path $stage "*") -DestinationPath $zipPath -Force
@ -113,4 +111,4 @@ foreach ($z in $builtZips) {
}
[System.IO.File]::WriteAllLines($sumsPath, $lines)
Write-Host "DONE modules release $Version → $Out"
Get-ChildItem $Out -Filter "module-*" | Format-Table Name, Length
Get-ChildItem $Out -Filter "*.zip" | Where-Object { $_.Name -match '^(bbc|rte|tg4)\.zip$' } | Format-Table Name, Length