summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-03-20 19:48:55 +0100
committerwm4 <wm4@nowhere>2016-03-20 19:51:22 +0100
commit5f1ff78516bb5aaf6c38a5df55959e1165c059ee (patch)
tree129f6bbb1984c2533a207e0dcf3275eb02892575 /DOCS
parentb9c48ca8f33e63549f51edb08bd50cc6cc8badbb (diff)
downloadmpv-5f1ff78516bb5aaf6c38a5df55959e1165c059ee.tar.bz2
mpv-5f1ff78516bb5aaf6c38a5df55959e1165c059ee.tar.xz
command: add cache-speed property
Should reflect I/O speed. This could go into the terminal status line. But I'm not sure how to put it there, since it already uses too much space, so it's not there yet.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/interface-changes.rst1
-rw-r--r--DOCS/man/input.rst5
2 files changed, 6 insertions, 0 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index 4ef60aa312..7dac36eac9 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -24,6 +24,7 @@ Interface changes
"track-list/N/demux-channel-count" instead)
- remove write access to "stream-pos", and change semantics for read access
- Lua scripts now don't suspend mpv by default while script code is run
+ - add "cache-speed" property
--- mpv 0.16.0 ---
- change --audio-channels default to stereo (use --audio-channels=auto to
get the old default)
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 79a6790e49..63506e7a4e 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1195,6 +1195,11 @@ Property list
``cache-used`` (R)
Total used cache size in KB.
+``cache-speed`` (R)
+ Current I/O read speed between the cache and the lower layer (like network).
+ This is a float (using ``MPV_FORMAT_DOUBLE`` in the client API) and gives
+ the value bytes per seconds over a 1 second window.
+
``cache-idle`` (R)
Returns ``yes`` if the cache is idle, which means the cache is filled as
much as possible, and is currently not reading more data.