Address the first beta's bugs and requested changes
Startup now uses the Android iris animation, and playback can continue in a corner miniplayer while browsing (the video is drawn into a corner rectangle beneath a matching hole in the page). The player keeps the window controls, hides its chrome when the pointer leaves, and gains audio/subtitle tracks, audio sync, source bitrate and playback details in its options. Subtitles can be styled in Settings with a live preview. Categories replace Collections, the A–Z rail magnifies, descriptions expand in place, downloads can be removed in bulk, and search keeps its results while typing. Fixes scroll jank from per-card and scrolling backdrop blurs, the hidden colour wash, the cubic volume curve, loud theme music, the search focus ring, a stray nav indicator, Continue Watching previews and the TV Shows header overlap. Removes the star rating, the duplicate Settings menu entry and the server settings' Show advanced switch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
be865fa992
commit
43c168da95
35 changed files with 1771 additions and 327 deletions
|
|
@ -13,7 +13,7 @@ src/ Shared interface (all platforms)
|
|||
plex/ Plex client: account (plex.tv), library API, admin, playback, parsing
|
||||
player/ Playback controller (store.ts), mpv bridge, player overlay
|
||||
downloads/ Download catalog and actions
|
||||
screens/ Home, Movies/TV (Discover/Library/Collections), title pages,
|
||||
screens/ Home, Movies/TV (Discover/Library/Categories), title pages,
|
||||
search, people, downloads, settings, dialogs
|
||||
ui/ Design system: primitives, menus/dialogs/toasts, cards, hero
|
||||
styles/ Tokens and styles (base, ui, app, screens, player)
|
||||
|
|
@ -37,14 +37,14 @@ Each exposes the same items:
|
|||
|
||||
| Item | Windows implementation |
|
||||
| --- | --- |
|
||||
| `VideoSurface` | mpv renders with `d3d11-output-mode=composition`; its swapchain (`display-swapchain`) is set as the content of a DirectComposition visual targeted at the window with `topmost = false`, i.e. behind the web view's child windows. |
|
||||
| `VideoSurface` | mpv renders with `d3d11-output-mode=composition`; its swapchain (`display-swapchain`) is set as the content of a DirectComposition visual targeted at the window with `topmost = false`, i.e. behind the web view's child windows. For the miniplayer the visual is offset and mpv's composition size shrunk to a corner rectangle (`player_rect`). |
|
||||
| `MPV_LIBRARIES` | `libmpv-2.dll` |
|
||||
| `hold_awake` | `SetThreadExecutionState` while video plays |
|
||||
|
||||
macOS and Linux currently provide stubs for `VideoSurface` (browsing, downloads,
|
||||
settings and updates work; playback reports that it is unavailable). To add playback
|
||||
there, render through mpv's render API into a layer beneath the web view and implement
|
||||
the same five methods. Per-OS bundling (libmpv, targets, dependencies) lives in
|
||||
the same methods (`set_rect` places the video in part of the window for the miniplayer). Per-OS bundling (libmpv, targets, dependencies) lives in
|
||||
`tauri.macos.conf.json` and `tauri.linux.conf.json`. Credentials use the platform's
|
||||
keychain through the `keyring` crate with per-OS features in `Cargo.toml`.
|
||||
|
||||
|
|
@ -67,6 +67,9 @@ transparent only while video is visible (`html.video-active`), so browsing is op
|
|||
timestamps kept absolute. If direct play fails, playback retries through Plex once.
|
||||
Plex streams are matched to mpv tracks by stream index; external subtitles are added
|
||||
on demand. Timeline reports every 10 seconds make the session appear in Plex, and the
|
||||
title is marked watched at the configured percentage.
|
||||
title is marked watched at the configured percentage. The player's back arrow (or Esc)
|
||||
shrinks playback into a miniplayer: the video is drawn in a corner rectangle and the
|
||||
interface stays visible around it, with a matching hole masked out of the page
|
||||
(`html.player-mini`).
|
||||
- **Updates**: `app/updater.ts` checks the signed feed on start; installs need the
|
||||
user's confirmation and then relaunch.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue