mirror of
https://github.com/mpv-player/mpv
synced 2025-01-18 13:14:36 +00:00
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
|
end
|
||||||
table.insert(command, "--")
|
table.insert(command, "--")
|
||||||
table.insert(command, url)
|
table.insert(command, url)
|
||||||
|
msg.debug("Running: " .. table.concat(command,' '))
|
||||||
local es, json, result = exec(command)
|
local es, json, result = exec(command)
|
||||||
|
|
||||||
if (es < 0) or (json == nil) or (json == "") then
|
if (es < 0) or (json == nil) or (json == "") then
|
||||||
|
Loading…
Reference in New Issue
Block a user