geesawra.industries/hydraulophone
An unofficial YouTube Music app for iPhone, iPad, and Mac.
Personal mixes and watch playlist endpoints
Observed reference behavior
Hydraulophone retains the route supplied by each catalog renderer. A browse
endpoint keeps its exact browseId and optional params; a watch playlist
endpoint keeps its playlist ID and optional video ID, playlist set video ID,
index, and params. This allows the service to choose between browse and
next without inferring a personal mix ID from its title or a fixed prefix.
The pinned AuraMusic reference at commit
185a77d31733047de06cbec619d40731755a0ec1 shows the two request shapes:
HomePage.ktreads playlist-card play, shuffle, and radioWatchEndpointvalues from the renderer. ItsWatchEndpointcontainsvideoId,playlistId,playlistSetVideoId,index, andparams.InnerTube.ktposts those values tonext. ItsYouTube.nextreads queue items from the watch-next playlist panel. The same file browses ordinary playlist details usingbrowseId = "VL$playlistId".- The separate pinned startup reference at commit
28fa8f042bfabb880bdecc0d9fa37e86cf72b90ehas a genericbrowse(browseId, params)adapter, supporting preservation of renderer-provided browse IDs and params.
These are observations from reference clients, not a stable YouTube API
contract. This implementation does not manufacture a named mix ID or assume
that every renderer containing a playlistId is a playlist. It accepts
playlist browse endpoints, explicit watchPlaylistEndpoint values, and
playlist-only watchEndpoint values. A watchEndpoint that has a video ID
and playlist context remains a song endpoint.
Hydraulophone behavior and limits
- Browse-backed playlist cards use their source browse ID and params. The
VLbrowse route also identifies playlists when optional page-type metadata is absent; the underlying ID is preserved without requiring aPLprefix. ExistingVL<id>fallback remains for older domain values created without route data. - Cards with only an explicit watch playlist endpoint fetch their queue through
next. Queue continuations are passed back unchanged with the same endpoint. - Cache identity includes the retained route fields so two routes with the same display ID do not share catalog results accidentally.
- The current parser reads
playlistPanelVideoRendererrows and maps title, duration, linked artist and album metadata, and thumbnail. Queue controls, shuffle, and radio actions are outside this feature. Automix preview panels that redirect to another queue are not expanded yet.
No authenticated response fixture is checked in because the repository does not have a sanitized My Supermix response. Validate card classification, request routing, and continuation behavior against a sanitized response before expanding support to other renderer shapes. Do not log endpoint params, account context, or response bodies.
Simulator evidence — 2026-09-24
just simulator-smoke-personal-mixes passed against the simulator's restored
session: one Home page included 12 mix cards and My Supermix; the selected
Supermix returned 100 tracks followed by 100 tracks on its continuation. Only
counts and presence flags were logged. This establishes the returned mix route through the live service; alternate
watch-only queue variants still need sanitized fixture coverage.
The debug diagnostic is bounded to ten catalog requests and never starts media.
A repeated run also found My Supermix and returned 100 + 100 tracks; Home shelf
contents and mix-card counts can vary between requests.