From bf5b1e9a0517b357b93ffaef7b6d96ad8b9917b0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 1 Aug 2014 22:57:56 +0200 Subject: Remove the last remains of slave mode Almost nothing was left of it. The only thing this commit actually removes is support for reading input commands from stdin. But you can emulate this via: --input-file=/dev/stdin --input-terminal=no However, this won't work on Windows. Just use a named pipe. --- DOCS/man/changes.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'DOCS/man/changes.rst') diff --git a/DOCS/man/changes.rst b/DOCS/man/changes.rst index f1f336ac7c..df6fe9adef 100644 --- a/DOCS/man/changes.rst +++ b/DOCS/man/changes.rst @@ -308,28 +308,28 @@ input.conf and Slave Commands Slave mode ~~~~~~~~~~ -* Slave mode is broken. This mode is entirely insane in the ``old`` versions of - MPlayer. A proper slave mode application needed tons of code and hacks to get +* Slave mode was removed. A proper slave mode application needed tons of code + and hacks to get it right. The main problem is that slave mode is a bad and incomplete interface, and to get around that, applications parsed output messages intended for users. It is hard to know which messages exactly are parsed by slave mode applications. This makes it virtually impossible to improve terminal output intended for users without possibly breaking something. - This is absolutely insane, and **mpv** will not try to keep slave mode - compatible. If you are a developer of a slave mode application, contact us, - and a new and better protocol can be developed. + This is absolutely insane, and since initial improvements to **mpv** quickly + made slave mode incompatible to most applications, it was removed as useless + cruft. The client API (see below) is provided instead. - ``--identify`` was already removed (``TOOLS/mpv_identify.sh`` is provided - instead), and ``--slave-broken`` might be removed in the future. + ``--identify`` was replaced by the ``TOOLS/mpv_identify.sh`` wrapper script. + +* A JSON RPC protocol giving access to the client API is planned, but nothing + has emerged yet. * **mpv** also provides a client API, which can be used to embed the player by loading it as shared library. (See ``libmpv/client.h`` in the sources.) It might also be possible to implement a custom slave mode-like protocol using Lua scripting. -* A slave protocol is planned, but nothing has emerged yet. - Policy for Removed Features --------------------------- -- cgit v1.2.3