ytdl: print command in debug mode

This commit is contained in:
Ricardo Constantino 2015-07-18 14:34:15 +01:00 committed by wm4
parent 15f97f05b9
commit 794dbd847a
1 changed files with 1 additions and 0 deletions

View File

@ -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