From 128bb68d290107c15f2c5b38593048da6e321f40 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 7 Oct 2014 21:01:19 +0200 Subject: client API: clarify pause/unpause events, modify core-idle property Whether you consider the semantics weird or not depends on your use case, but I suppose it's a bit confusing anyway. At this point, we keep MPV_EVENT_PAUSE/UNPAUSE for compatibility only. Make the "core-idle" property somewhat more useful in this context. --- DOCS/client-api-changes.rst | 2 ++ DOCS/man/input.rst | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'DOCS') diff --git a/DOCS/client-api-changes.rst b/DOCS/client-api-changes.rst index be6d86cd46..605d55fa47 100644 --- a/DOCS/client-api-changes.rst +++ b/DOCS/client-api-changes.rst @@ -25,6 +25,8 @@ API changes :: + 1.6 - modify "core-idle" property behavior + --- mpv 0.6.0 is released --- 1.5 - change in X11 and "--wid" behavior again. The previous change didn't work as expected, and now the behavior can be explicitly controlled with the "input-x11-keyboard" option. This is only a temporary diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index ae3454c51f..89be9dcaec 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -828,6 +828,10 @@ Property list be different ``pause`` in special situations, such as when the player pauses itself due to low network cache. + This also returns ``yes`` if playback is restarting or if nothing is + playing at all. In other words, it's only ``no`` if there's actually + video playing. (Behavior since mpv 0.7.0.) + ``cache`` Network cache fill state (0-100.0). -- cgit v1.2.3