diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-10-14 08:00:03 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-10-14 08:00:03 +0000 |
| commit | 0e274396faff9b359c5eb0edbb8b018d2456aa29 (patch) | |
| tree | 5d0385095a986e138d923ba58b902949340d8bc9 /server/cmd | |
| parent | 87507fabd7d7ceaaf7897d5b5fc0d9d93f6ec6d1 (diff) | |
Publish what kind each break is
The phone filters on it: advertising is always skipped, the show's own
audio by preference. Without the kind on the wire every break arrives
looking like an advertisement.
Diffstat (limited to 'server/cmd')
| -rw-r--r-- | server/cmd/listend/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/cmd/listend/main.go b/server/cmd/listend/main.go index 4be69e2..524f438 100644 --- a/server/cmd/listend/main.go +++ b/server/cmd/listend/main.go @@ -399,6 +399,7 @@ func (w *worker) detectAds( StartMs: br.StartMs, EndMs: br.EndMs, Partners: br.Partners, + Kind: string(br.Kind), }) } if len(e.Breaks) > 0 { |
