Replace Channels with Radio: band+frequency stations, stateless now-playing
Channels shipped a backend nobody built UI for (vibe sets/stories/showcase had zero frontend); removed outright rather than left half-built. Radio replaces it: creator-run stations tuned via a band (SM/SF/SR) + 50-200.0 frequency dial, worldwide or local-radius broadcast, a queue that loops forever. No scheduler or background job anywhere in this codebase, so "now playing" is fully stateless - elapsed-time-since-creation modulo the queue's total duration maps deterministically to a (song, offset) pair, computed fresh on every request. LibrarySong gained duration_seconds (probed via pydub at tag/upload/claim/remix time, lazily backfilled for older rows) to make that math possible. Also relaxes /soundmarks/geocode and /reverse-geocode from business-admin-only to any authenticated user, needed by the new location picker and never actually business-specific.
Showing
src/api/routers/radio.py
0 → 100644
This diff is collapsed.
tests/test_radio.py
0 → 100644
This diff is collapsed.
Please
register
or
sign in
to comment