Commit Graph

61 Commits

Author SHA1 Message Date
hl-valdemar 640e23b004 fix: stabilize aspect locked queue window resizing 2026-10-18 10:44:08 +02:00
hl-valdemar 8cd5db5375 fix: preserve video aspect ratio while resizing queue window 2026-10-18 09:48:51 +02:00
hl-valdemar dd02383c0b fix: restore positive resize increments when clearing aspect lock 2026-10-18 02:13:42 +02:00
hl-valdemar 3e782aff31 fix: observe playback state to unhide native video surface 2026-10-18 02:08:28 +02:00
hl-valdemar 07243f0ed7 fix: restore window and keyboard interactions with queue 2026-10-18 02:05:25 +02:00
hl-valdemar afb0c30e09 fix: remove gap beside playback queue 2026-10-18 01:51:51 +02:00
hl-valdemar 1d33f5d572 fix: expand window outward for playback queue 2026-10-18 01:19:05 +02:00
hl-valdemar ce903e2367 feat: add editable playback queue 2026-10-18 00:22:36 +02:00
hl-valdemar d4704af442 fix: round final compact progress fraction to completion 2026-10-17 23:21:46 +02:00
hl-valdemar 2b96a165d2 fix: prevent idle sleep during playback 2026-10-17 22:10:07 +02:00
hl-valdemar 3368228537 feat: add compact progress decimal 2026-10-17 18:56:53 +02:00
hl-valdemar 0aa0ed781f perf: prioritize audio preroll after paused network previews 2026-10-17 02:11:49 +02:00
hl-valdemar e1284936f9 perf: benchmark native and Cast startup, seeks, and sustained playback 2026-10-17 01:56:33 +02:00
hl-valdemar fcad96de62 perf: prefer VideoToolbox decoding with software fallback 2026-10-17 01:42:53 +02:00
hl-valdemar 599c1492ee perf: retain Cast codecs across sequential VOD segments 2026-10-17 01:07:53 +02:00
hl-valdemar acb69fbe8a perf: remux indexed Cast video at keyframe boundaries 2026-10-17 00:37:47 +02:00
hl-valdemar 880b596765 perf: coalesce superseded queued playback seeks 2026-10-17 00:07:22 +02:00
hl-valdemar 367afdfb07 refactor: concentrate Cast ownership and preserve intent on disconnect 2026-10-17 00:02:14 +02:00
hl-valdemar ad4b2da5c8 fix: share buffered Cast HLS input and select streams 2026-10-13 23:20:20 +02:00
hl-valdemar b9e63cd760 fix: separate Cast launch readiness, preserve volume intent and reuse seek inputs 2026-10-13 22:01:59 +02:00
hl-valdemar bb777b0ecd feat: add Chromecast playback support 2026-10-13 21:39:38 +02:00
hl-valdemar 4ef8ceee24 fix: preserve audio samples across Miruro timestamp jitter 2026-10-13 16:36:14 +02:00
hl-valdemar 1aa5454194 ui: refine subtitle layout and preserve hidden controls on seeks 2026-10-13 00:05:05 +02:00
hl-valdemar e66f45d9ef ui: restore visible caption Off and compact settings controls 2026-10-12 23:46:54 +02:00
hl-valdemar 470d8feec2 feat: play resolved Miruro HLS with external VTT and stable episode progress 2026-10-12 21:22:20 +02:00
hl-valdemar 1f12660936 feat: remember manually resized compact window width 2026-10-12 17:01:15 +02:00
hl-valdemar daac27be8d fix: keep compact title progress adjacent and truncate the title tail 2026-10-12 16:36:54 +02:00
hl-valdemar 35fa89e492 feat: configure duration-aware progress in compact titles 2026-10-12 16:00:33 +02:00
hl-valdemar 30cf85e880 fix: give native Quit its Command shortcut during text editing 2026-10-12 15:25:55 +02:00
hl-valdemar 93acc1436a ui: frost playback titles and hide chrome on pointer exit 2026-10-12 13:55:46 +02:00
hl-valdemar 1e75f554f0 fix: allow compact mode while media is loading 2026-10-12 12:18:11 +02:00
hl-valdemar f495c8b719 feat: animate compact window transitions 2026-10-12 10:38:59 +02:00
hl-valdemar e54cb2b549 fix: reconnect interrupted video streams
Enable bounded FFmpeg reconnection for recorded range-seekable HTTP inputs, preserving compressed cache, byte offset and playback intent. A five-second socket timeout leaves recovery room inside the existing fifteen-second I/O deadline. Keep live/non-range replay and signed-URL refresh disabled.

Native regression failed before the fix with Reading network media: Input/output error. Real combined/split playback now survives dropped responses and socket timeout; persistent failures remain visible and retries are cancellable by seek, close, replacement and destruction.

Release, network, adaptive, media, reporting, runtime, relocated bundle and local playback checks passed. Packaged CLI/GUI playback started successfully; the full-suite keyboard smoke stopped because macOS refused foreground focus for its transparent check window.
2026-10-12 02:18:12 +02:00
hl-valdemar 31c4759c1d build: bundle playback and YouTube dependencies
Build pinned LGPL playback libraries and package standalone YouTube helpers inside the signed native app. Keep the CLI inside the app and relocate private library links for installation without runtime Homebrew dependencies.

Record adaptive fixture completion in its EXIT trap: cancellation can exit with status 143 before the TERM trap writes its marker, while native pause and quality preservation remain correct.
2026-10-12 01:52:51 +02:00
hl-valdemar 8eba97579f refactor: concentrate playback transition ownership 2026-10-12 00:58:23 +02:00
hl-valdemar cc99a2a4f8 feat: report authoritative playback progress from shared backend 2026-10-11 21:34:08 +02:00
hl-valdemar a4c38bfa51 feat: group playback settings under a TOML section 2026-10-11 17:35:34 +02:00
hl-valdemar b5eb4903db feat: shorten default configuration flag to --default-config 2026-10-11 17:17:24 +02:00
hl-valdemar 35181634d6 feat: print complete default configuration from CLI 2026-10-11 17:14:45 +02:00
hl-valdemar 41e4a458cf feat: configure explicit state-dependent player keybindings 2026-10-11 17:02:15 +02:00
hl-valdemar 722a225da5 feat: load optional XDG TOML configuration with session overrides 2026-10-11 15:03:20 +02:00
hl-valdemar 0dce073287 feat: add independent CLI launches and preserve shared video bookmarks 2026-10-11 14:13:05 +02:00
hl-valdemar 537e8e2624 fix: avoid unbounded HTTP throttling and make buffer readout opt-in 2026-10-11 12:12:36 +02:00
hl-valdemar 13554a1574 feat: retain streaming media and add opt-in automatic quality 2026-10-11 11:52:24 +02:00
hl-valdemar 5087a0a0f0 feat: visualize retained network playback buffer 2026-10-11 03:15:38 +02:00
hl-valdemar 4d4c3e6b0a feat: choose YouTube quality with a 1080p default 2026-10-11 02:54:01 +02:00
hl-valdemar 5f0287f489 fix: preserve app identity through FFmpeg preflight 2026-10-11 02:25:25 +02:00
hl-valdemar cf24a0fc4f fix: respond to macOS system playback controls 2026-10-11 01:51:59 +02:00
hl-valdemar c6d2958744 feat: install release builds and report missing FFmpeg
Add make release and make install PREFIX=/Users/valdemar/.local. Keep optimized no-debug release artifacts separate; install adjacent CLI/app under lib/terebi and link bin/terebi. Preflight FFmpeg/pkg-config before compiling or installing, including cached builds.

Record the player's exact linked FFmpeg ABI paths. AppKit-only CLI/bootstrap validate native loadability and transitive dependencies before entering the FFmpeg-linked terebi-player. CLI fails with status 69 and remediation; Finder bootstrap shows a native alert and execs the player without losing initial events or process identity.

Verified staged installation with spaces, reinstall preservation, absent build dependencies, missing/corrupt/transitively broken dylibs, real modal error surface, installed CLI and Finder startup across exec, local/YouTube resume and window reuse, and full make check.
2026-10-11 01:33:03 +02:00
hl-valdemar 230949bb95 feat: add a native CLI launcher for local and YouTube playback
Build .build/terebi beside the app. Parse a single local file or YouTube URL, --url, --, and help; reject invalid commands before GUI launch. Resolve the adjacent app through symlinks and launch through NSWorkspace, reusing its process/window and saved progress.

Launch the app without media before delivering URL events. Raw media argv suppress SwiftUI's initial singleton window. Own warm document and internet Apple events because SwiftUI's default external-event routing closes that window; retain initial Finder document delivery to create it.

Verified actual CLI 0/64/69 exit behavior, PATH/symlink discovery from another directory, cold local/YouTube playback, warm local/YouTube replacement in the same native window/process, resume, Finder-style cold launch, and make all check.
2026-10-11 00:45:24 +02:00