From 8054c034b883b23e68fd8c9ca64749e9776f9fcf Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 23 May 2015 15:26:55 +0200 Subject: command: add protocol-list property Fixes #1972. --- DOCS/interface-changes.rst | 1 + DOCS/man/input.rst | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'DOCS') diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 41395bfc4a..aff7aa2926 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -20,6 +20,7 @@ Interface changes :: --- mpv 0.10.0 will be released --- + - add protocol-list property - deprecate audio-samplerate and audio-channels properties (audio-params sub-properties are the replacement) - add audio-params and audio-out-params properties diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index ce61654399..4806ac466e 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1778,6 +1778,12 @@ Property list Return the working directory of the mpv process. Can be useful for JSON IPC users, because the command line player usually works with relative paths. +``protocol-list`` + List of protocol prefixes potentially recognized by the player. They are + returned without trailing ``://`` suffix (which is still always required). + In some cases, the protocol will not actually be supported (consider + ``https`` if ffmpeg is not compiled with TLS support). + ``mpv-version`` Return the mpv version/copyright string. Depending on how the binary was built, it might contain either a release version, or just a git hash. -- cgit v1.2.3