Commit Graph
16 Commits
Author SHA1 Message Date
yuriy.pandClaude Opus 5.5 6e6b260020 Fill the launcher icon's shape instead of framing it in white
Launchers on Android 8+ and Android Auto put the old icon, a rounded square
with a transparent margin, inside their own shape and filled the margin with
white. Both apps now have an adaptive icon (the gradient behind a wave layer,
which also serves as the themed monochrome icon), and the legacy PNGs are
opaque full-bleed squares, so nothing is left to frame. make_icon.py draws
both with --foreground and --square.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:30:52 +06:00
yuriy.pandClaude Opus 5.5 b3a65d1612 Bump phone app version to 0.1.3 (4)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 19:29:56 +06:00
yuriy.pandClaude Opus 5.5 05c90c03df Play downloads in Android Auto
Offline, the car showed "Sign in" and nothing to play. It now lists the downloads,
by track and by album or playlist, searches them and plays them by voice; online
they sit under Collection. Their covers come from the copies kept with them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 19:29:49 +06:00
yuriy.pandClaude Opus 5.5 250e721fea Go offline when playback fails without a connection
A track that failed to load, or a station that couldn't fetch more, used to skip
three times and stop, even with downloads on the phone. Now a failure checks for a
connection, and with none the app goes offline: a queue skips to its downloaded
tracks (trying each track once, so a fully missing queue stops with a notice), and
a station, which has nothing more to give offline, gives way to all downloads,
shuffled. Now Playing stays open through the switch and back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 19:29:49 +06:00
Yuriy PanovandClaude Opus 5.5 04fb5b2b47 Fit navigation labels at large text sizes
At the large text size in Russian the bottom bar cut "Моя волна" to "Моя"
and "Коллекция" to "Коллекци". The five labels now shrink to fit their
slot; everything else keeps the chosen size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:27:59 +06:00
Yuriy PanovandClaude Opus 5.5 891b1b6efd Open offline at once when there's no connection
With airplane mode on, checking the stored sign-in waited out every retry and
timeout, about 90 seconds on a Galaxy S20, before showing the downloads. The
phone app now tells AppState whether the device has any network, and with none
it goes straight to the offline screen; the network callback signs in again
once a connection appears. The TV keeps trying as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:27:59 +06:00
Yuriy PanovandClaude Opus 5.5 a60194c5a7 Fix moving a track down in a playlist
Yandex reads both operations of a change against the playlist as it was, so
deleting a track and inserting it at the next row's index put it back where
it was. A track moving down is now inserted after the row it passes. Moving
up was already right. The fix is in the shared client, so the TV app gets it
too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:27:59 +06:00
Yuriy PanovandClaude Opus 5.5 8b7778d95c Close the keyboard after a search
Clearing focus alone left Samsung's keyboard up over the results after the
search key or a suggestion. The keyboard is now hidden first, while the field
still has its input session, then focus is cleared.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:27:59 +06:00
Yuriy PanovandClaude Opus 5.5 329686ab02 Keep the play bar's buttons on screen
In Russian, or at the large text size, Play, Shuffle and a page's heart and
download buttons are wider than a phone: on a Galaxy S20 the download button
went past the edge. When the row doesn't fit, Shuffle now drops its label and
shows as a round icon button with the same outline; English on a roomy screen
looks as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:27:59 +06:00
Yuriy PanovandClaude Opus 5.5 8b5cedd991 Add remove buttons to downloaded content
Downloaded albums and playlists get a bin on their row in Downloads and on
their own page, which asks before deleting the files. Downloaded track rows
show a bin in place of the heart that removes the track at once. The end of
the Downloads page has Remove all downloads, the same button Settings uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 15:34:26 +06:00
Yuriy PanovandClaude Opus 5.5 f5e9f77981 Bump phone app version to 0.1.2 (3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 14:13:39 +06:00
Yuriy PanovandClaude Opus 5.5 d3b3e139b5 Add offline listening to the phone app
Albums, playlists and Liked tracks get a download button beside the heart,
and every track's menu offers Download or Remove download. Files are fetched
one at a time at the streaming quality, stored decrypted with their covers,
and play from the device even online. A downloaded album, playlist or Liked
tracks follows later changes to it. What's wanted is saved before it's
fetched, so a download cut short resumes when the connection returns or the
app next starts; a foreground service with a progress notification keeps it
going with the screen off.

Collection links to a Downloads page listing what's on the device, with
progress, failures and a retry. When Yandex can't be reached at launch and
something is downloaded, the app opens on that page with the player instead
of the "can't reach" screen, and reconnects by itself when the network
returns. Offline, menus and Now Playing hide what needs a connection, and
lyrics say they can't load instead of waiting forever. Settings shows the
space downloads take and can remove them all.

Another account signing in clears the previous one's downloads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 14:12:34 +06:00
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