Tauri 2 shell with a React/TypeScript interface and libmpv playback composed beneath the web view (DirectComposition on Windows). Shared code with per-OS platform modules and configs so macOS and Linux can follow. - Plex sign-in (browser, plex.tv/link or manual), server selection, Plex Home - Home, Movies and TV Shows (Discover, Library, Collections), search, people - Title pages with logos, ratings, cast, extras, seasons and episodes - Direct play with Plex conversion fallback, tracks, markers, autoplay - Metadata editing, artwork, fix match, refresh, analyze and deletion - Resumable offline downloads - App settings and Plex server administration with a live dashboard - Signed updater feed and Forgejo CI Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
728 B
Rust
23 lines
728 B
Rust
//! Everything that differs between operating systems lives in this module.
|
|
//! Each platform file exposes the same items:
|
|
//!
|
|
//! - `VideoSurface`: composes mpv's output beneath the web view
|
|
//! (`create`, `mpv_options`, `on_property`, `show`, `fit`).
|
|
//! - `SURFACE_PROPERTIES`: mpv properties the surface observes.
|
|
//! - `MPV_LIBRARIES`: libmpv file names to look for.
|
|
//! - `hold_awake`: prevents display sleep until the receiver closes.
|
|
|
|
#[cfg(target_os = "windows")]
|
|
mod windows;
|
|
#[cfg(target_os = "windows")]
|
|
pub use self::windows::*;
|
|
|
|
#[cfg(target_os = "macos")]
|
|
mod macos;
|
|
#[cfg(target_os = "macos")]
|
|
pub use self::macos::*;
|
|
|
|
#[cfg(target_os = "linux")]
|
|
mod linux;
|
|
#[cfg(target_os = "linux")]
|
|
pub use self::linux::*;
|