mpv/DOCS
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
..
interface-changes ytdl_hook: make path and json available to other scripts 2024-09-21 17:53:01 +02:00
man ytdl_hook: make path and json available to other scripts 2024-09-21 17:53:01 +02:00
client-api-changes.rst vo_libmpv: don't steal pointer provided by the API user 2024-08-06 20:17:35 +02:00
compatibility.rst
compile-windows.md DOCS/compile-windows.md: fix MSYS2 packages 2024-07-29 20:59:22 +02:00
contribute.md DOCS/contribute.md: require interface change begin with type 2024-06-08 23:08:43 +02:00
edl-mpv.rst
encoding.rst
interface-changes.rst DOCS/interface-changes: fix formatting 2024-06-08 23:08:43 +02:00
mplayer-changes.rst
release-policy.md VERSION: rename to MPV_VERSION to avoid standard library header conflict 2024-07-29 21:38:19 +02:00
tech-overview.txt