# External modules Each subdirectory is a provider the `drm` host discovers, builds, and runs. ``` modules/ bbc/ module-publish.yaml # tracked universal values (channels, labels, ui) module.yaml # LOCAL secrets/overrides (gitignored) go.mod + main.go .bin/bbc.exe # built on demand rte/ tg4/ itv/ # ITVX stub (phone capture; UK geo) c4/ # Channel 4 / All 4 Live (UK geo) ``` ## Config files | File | Published? | Purpose | |---|---|---| | `module-publish.yaml` | yes (in git only) | Universal package/channels/UI | | `module.yaml` | **no** (gitignored locally) | Operator secrets; overlays publish at runtime | Release zips ship **`module.yaml` only** (publish template renamed). They do **not** include `module-publish.yaml`. ## Commands ``` drm modules drm --modules-dir D:\mods modules drm capture --app bbc --channel s4c DRM_MODULES_DIR=D:\mods drm capture --app rte --channel rteone ``` ## Releases Push a `modules-v*` tag to publish per-module zips (`bbc.zip`, `rte.zip`, `tg4.zip`, `itv.zip`, `c4.zip`, `my5.zip`) via Forgejo Actions. Host `drm` stays on separate `v*` tags. Requires Go on PATH to build from source. Release zips may ship `.bin/` prebuilt.