update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user