summaryrefslogtreecommitdiffstats
path: root/DOCS/man/changes.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-01 22:57:56 +0200
committerwm4 <wm4@nowhere>2014-08-01 22:57:56 +0200
commitbf5b1e9a0517b357b93ffaef7b6d96ad8b9917b0 (patch)
treec689fb6dc891f72b44eb7895dc57f9c376add0ed /DOCS/man/changes.rst
parent6aac17cebbcec645a9c07043b78d57a9b04f2578 (diff)
downloadmpv-bf5b1e9a0517b357b93ffaef7b6d96ad8b9917b0.tar.bz2
mpv-bf5b1e9a0517b357b93ffaef7b6d96ad8b9917b0.tar.xz
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.
Diffstat (limited to 'DOCS/man/changes.rst')
-rw-r--r--DOCS/man/changes.rst18
1 files changed, 9 insertions, 9 deletions
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
---------------------------