Desktop:
- a tile's subtitle under a two-line name was cut through its middle;
the caption area is 60 px, not 54
- shelves no longer draw a scroll bar over their last captions
- each page keeps its own scroll position, so a title opens at its top
and Back returns to the same place in the library
- a folded synopsis runs its paragraphs together instead of leaving the
ellipsis alone on a line
- the Gradient accent setting describes what it does now
Android and iOS:
- over the banner's artwork, More info and My List are a translucent
wash of the text colour, so Play is the one coloured button
- a tile's press ripple no longer cuts into the first letter of its
caption
- a show watched through offers Play S01E01, not Continue with S01E01
- on TV, the title page's secondary buttons sit on a wash of the page
and stay readable over bright artwork
A crawl of an account folder spent most of its time unlocking file node
keys, one S2K derivation of tens of milliseconds per file, only to read
each file's claimed size. Folders are now walked light (names, revisions,
no file keys), and only files the catalog does not already hold at their
current revision are opened in full (SharedLibrary::crawl_known,
Catalog::known_files). On a 1,353-node library a recrawl went from
20-27 s wall and 88 s CPU to 5 s wall and 9 s CPU. A first crawl costs
what it did; public links have no light listing and are unchanged.
- The catalog stores a crawl as a diff: unchanged rows cost a lookup
instead of a delete, an insert and three index updates.
- Desktop: row building and SQLite run on blocking threads, off the
workers the other shares' listings use; shares finishing together
rebuild the library at most every 2 s, and once at the end.
- Android: shares crawl three at a time instead of one after another,
the session is refreshed only when old, and the offline index is read
once per crawl.
- pstr crawl --timings breaks each share's time into listing, parsing
and storing.
A share was two secrets in two messages and a trip through the Add form
per share. An invite (pstr-core::invite) carries any number of shares,
links and custom passwords together, as pstr://add?v=1&s=<base64url JSON>,
and is shown as a QR code too.
- Desktop: an invite button on each share row and "Share the whole
library"; a dialog with the QR code and Copy link. An invite clicked,
pasted anywhere or typed into the Add form opens a confirmation that
lists what it adds, greying out shares already here.
- The desktop entry and the MSI register the pstr scheme; a second
launch hands the invite to the open window.
- Android and iOS: Invite in a share's menu, Send / Copy / QR, and the
same confirmation for a tapped or shared invite. The TV shows the QR.
- pstr invite / pstr accept in the CLI; accept asks for the invite
rather than taking it as an argument.
The link is never printed: it is copied or sent on purpose, the clipboard
copy is marked sensitive (Android) and local-only (iOS), and every
surface says that an invite holds passwords. Account folders have no
link and are left out, with a note.
- The accent is a flat fill. With gradients on (now off by default) it
shades into a darker tone of itself, never into orchid.
- Copper gets a 100-700 scale; as an accent on dark it uses the lit 400.
iOS shows the copper rating star and new-episodes badge like Android.
- Every scrim over artwork follows one eased curve (SCRIM_STOPS), layered
by job instead of one many-stop ramp. The desktop banner is taller and
loses its full-picture wash.
- One solid focus ring on every client; the TV gradient border and the
desktop's inner copper ring are gone.
- Missing art is a plain card with initials, not a hashed colour ramp.
- A portrait poster in a landscape card fills the frame with a dimmed
crop of itself.
On a TV the volume slider took left and right on the D-pad, so focus
could not leave it; volume is the TV's job there, so the slider is gone.
The transport buttons wear the focus ring. mpv now drops frames a weak
box cannot decode in time instead of letting video fall behind audio
(issue #5).
Direct VideoToolbox hands mpv's Vulkan renderer surfaces MoltenVK cannot
import for some pixel formats, and the first error line mpv logged was
shown as fatal even when playback recovered. Decode with
videotoolbox-copy, and surface an mpv error only when the file actually
ends with one (B70).
The currents are now pre-cut paths instead of a clip, which moves the
anti-aliasing of a few edge pixels in the top bar's mark. Nothing else
in these eight captures changed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Posters were decoded at 1024 px and the cache held 32 MB, about eleven
of them, less than one screen of the grid, so scrolling back showed
skeletons while every tile was read from disk and decoded again. Portrait
art now decodes at 768 px, enough for a tile on a phone at 3x and an
iPad at 2x, and the cache holds 80 MB. NSCache still lets go under
memory pressure.
The library's bar over the banner and the title page's bar took how
solid they were from @State written on every scroll frame, and read in
the page's body, so each frame re-ran the whole page: on the library the
catalog lookups, the featured titles and every shelf; on a title page
the playlist and every episode row. The value now lives in an
@Observable BarReveal that only the bar reads, rounded to fiftieths and
written only when it changes.
mpv publishes time-pos and demuxer-cache-time once per video frame, and
each reading went to the main thread and rebuilt the whole player: the
up-next card and the time left were read in PlayerView's body. The event
thread now coalesces those two readings to 4 Hz, as Android polls,
holding the latest and sending it when its turn comes even if mpv goes
quiet. Any other event sends what is held first, so a reading of the
outgoing file still lands before the next one's START_FILE, and resets
the pace, so the reading after a seek or a pause is not a beat late.
The skip button, the up-next card and the time left are views of their
own, so a reading redraws only them.
Property reads and writes took the core's lock on the main thread, which
the demuxer holds through a block fetch: a track list read on load was
seven reads per track. Reads, writes and commands now run in order on a
queue of their own (Android's NativeMpvHost keeps them off its UI thread
for the same reason). The track and chapter lists land on the main
thread unless another file was loaded since, and onLoaded waits for the
tracks it reads. load waits for the queue, so a seek queued for the
outgoing file cannot land on the new one.
The bar's outer margin is left unpainted so the bar floats, and what
showed there was eframe's near-black clear colour, a dark band round the
bar that light palettes made obvious. The clear colour is now the
palette's background.
Qt shells and launchers drew the Stream icon as a folder: the currents
were oversized shapes clipped to the prism with a clip-path, and QtSvg
ignores clip-path, so they spilled out as a pale slab. They are now cut
in their own paths; rsvg renders the same pixels. The generator refuses
a clip-path in a Drive or Stream mark, since that SVG ships as the
desktop icon.
The iOS icon stood on a pale lavender square. It now takes Android's
deep violet plate and the crop a launcher shows, so both phones show
one icon.
Roadmap C4. On a television:
- Continue watching also appears on the launcher's home screen, in its
Play Next row (TvContract.WatchNextPrograms, WRITE_EPG_DATA), with the
place and length, the provider's art and synopsis, and the episode's own
name and numbers, never a file name. A card plays its episode through
ACTION_PLAY_EPISODE. A card the viewer removed stays off until that
episode is watched again. Settings → Playback has a switch, on by
default and shown only on a TV.
- The Search page has a mic beside the field, and the remote's Search key
opens Search listening from any page (RecognizerIntent).
- The assistant's "search for … on Proton Stream" (SEARCH, SEARCH_ACTION)
opens Search with what was said; "play … on Proton Stream"
(MEDIA_PLAY_FROM_SEARCH) plays the one title of that name from where
the viewer is, else shows the search. A search from outside the field
moves the focus to its results without leaving a keyboard over them.
Fast-forward and rewind through the media session were already in place
from C1.
Android CI on main failed after v2.3.0 merged: DownloadStateStoreTest,
ScreenshotTest and TvTest all died in MavenArtifactFetcher with an
IOException. Robolectric downloads its Android runtime from Maven Central
by itself while the tests run, outside Gradle, so one dropped connection
fails every Robolectric test. The actions/cache meant to keep that jar never
held anything: a run that fails on the download saves no cache.
Gradle now downloads android-all-instrumented for API 34 like any other
dependency, with its retries and the Gradle cache CI already restores, and
the tests run with robolectric.offline against that copy. The cache step
goes.
Also regenerates the Flatpak's cargo sources, which had fallen behind
Cargo.lock: qrcode, proton-drive-tree-rs and proton-media-rs 0.2.0 were
missing, so an offline build could not resolve them.
Typing a share link on a remote is the worst part of setting up a TV.
Add share on a TV now shows a QR code instead. The phone's camera opens
a page the TV serves on the home network, the link is pasted there, and
the TV opens it through the same path as the typed form. A refusal (a
wrong password, an incomplete link) goes back to the page with the link
kept, so it is fixed where the keyboard is. The phone needs nothing
installed.
pstr-core::handoff listens on the TV's private IPv4 address only, under
a random 60-bit path, for ten minutes or until a share is added. The page
runs no script and its CSP allows none; requests are size- and
time-bounded. It is plain HTTP, which PRIVACY.md states, and "Type it
instead" keeps the ordinary form.
uniffi's generated BridgeException.Failure spells its message out as
`reason=…`, so every refusal the app showed (a link that will not open,
a failed sign-in, a download, a snackbar) began with the field's name.
`Throwable.reason` reads the field itself, and every place a failure is
shown uses it.
The desktop takes the suite's look: the nav floats as a rounded bar with
the Stream mark, buttons and tabs are pills, cards round to 12, and
new-episodes badges and the rating star wear the palette's copper.
About shows the mark, the version and the suite.
Keyboard focus was nearly invisible on the dark pages. Every focusable
widget now draws a 2px accent ring with a copper inner edge, and a
focused segmented chip no longer shifts its row. Palette cards ellipsise
long names instead of overlapping.
DESIGN-TOKENS gains the suite's shared tokens, shapes and focus, and the
desktop screenshots are retaken.
Proton now wears the plum neutrals and violet of Proton Drive and Proton
Gallery, and its Mauve gradient runs into the icon's orchid. Proton Light
is the suite's light page, and Copper joins the accents. Every palette
carries a highlight, copper on the Proton flavours, which new-episodes
badges, the rating star and the TV focus ring wear.
Android takes the suite's radii (12 cards, 16 sheets, 24 floating, pill
buttons), shows the mark in the Library bar, About and empty states,
and the TV type ramp moves to Inter at tv-material's sizes. Title actions
shrink to fit rather than ellipsise at large font sizes, now pinned by a
360dp, 2x font capture. iOS mirrors the palette, radii and choices.
The play prism was the one bare glyph in the suite: Drive's folder carries
documents and Gallery's plate carries hills and a sun. Lilac and pink
currents now flow through the prism toward its point. The outline is
unchanged, so the themed launcher icon and the status-bar mark keep the
plain play shape.
The TV banner sets its name in the bundled Inter through a fontconfig that
sees only those files, so no installed font can change its pixels, and
download notifications use the monochrome mark instead of the coloured
launcher foreground. The plain prism is kept in images/branding-archive.
Ran the TV UI on an Android TV emulator with a real library and fixed
what came up:
- The app started with the focus in the menu, not on the page.
- Left from a card landed on the menu entry level with it, not on the
page that is open.
- Down on the search field stayed in the field, so the results could
not be reached.
- Compose's TV scrolling stops a third of the way in, which cut the row
above in half on Home and scrolled a title's name away under Play.
Rows on Home now line up under the top, and a title page, search and
a genre page scroll only as far as needed.
- Home showed My List twice: as its own row and as the core's shelf.
- A focused episode's text was dark on a dark surface.
On a television MainActivity now composes ui/tv/TvApp instead of the
phone's ProtonStreamApp: the same AppViewModel, library, account and
player, laid out for a screen across a room on androidx.tv:tv-material.
- A navigation drawer down the left edge: Home, Search, History,
Downloads, Shares, Settings.
- Home: the focused title's backdrop, name and synopsis at the top,
following the focus after a short pause, and rows of Continue
watching, My List, the shelves and every title under it.
- A title's page opens with Play focused, then Start over, My List and
Mark watched, season chips, episodes with stills and synopses, the
franchise and More like this.
- Search and Browse pages; OK on the field opens the TV's keyboard or
voice input.
- Menu, or holding OK, opens a focusable menu where a phone has a long
press. Rows remember the card they were left on.
- The player covers everything and nothing is composed under it.
Leaving the video stops it: a TV has no mini player.
- History, Downloads, Shares and Settings are the phone's pages inside
the overscan margins for now.
Issue #5: on an Android TV the app installed but needed a touch screen.
This is the groundwork both the phone UI and a later dedicated TV UI
need.
- The focused control is outlined in the accent, and artwork grows a
little, instead of Material's ten percent tint.
- The Menu key opens what a long press opens: the Continue watching
and tile menus, and "Mark watched up to here" on an episode.
- Closing a title gives the focus back to the tile it was opened from.
The featured banner stops turning while one of its buttons is
focused.
- Player: a key press keeps the controls up, and Play takes the focus
when they appear. Skip, Up next, the end card and Retry take the
focus when they show, and Back hides the controls first. Rewind and
fast-forward seek 10 s, also from the media session. Next, previous
and stop work too. A TV has no rotation lock or touch lock.
- On a TV: navigation rail, single pane, overscan margins, a shorter
banner, and a CAPTCHA window that fits a 540 dp screen.
The window froze for up to a second when an episode ended or the next
one started ("ui thread blocked for 1092 ms drawing the player page").
The UI thread's VideoSurface held the last handle to mpv, so dropping a
stopped Playback freed the render context and then ran mpv_destroy in
the frame, waiting for the demuxer and audio output to wind down. After
an end of file the player thread had not even sent `quit` (B69).
- The player thread sends `quit` on every way out.
- VideoRenderer frees the render context on the GL thread as before,
then hands the core to an `mpv-teardown` thread. on_exit holds a
handle across the drop so the core still dies before the process.
- app::timed names the remaining blocking parts at 100 ms: dropping
the stopped player, rendering the video and mini picture, and
rebuilding the library view.
The Flatpak builds libmpv with -Dlua=disabled, and mpv only declares its
`osc` option when Lua is built in. Player::new set it for the embedded
player and the window fallback alike, so both failed with
MPV_ERROR_PROPERTY_NOT_FOUND and every episode ended in the toast
"start mpv: mpv: Raw(-8)" (B68).
A missing `osc` now counts as already off; every other option still
fails as before. mpv errors are shown by mpv's own name instead of
libmpv2's Debug output.