From f8dc5db315ce3ec3c3e9c8532f1290967bbe2336 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 4 Feb 2015 19:20:17 +0100 Subject: manpage: document hook API This shouldn't exist and for the most part is meant to be used by the ytdl Lua script, but let's document it anyway. Since the Lua API handles all the details, it's considered much more "stable" than the raw API, which is why the raw API wasn't documented. --- DOCS/man/lua.rst | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'DOCS/man/lua.rst') diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst index 347292cd7b..7cdc29e4ab 100644 --- a/DOCS/man/lua.rst +++ b/DOCS/man/lua.rst @@ -745,17 +745,6 @@ guarantee a stable interface. recommended as neutral default value. ``fn`` is the function that will be called during execution of the hook. - Currently existing hooks: - - ``on_load`` - Called when a file is to be opened, before anything is actually done. - For example, you could read and write the ``stream-open-filename`` - property to redirect an URL to something else (consider support for - streaming sites which rarely give the user a direct media URL), or - you could set per-file options with by setting the property - ``file-local-options/