summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Constantino <wiiaboo@gmail.com>2015-07-18 14:34:15 +0100
committerwm4 <wm4@nowhere>2015-07-29 13:20:06 +0200
commit794dbd847a3add3eaf469b561cd6fc542ae35717 (patch)
tree9162090a4d23e8f1ae50c87e8518107e2632c665
parent15f97f05b9f118afca39199da87e3fd9f78c1ee1 (diff)
downloadmpv-794dbd847a3add3eaf469b561cd6fc542ae35717.tar.bz2
mpv-794dbd847a3add3eaf469b561cd6fc542ae35717.tar.xz
ytdl: print command in debug mode
-rw-r--r--player/lua/ytdl_hook.lua1
1 files changed, 1 insertions, 0 deletions
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