== check 1 ok continuity 4.070s PASS go vet ./... && go test ./... PASS go.mod has no require lines: module continuity go 1.21 PASS go list -deps: 142 packages, none with a dot in the first path element --- PASS: TestFrozen (0.91s) ok continuity 0.947s PASS go test -run 'Frozen' -v --- PASS: TestMidnight (0.00s) --- PASS: TestMidnightBuild (1.91s) ok continuity 1.947s PASS go test -run 'Midnight' -v --- PASS: TestMidnightBuild (2.22s) ok continuity 2.273s PASS go test -run 'MidnightBuild' -v --- PASS: TestDataOffsetLIST (0.00s) ok continuity 0.062s PASS go test -run 'DataOffsetLIST' -v --- PASS: TestConvertLoops (0.00s) ok continuity 0.065s PASS go test -run 'ConvertLoops' -v --- PASS: TestDSTSpring (0.30s) ok continuity 0.332s PASS go test -run 'DSTSpring' -v --- PASS: TestDSTAutumn (0.87s) ok continuity 0.949s PASS go test -run 'DSTAutumn' -v == check 2 refused: mono.wav (1 channels, want 2) refused: notes.txt (not a WAV file) refused: talk.mp3 (not a WAV file) Convert once, in this folder: for f in *.mp3 *.flac *.m4a; do ffmpeg -i "$f" -ar 44100 -ac 2 -c:a pcm_s16le "${f%.*}.wav"; done for f in 'mono.wav'; do ffmpeg -i "$f" -ar 44100 -ac 2 -c:a pcm_s16le "${f%.wav}.44k.wav"; done Continuity is on air at http://127.0.0.1:8091/ (5 files accepted, 3 refused). PASS 5 files accepted, 3 refused PASS refused: mono.wav (1 channels, want 2) PASS refused: notes.txt (not a WAV file) PASS refused: talk.mp3 (not a WAV file) PASS Convert once printed once, then the two loops in order, each once size= 1723kB time=00:00:09.98 bitrate=1413.4kbits/s speed= 415x PASS mono.44k.wav made, mono.wav unchanged (md5 afa4aedf07fe5b413119c6701e9a5b94) Continuity is on air at http://127.0.0.1:8093/ (6 files accepted, 3 refused). PASS restart on the copy: 6 files accepted, 3 refused, mono.wav still refused (the card's text says 2) 00000000: 5249 4646 ffff ffff 5741 5645 666d 7420 RIFF....WAVEfmt 00000010: 1000 0000 0100 0200 44ac 0000 10b1 0200 ........D....... 00000020: 0400 1000 6461 7461 ffff ffff ....data.... PASS station header PASS 10 s body is 1746464 bytes HTTP/1.1 200 OK Accept-Ranges: none Cache-Control: no-store Connection: close Content-Type: audio/wav X-Continuity-Day: 2026-10-13 X-Continuity-Frame: 2553832988 Date: Tue, 13 Oct 2026 16:05:10 GMT Transfer-Encoding: chunked PASS frame 2554275340 in two.wav, dataOffset 44: 2 s byte-identical next five.wav slot starts at frame 2557138500; waiting PASS frame 2557162991 in five.wav, dataOffset 78: 2 s byte-identical 5512500 441000 441000 1764078 78 mono.44k.wav Lavf60.16.100 11466000 441000 441000 1764078 78 mono.44k.wav Lavf60.16.100 16:05:15 ended: mono.44k mono.44k PASS mono.44k played and is titled mono.44k == check 3 limited request ended after 12.924475 s 16:06:34 listener joined (127.0.0.1:59560) 16:06:39 listener left (127.0.0.1:59560) after 00:00:05 16:06:47 listener joined (127.0.0.1:34554) 16:06:48 listener left (127.0.0.1:34554) after 00:00:01 PASS a 20 kB/s listener is disconnected after 12.924475 s PASS console shows listener left frames 2557541755 then 2558113640: difference minus wall time = 0.005 s PASS the next request starts at the clock (off by 0.005 s) == check 4 slot on air S: start 2557800000, frames 1543500, four.wav PASS /listings: exactly one tr.open, data-start 2557800000, empty title and length PASS /listings: no row for S or a later slot (2320 closed rows) PASS /listings: no 'Now playing' PASS /listings: no 'On now' PASS /listings: no 'Currently' PASS /: exactly one tr.open, data-start 2557800000, empty title and length PASS /: no row for S or a later slot (5 closed rows) PASS /: at most 5 closed rows PASS /: no 'Now playing' PASS /: no 'On now' PASS /: no 'Currently' PASS previously.json: S is not in previously PASS previously.json: open is S ({'start': '16:06:40', 'frame': 2557800000}) PASS previously.json: no changes_at PASS previously.json: no value equal to S's end (2559343500 frames, 1791907635000 ms, 16:07:15) PASS previously.json: no 'Now playing' PASS previously.json: no 'On now' PASS previously.json: no 'Currently' PASS 'ended: four' first printed 0.100 s after the end of S 16:07:15 ended: four PASS S is a closed row in /listings PASS S is in previously ISFT in five.wav: Lavf60.16.100; log column: Lavf60.16.100 PASS five rows read 'Transferred via Lavf60.16.100.' PASS no sox row has the note PASS neither / nor /previously.json says Transferred Not accepted, today: mono.wav 1 channels, want 2|notes.txt not a WAV file|talk.mp3 not a WAV file| PASS the Not accepted block names the three refusals of check 2 == check 5 Continuity is on air at http://127.0.0.1:8091/ (6 files accepted, 3 refused). PASS today's log md5 unchanged after zz.wav and a restart (14ddd58ea0e7c515c8b0fba87512890d) PASS zz.wav is not in today's log PASS after the restart X-Continuity-Frame 2559544406 matches the clock (2559543353) waiting for the next two.wav slot at 2560666500 two.wav deleted at frame 2560721642, inside the slot starting 2560666500; 464 two.wav slots had ended PASS the slot on air at the deletion plays on from the open file (frame 2560725380) next two.wav slot: 2564856000 (1102500 frames); waiting 2564856000 missing PASS exactly one line '2564856000missing' PASS a read during the withdrawn slot is 370648 zero bytes 16:09:20two Withdrawn. Silence, 0:25.0:25 PASS listed as Withdrawn. Silence, 0:25. 16:07:45two0:25 PASS the slot playing at the deletion stays a plain row PASS the 464 two.wav slots ended before the deletion stay plain rows (one Withdrawn note on the sheet) == check 6 five.wav four.wav mono.wav notes.txt one.wav talk.mp3 three.wav two.wav PASS the two stations' logs are identical (diff printed nothing) Order: for each pass k = 0, 1, 2 and so on, the files are sorted ascending by the SHA-256 of the bytes continuity:DATE:k, one NUL byte and the file name, where DATE is the day as YYYY-MM-DD. 167e260bf6dfe46b3e67639c51375f42e1e3f021cc8cf7e0a822f5d71cb72270 three.wav 29f78ca5d0d2ab123cecb0eeedda4c9ad29a8627793844a02f73ff8ac5438682 four.wav 66239ff3ed4485a7ac33693eab5d1b5bcfa31d882bbcba5a604175fd005f89d5 two.wav 9133b4c65b285f71919acde2ac609bb605ca5af79a2ac593956c09cb9463cc70 one.wav b2c36fd159e1fed5c8d5712557d0f81fc8eb640525bc3cbff29e56025bfc650e five.wav PASS the colophon rule by hand gives the log's first five rows == check 7 No programme. Put 16-bit, 44100 Hz, stereo WAV files in /tmp/tmp.XqXJsJc3lD/empty. exit 2 PASS empty folder refused: talk.mp3 (not a WAV file) Convert once, in this folder: for f in *.mp3 *.flac *.m4a; do ffmpeg -i "$f" -ar 44100 -ac 2 -c:a pcm_s16le "${f%.*}.wav"; done No programme. Put 16-bit, 44100 Hz, stereo WAV files in /tmp/tmp.XqXJsJc3lD/mp3. exit 2 PASS only talk.mp3: refused line, the first loop once, No programme, exit 2 == check 10 PASS no em dash or emoji in any text file of the project PASS no 'Now playing' in any template or script favicon.svg wordmark.svg ## Converting The station plays only 16-bit, 44100 Hz, stereo WAV and never needs ffmpeg itself. To convert your own files, install ffmpeg once: `brew install ffmpeg` (macOS), `sudo apt install ffmpeg` (Debian, Ubuntu), `winget install ffmpeg` (Windows). Then paste the loop or loops the station prints under "Convert once, in this folder:" (Windows needs Git Bash or WSL). PASS README Converting section: 4 lines with the three install commands == check 11 10448674 dist/continuity-darwin-arm64 10687123 dist/continuity-linux-amd64 10292565 dist/continuity-linux-arm64 10910720 dist/continuity-windows-amd64.exe 42339082 total dist/continuity-linux-amd64: CGO_ENABLED=0 GOARCH=amd64 GOOS=linux PASS dist/continuity-linux-amd64: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 dist/continuity-linux-arm64: CGO_ENABLED=0 GOARCH=arm64 GOOS=linux PASS dist/continuity-linux-arm64: CGO_ENABLED=0 GOOS=linux GOARCH=arm64 dist/continuity-darwin-arm64: CGO_ENABLED=0 GOARCH=arm64 GOOS=darwin PASS dist/continuity-darwin-arm64: CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 dist/continuity-windows-amd64.exe: CGO_ENABLED=0 GOARCH=amd64 GOOS=windows PASS dist/continuity-windows-amd64.exe: CGO_ENABLED=0 GOOS=windows GOARCH=amd64 dist/continuity-linux-amd64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=eC5BGnYGE_YvoaLUsu8h/fEU-knbTaeg9D2xTxH1n/FkxSgKBVGHYfdeUN9BpZ/KNvnLCK7bU4CzfWJNRrq, with debug_info, not stripped PASS dist/continuity-linux-amd64 is statically linked dist/continuity-linux-arm64: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=rXmpp_aDAvA9xdf3pbG-/p33drXH9qN3V2L3K7r-Q/7QYG8sVcCwPlKMxc4TMH/axb-2tabVolStmcV423v, with debug_info, not stripped PASS dist/continuity-linux-arm64 is statically linked No programme. Put 16-bit, 44100 Hz, stereo WAV files in /tmp/tmp.XqXJsJc3lD/empty. exit 2 PASS empty folder refused: talk.mp3 (not a WAV file) Convert once, in this folder: for f in *.mp3 *.flac *.m4a; do ffmpeg -i "$f" -ar 44100 -ac 2 -c:a pcm_s16le "${f%.*}.wav"; done No programme. Put 16-bit, 44100 Hz, stereo WAV files in /tmp/tmp.XqXJsJc3lD/mp3. exit 2 PASS only talk.mp3: refused line, the first loop once, No programme, exit 2 failures: 0