update for flac metadata on iphone/rpi

This commit is contained in:
2026-05-17 12:29:13 -07:00
parent 38e825cf28
commit 7b0224a45a
4 changed files with 80 additions and 397 deletions
+5 -1
View File
@@ -75,6 +75,8 @@ npm run uninstall:mpv-handler
### Linux desktop
Run this on the Linux desktop client that should receive `mpv-handler://` links, not on the server that is merely hosting API Media Player.
1. Install `mpv` and optionally `yt-dlp`.
2. Download and extract the latest upstream Linux release:
@@ -82,13 +84,15 @@ npm run uninstall:mpv-handler
https://github.com/akiirui/mpv-handler/releases/latest/download/mpv-handler-linux-amd64.zip
```
The upstream project currently publishes an official Linux release for `amd64` only. On Raspberry Pi or other ARM Linux systems, build or obtain a compatible `mpv-handler` binary first, then point `--root` at that extracted folder instead.
3. Run the helper against the extracted folder:
```bash
npm run setup:mpv-handler -- --root /path/to/extracted/mpv-handler-linux-amd64
```
On Linux the helper copies the binary and desktop files into `~/.local`, writes `config.toml`, and runs `xdg-mime` for both protocol handlers.
On Linux the helper copies the binary and desktop files into `~/.local`, writes `config.toml` to `~/.config/mpv-handler/config.toml` (or `$XDG_CONFIG_HOME/mpv-handler/config.toml`), and runs `xdg-mime` for both protocol handlers.
### Android