From 36c4ac8464fc19bd8820ee02e2c0f228071764af Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 24 Mar 2015 22:00:01 +0100 Subject: command: add property returning current working directory Requested; fixes #1717. --- DOCS/man/input.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'DOCS/man/input.rst') diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index edf00cc752..c5f0d9b132 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1693,6 +1693,10 @@ Property list Return the audio device selected by the AO driver (only implemented for some drivers: currently only ``coreaudio``). +``working-directory`` + 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. + ``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