mpv/DOCS/man
Maxim Biro ff47926d6a ytdl_hook: make path and json available to other scripts
It's useful for user scripts to be able to use the same ytdl binary that
ytdl_hook uses without having to replicate ytdl_hook's process of
searching for the ytdl binary.

Some user scripts might also find it useful to be able to access ytdl's
json output that the ytdl_hook already receives, sparing user scripts
from having to make a duplicate ytdl binary invocation to get the json
output.

Providing just the json output is not enough though, as ytdl doesn't communicate
errors though it -- if an error occurs, ytdl provides no json output and instead
prints to stderr. So without stderr, there is no way for user scripts to figure
out why ytdl has failed: no such username / video id, the channel is not live
yet, etc. Because of that, the entire result of the subprocess call is provided
to the user scripts, containing stdout (json), stderr, ytdl's exit code, etc.
2024-09-21 17:53:01 +02:00
..
af.rst DOCS/man: improve explanation on how to shift notes with --pitch 2024-08-09 14:22:23 +00:00
ao.rst DOCS/man: note that default autoprobe order is unrealiable 2024-05-20 18:07:38 +02:00
changes.rst
console.rst console.lua: implement history search 2024-08-16 18:32:58 +02:00
encode.rst DOCS/man: replace legacy option syntax usage 2024-05-24 17:57:43 +00:00
input.rst ytdl_hook: make path and json available to other scripts 2024-09-21 17:53:01 +02:00
ipc.rst DOCS/man: add more --input-ipc-client references 2024-07-29 21:00:48 +02:00
javascript.rst
libmpv.rst
lua.rst defaults.lua: handle canceled key bindings 2024-06-06 23:38:39 +03:00
mpv.rst sub: merge vsfilter-aspect and vsfilter-blur-compat options 2024-09-13 23:24:08 +02:00
options.rst DOCS/man/options.rst: further tweak sub-ass-use-video-data description 2024-09-19 13:55:50 +00:00
osc.rst osc.lua: add script message to show up the OSC 2024-06-16 01:23:38 +02:00
stats.rst stats.lua: display file tags 2024-06-09 00:58:48 +02:00
vf.rst vf_d3d11vpp: add output format selection 2024-09-01 19:41:41 +02:00
vo.rst DOCS/man: note that default autoprobe order is unrealiable 2024-05-20 18:07:38 +02:00