mirror of https://github.com/mpv-player/mpv
manpage: ipc: mention the socat tool
This is not realy obvious, so I assume this is a helpful hint. Although the usefulness of such an approach is probably influenced by the fact that the player might send events that arrive in the short window while the socket is connected.
This commit is contained in:
parent
d089772b69
commit
2cd25891b6
|
@ -4,7 +4,8 @@ JSON IPC
|
|||
mpv can be controlled by external programs using the JSON-based IPC protocol. It
|
||||
can be enabled by specifying the path to a unix socket using the option
|
||||
``--input-unix-socket``. Clients can connect to this socket and send commands to
|
||||
the player or receive events from it.
|
||||
the player or receive events from it. You can use the ``socat`` tool to send
|
||||
commands (and receive reply) from the shell.
|
||||
|
||||
.. warning::
|
||||
|
||||
|
|
Loading…
Reference in New Issue