mirror of https://github.com/mpv-player/mpv
ytdl: print command in debug mode
This commit is contained in:
parent
15f97f05b9
commit
794dbd847a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue