Episodes cannot be kept on the device to listen offline #412

Closed
opened 2026-11-07 07:16:01 -08:00 by rays · 1 comment
Owner

Offline mode (#389) keeps the lists, items' text and their pictures, but the service worker lets every /media/ request pass (web/sw/sw.ts, 'a file is too big to'), so offline no episode plays, not even one played a minute before. Wanted: a choice per episode to keep it on this device, served from there whether online or not (with the byte ranges a player asks for), shown as kept in the list, removable, and cleared at sign-out with the rest. Asked for by the owner on 2026-11-07.

Offline mode (#389) keeps the lists, items' text and their pictures, but the service worker lets every /media/ request pass (web/sw/sw.ts, 'a file is too big to'), so offline no episode plays, not even one played a minute before. Wanted: a choice per episode to keep it on this device, served from there whether online or not (with the byte ranges a player asks for), shown as kept in the list, removable, and cleared at sign-out with the rest. Asked for by the owner on 2026-11-07.
rays added the enhancement label 2026-11-07 07:16:01 -08:00
Author
Owner

Done in 2c4d036, deployed in ipx 1.5.2-dev and ipx-web. A downloaded episode's files pane has a keep button beside Play (outline circled arrow, solid and pressed once kept). It keeps the copy you play: the file, or the version without its dead air when DeadAir cuts something for you. Kept, it plays from the device whether online or not (/media/...?offline, answered by the worker from the ipx-episodes cache with byte ranges), and its place is queued offline and sent once back. DeadAir places from it are read in the shortened clock without the playlist: the player names the file in each save and ipx loads its plan. Press again to take it off; sign-out clears it. Not done from the description above: the list rows do not mark a kept episode, only the files pane does. Not tested on iOS Safari itself, where audio through a service worker needs the 206 answers the worker gives.

Done in 2c4d036, deployed in ipx 1.5.2-dev and ipx-web. A downloaded episode's files pane has a keep button beside Play (outline circled arrow, solid and pressed once kept). It keeps the copy you play: the file, or the version without its dead air when DeadAir cuts something for you. Kept, it plays from the device whether online or not (/media/...?offline, answered by the worker from the ipx-episodes cache with byte ranges), and its place is queued offline and sent once back. DeadAir places from it are read in the shortened clock without the playlist: the player names the file in each save and ipx loads its plan. Press again to take it off; sign-out clears it. Not done from the description above: the list rows do not mark a kept episode, only the files pane does. Not tested on iOS Safari itself, where audio through a service worker needs the 206 answers the worker gives.
rays closed this issue 2026-11-07 07:33:23 -08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#412