mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-26 21:00:21 +00:00
ytdl: print command in debug mode
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user