DeadAir in the page: a switch per feed, one beside the speed, and the time saved #172
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The page's part of DeadAir (#171), whose server side is deployed: nothing in the page turns it on yet.
Plan
PATCH /api/feeds/{id} {deadair: true|false|null}; the feed list gives each feed'sdeadair.aria-pressed, no theme colours. Turning it on or off mid-episode saves where you are and carries on at the same spot in the other version; a copy not made yet is used from the next play.deadair(seconds saved) plays from/media/{id}/deadair. Positions and lengths the API hands out are already in that copy's clock.GET /api/medeadair_saved, episodes heard 75% or more on a copy, each once).Mockups for approval: real screenshots of the prototype on the
deadair-uibranch (827cc74,111a0e2), Glass dark at 390 px, on a fixture show with real audio. Not merged or deployed.Player bar
Before, and with DeadAir off, then on. The button sits left of the speed. Off is outlined bars with the silence still in the middle; on is the same waveform solid with the gap closed up. No colour change,
aria-pressedcarries the state. It turns DeadAir on or off for the show that is playing, and carries on at the same place in the other version.Desktop, on:
Show settings
A DeadAir switch below the download box, off until you turn it on, with what it does and when to leave it off.
The list
An episode with a copy says how much shorter it is. Its length and time left are the copy's.
Settings
The time DeadAir has saved you, counting episodes heard three quarters of or more, each once. Before anything counts, it says where to turn DeadAir on.
Yours to decide
New wording for the DeadAir switch and everything around it (
00bc039ondeadair-ui). It leans on the name's own picture, dead air cut, rather than explaining it each time.Unchanged: the switch's label is the name alone, and each episode's line still says "8 s shorter", which is plainer than "8 s of dead air".
Approved as shown and deployed: merged to main at
00bc039(827cc74the page,111a0e2the icon,00bc039the wording). DeadAir is in each show's settings and beside the speed while a show plays, each shortened episode says how much shorter it is, and Settings shows the dead air it has saved you. Off for every show until you turn it on.