geesawra.industries/hydraulophone
An unofficial YouTube Music app for iPhone, iPad, and Mac.
0
0
Next-track caching and bundled key regression brief
2026-09-24. Formal test suites remain paused.
Queue prefetch
- On an unmetered connection with a nonzero cache limit, High prepares one successor after the current track's first verified playback progress and fills its encoded cache after its gapless head is ready. Confirm no extra player request is made for the fill. Repeat One must not download a second copy of the current source.
- Standard fills one successor concurrently with the current HLS cache job using the existing AAC extraction/cache path. Check it opens locally on Next and both packages remain within the shared size limit.
- Cached successors preserve loudness and the configured quality; a completed High file replaces Standard according to the existing cache policy.
- Reorder, Play Next, shuffle, repeat, remove/clear queue, change quality, seek, stop, sign out, and switch Offline Only while a resolution/download is pending. Cancel stale tasks; never enqueue an obsolete occurrence or start a network task after the offline gate closes.
- Losing unmetered status, pausing, setting cache Off, or clearing the cache cancels speculative full downloads. High's existing final-45-second bounded head preparation remains available for streaming. Paused/offline states do not begin successor network work.
- Failure to prefetch does not interrupt the current track or cause a retry loop; normal track-start resolution can recover later.
- Start successor preparation only after verified current-track progress, not before playback begins. A skipped successor is already resolved/prepared when possible; metered and paused states retain the bounded policy.
- The current track and its one eligible successor share the configured cache budget. Playing from a Standard cache then selecting High replaces the Standard entry; cache limits and LRU eviction remain enforced.
- A gapless transition during a slow full successor download cancels that speculative job before releasing its task handle. Playback uses the prepared source, and the next queue occurrence remains the only speculative download.
- Small cache budgets and files larger than the budget must remain bounded. Concurrent explicit downloads use their own coordinator and do not get cancelled when a speculative prefetch is invalidated.
Public playback key
- A generated simulator and device app contains the attributed PublicJNNKey.txt resource. Normal launch without runtime environment variables resolves it.
- A nonempty runtime override wins; an empty override uses the bundled default. Missing or malformed bundled files fail closed without printing their values.
- A phone home-screen launch can use High after a just install; no dependency on the install process's environment remains. Account cookies still come only from the existing session/Keychain flow.