From 794dbd847a3add3eaf469b561cd6fc542ae35717 Mon Sep 17 00:00:00 2001 From: Ricardo Constantino Date: Sat, 18 Jul 2015 14:34:15 +0100 Subject: [PATCH] ytdl: print command in debug mode --- player/lua/ytdl_hook.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/player/lua/ytdl_hook.lua b/player/lua/ytdl_hook.lua index 9cf76b3ea1..57e9d00625 100644 --- a/player/lua/ytdl_hook.lua +++ b/player/lua/ytdl_hook.lua @@ -123,6 +123,7 @@ mp.add_hook("on_load", 10, function () end table.insert(command, "--") table.insert(command, url) + msg.debug("Running: " .. table.concat(command,' ')) local es, json, result = exec(command) if (es < 0) or (json == nil) or (json == "") then