diff options
author | wm4 <wm4@nowhere> | 2014-11-19 18:51:53 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-19 18:59:38 +0100 |
commit | 079ecd7f017be7528ab597e5db36042a0eecee0d (patch) | |
tree | 2518efcadb7d06971ef26b4de1636bfa1206b850 /player/scripting.c | |
parent | 0f7df894688d7d2d4b5745944d9b84aeb512f1ae (diff) | |
download | mpv-079ecd7f017be7528ab597e5db36042a0eecee0d.tar.bz2 mpv-079ecd7f017be7528ab597e5db36042a0eecee0d.tar.xz |
player: integrate ytdl_hook.lua
Diffstat (limited to 'player/scripting.c')
-rw-r--r-- | player/scripting.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/player/scripting.c b/player/scripting.c index 982d64a3cd..f2ddcec2aa 100644 --- a/player/scripting.c +++ b/player/scripting.c @@ -177,6 +177,8 @@ void mp_load_scripts(struct MPContext *mpctx) // Load scripts from options if (mpctx->opts->lua_load_osc) mp_load_script(mpctx, "@osc.lua"); + if (mpctx->opts->lua_load_ytdl) + mp_load_script(mpctx, "@ytdl_hook.lua"); char **files = mpctx->opts->lua_files; for (int n = 0; files && files[n]; n++) { if (files[n][0]) |