This commit is contained in:
2026-06-20 17:28:17 -07:00
parent e55a825e13
commit f2ce3e82fa
7 changed files with 158 additions and 10 deletions
+10
View File
@@ -59,6 +59,16 @@ npm run setup:mpv-handler -- --skip-config
npm run setup:mpv-handler -- --dry-run
```
## Reuse existing mpv window (playlist append)
Desktop links now include an `enqueue=append` hint. For the bundled Linux Python fallback handler, this can append into an already-running mpv instance when you set an IPC socket in `config.toml`:
```toml
ipc_socket = "/tmp/mpv-handler.sock"
```
With this set, the first launch starts mpv with that IPC socket and later launches can add new URLs to the current playlist instead of opening a new window.
`--root` points at the extracted upstream `mpv-handler` folder. On Windows it is optional because this repo already ships the handler files under `scripts/`. On Linux it is normally required.
## What the helper does