From 0d2456ae5f0440bbea357d7463618fa8bd41ca88 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 11 Jun 2015 21:41:16 +0200 Subject: lua: support MPV_END_FILE_REASON_REDIRECT And also add the missing "unknown" entry to the manpage. --- DOCS/man/lua.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'DOCS') diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst index 4d3fb7c3d8..64775d0d74 100644 --- a/DOCS/man/lua.rst +++ b/DOCS/man/lua.rst @@ -707,6 +707,16 @@ List of events An error happened. In this case, an ``error`` field is present with the error string. + ``redirect`` + Happens with playlists and similar. Details see + ``MPV_END_FILE_REASON_REDIRECT`` in the C API. + + ``unknown`` + Unknown. Normally doesn't happen, unless the Lua API is out of sync + with the C API. (Likewise, it could happen that your script gets + reason strings that did not exist yet at the time your script was + written.) + ``file-loaded`` Happens after a file was loaded and begins playback. -- cgit v1.2.3