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>
15 lines
617 B
Bash
15 lines
617 B
Bash
#!/usr/bin/env sh
|
|
# macOS: copies Homebrew's libmpv into vendor/mpv/macos for bundling.
|
|
# Linux: libmpv comes from the system package (libmpv2); nothing to copy.
|
|
set -eu
|
|
root=$(cd "$(dirname "$0")/.." && pwd)
|
|
case "$(uname -s)" in
|
|
Darwin)
|
|
brew list mpv >/dev/null 2>&1 || brew install mpv
|
|
mkdir -p "$root/vendor/mpv/macos"
|
|
cp "$(brew --prefix mpv)/lib/libmpv.2.dylib" "$root/vendor/mpv/macos/"
|
|
echo "libmpv copied to vendor/mpv/macos" ;;
|
|
Linux)
|
|
echo "Install libmpv from your distribution (e.g. apt install libmpv2 libmpv-dev)." ;;
|
|
*) echo "Use scripts/fetch-libmpv.ps1 on Windows." ;;
|
|
esac
|