Commit Graph
6 Commits
Author SHA1 Message Date
Yuriy PanovandClaude Opus 5.5 c13a4053ac Buffer further ahead on the phone for slow networks
The phone app now keeps up to ten minutes buffered (capped at 48 MB), and after
a stall waits for ten seconds of audio before resuming, so a weak link doesn't
stutter. Once the current track has finished loading, the next one is fetched
into a 256 MB disk cache, still encrypted, so it starts at once.

Both are set by a Buffering passed to AppState; the TV keeps ExoPlayer's defaults
and no audio cache.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 13:26:43 +06:00
Yuriy PanovandClaude Opus 5.5 39ab994a02 Bump phone app version to 0.1.1 (2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 13:13:06 +06:00
Yuriy PanovandClaude Opus 5.5 2fac4f94fb Add like and don't-recommend buttons to the car's Now Playing
The library session offers two custom commands, and its media button
preferences show a heart that follows the track's like and a "don't
recommend" that dislikes and skips, as from the app's menu. Previous and next
keep their slots; Android Auto puts the two at the right edge.

Recently played and Chart get their first track's cover, so Auto's grid no
longer shows broken images for them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 12:43:19 +06:00
Yuriy PanovandClaude Opus 5.5 729b9b8aef Add a phone app with Android Auto support
:mobile (it.panov.musyx) is a Material 3 phone app over the shared AppState: Home,
My Wave, search, collection, detail pages, Now Playing with queue and lyrics,
and sign-in through Yandex's page in the browser.

Its playback service is a MediaLibraryService, so Android Auto and Automotive
can browse My Wave and stations, Home picks and the collection, search, and
play by voice. Covers reach the car through a content provider limited to
Yandex hosts. Signed out, the car shows a Sign in button, and it reloads when
the session changes.

The session's playlist is now the current track and PlayerCore's next 50, so a
car's queue screen lists them and picking one jumps there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 12:19:27 +06:00
Yuriy PanovandClaude Opus 5.5 f004859395 Bump version to 0.1.6 (7)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 11:23:45 +06:00
Yuriy PanovandClaude Opus 5.5 4c978efa80 Split the shared code into a core module
The Yandex Music client, the player, the app state and the stores move from the
TV app to :core (it.panov.musyx.*), so a phone app can build on them. The TV app
becomes :tv with the same application id. CoverHues, SessionPlayer and the
strings the state layer shows move with them; LRCLIB's user agent is set by
each app.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 10:07:21 +06:00