- Rust 98.3%
- Shell 1.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .claude/skills | ||
| .github/workflows | ||
| brain | ||
| scripts | ||
| smoke | ||
| src | ||
| tests/fixtures | ||
| wit | ||
| .gitignore | ||
| .mise.toml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| CLAUDE.md | ||
| clippy.toml | ||
| icon.svg | ||
| LICENSE | ||
| README.md | ||
| ROADMAP.md | ||
| rust-toolchain.toml | ||
| rustfmt.toml | ||
| TODO.md | ||
Antenne
French live TV for Nightglass.
Antenne is a Nightglass plugin: a WebAssembly component that adds a source of 109 French live channels. The national public channels and the France 3 editions come from France Télévisions, TF1, TMC, TFX, TF1 Séries Films, LCI and Novo19 from TF1+, CNews, L'Équipe, T18 and the radios with a video live from Dailymotion, BFM TV and its local channels from bfmtv.com, M6, W9, Gulli and 6ter from M6+, RMC Story, RMC Découverte and RMC Life from RMC BFM Play, CStar from canalplus.com, plus Equidia, KTO, local stations and a few overseas channels. Every address is found at play time, since most are signed and short-lived.
Status: 0.1.0, not released yet. A live check over the 95 clear channels on 2026-11-20 played every one end to end, T18 on a second try. A Dailymotion master is refused about once in twenty fetches; the Nightglass relay asks it again since PR #44 (see TODO.md). Antenne speaks the plugin contract 0.5.0 of Nightglass PR #47 and PR #48 (Widevine), not merged yet, so it needs a Nightglass release that includes them. The M6+ channels played at 1080p on 2026-11-26 once two Nightglass decryption bugs were worked around outside Antenne (see TODO.md); the RMC BFM Play channels played at 1080p through Nightglass #48 on 2026-11-30, with a short A-V drift at the stream's splices; the six TF1+ channels played in Nightglass on 2026-12-01 (Novo19 at 1080p, the others at 720p). CStar played at 540p through Nightglass's CDM decoder on 2026-12-01; canalplus.com licenses its 720p and 1080p only to stronger devices, and Nightglass's full player asks for 1080p, so it shows CStar only once Nightglass falls back to the 540p it has the key for (see TODO.md). No replay and no programme guide yet (see ROADMAP.md).
Install
Download antenne.wasm from the latest
GitHub release into Nightglass's plugin folder:
- Windows:
%APPDATA%\com.marcdownhq.nightglass\plugins - macOS:
~/Library/Application Support/com.marcdownhq.nightglass/plugins - Linux:
~/.local/share/com.marcdownhq.nightglass/plugins
Restart Nightglass, then add a source of type Antenne (one click, from its preset). It has no settings.
M6, W9, Gulli and 6ter
These four are Widevine and need a free M6+ account:
- In Nightglass's Settings, turn on protected content (Widevine). Nightglass downloads Google's module; until then the four channels are greyed out.
- Play one of them. Nightglass shows a five-letter code: open m6.fr/device-pairing on a phone or a computer, sign in to M6+ and enter it within five minutes.
- Play the channel again. Antenne is now paired as a TV of that account; it keeps a device id and the account id, never a password. Removing the device from the M6+ account brings the code back on the next play.
RMC Story, RMC Découverte and RMC Life
These three are Widevine and need a free RMC BFM Play account:
- Turn on protected content, as for M6+.
- Play one of them. Nightglass shows a code like
ABC-123and a link to connect.rmcbfm.com/device with the code filled in: open it on a phone or a computer, sign in to RMC BFM Play and confirm within fifteen minutes. The channel starts on its own a few seconds later. - Antenne is now signed in as a TV of that account; it keeps the token the service gives a TV, never a password. Signing that TV out of the account brings the code back on the next play.
CStar
CStar is Widevine but needs no account: turn on protected content, as for M6+, and play it. Antenne asks canalplus.com for the anonymous token its web player gets, on each play, and keeps nothing.
TF1, TMC, TFX, TF1 Séries Films and Novo19
These five are clear but need a free TF1+ account; LCI plays without one.
- Play one of them. Nightglass shows an eight-digit code like
1234-5678and a link to tf1.fr/tv with the code filled in: open it on a phone or a computer, sign in to TF1+ and confirm within five minutes. The channel starts on its own a few seconds later. - Antenne is now signed in as a TV of that account; it keeps the token the service gives a TV, never a password. Disconnecting that TV in the account's "Appareils connectés" brings the code back the next time Nightglass starts.
How it works
load-catalog returns a channel table compiled into the plugin, grouped (National, News, Sport, Thematic,
International, Radio, Regional, Overseas, Local), with the national TNT numbers and logos. stream-url resolves the
channel when it is played:
- France Télévisions: the k7 descriptor names the live's HLS master, hdfauth signs it.
- Dailymotion: the player metadata gives a signed master, played whole (its audio is in separate renditions) through the Nightglass relay with a browser handshake. The relay's filter cuts the master down to one encoder, since many masters list a primary and a backup side by side on unrelated timelines.
- BFM: the live page names a static master.
- M6+: Antenne pairs itself with the viewer's account as an M6+ TV, takes the channel's Widevine DASH live and a
DRMtoday license token, and sends the CDM's license requests to DRMtoday through the
licenseexport. Nightglass decrypts and plays it. - RMC BFM Play: Antenne signs in as an RMC BFM Play TV by a device code, reads the channel's page for its Widevine
HLS live and play token, and sends the CDM's license requests to DRMtoday through the
licenseexport. - canalplus.com: Antenne takes the anonymous token canalplus.com's web player gets, the channel's stream route and
its Widevine DASH live, and sends the CDM's license requests to canalplus.com's license server through the
licenseexport. - TF1+: TF1's mediainfo gives a clear HLS live, the broadcast feed rather than Broadpeak's ad-insertion one. LCI needs no account; for the others Antenne signs in as a TF1+ TV by a device code. TF1's CDN refuses libmpv's User-Agent, so the playback carries a browser one.
- The rest: Kick, the Equidia racing API, EasyBroadcast,
HDR_VISIOand Ultimedia players, TV Monaco's API, and a few fixed addresses.
Details live in brain/. Everything Antenne knows about these services comes from observing them.
Development
cargo fmt --all
cargo clippy --all-targets -- -D warnings
cargo clippy --target wasm32-wasip2 --release -- -D warnings
cargo test
scripts/coverage.sh --check # 98% of lines
cargo build --release --target wasm32-wasip2 # target/wasm32-wasip2/release/antenne.wasm
cargo run -p antenne-smoke --release -- cnews france-2 bfmtv # against the live services
The toolchain (Rust with the wasm32-wasip2 target) is pinned in rust-toolchain.toml and .mise.toml.
Licence
MIT, see LICENSE. wit/provider.wit comes from Nightglass, MIT as well.