geesawra.industries/hydraulophone
An unofficial YouTube Music app for iPhone, iPad, and Mac.
0004 — Session queue and playback recovery
Date: 2026-09-23
Hydraulophone keeps a session-only queue of song occurrences. Each occurrence has its own identity, so a song can appear more than once. The original collection order remains available for pagination. Shuffle changes upcoming playback order while preserving the current song and played history. Repeat One applies when a song ends naturally; manual Next still advances. Repeat All wraps at the end. Song context menus offer Play Next and Add to Queue throughout the catalog. Queue entries carry song metadata, never resolved media URLs.
Selecting a song expresses play intent immediately. The transport control shows Pause while a stream is loading, and an unexpected output pause starts stall recovery instead of becoming a user pause. The user's Pause, Stop, sign-out, quality change, or new selection cancels the prior recovery attempt. Headphone unplugging still pauses to avoid unexpectedly moving audio to the speaker.
The owner requested persistent automatic recovery. Playback failures schedule another stream resolution after exponential delays capped at 30 seconds. Every attempt asks the resolver for a refreshed stream, so an expired or rejected media URL is not replayed indefinitely. A successful ten-second stretch resets the delay; brief progress does not create a tight retry loop. Individual InnerTube requests retain their own bounded transport retry policy. Playback recovery displays a reconnecting state with no Try Again button.
InnerTube stream selection and proof behavior are unchanged. The protocol
source for that behavior remains in docs/protocol/webm-playback.md and
docs/protocol/proof-of-origin.md, including the pinned AuraMusic reference.
Risk: a sustained authorization or catalog failure will continue at most once every 30 seconds until the user pauses, changes track, or signs out. Physical device validation is needed for interruptions, route changes, and background playback.