mirror of
https://github.com/mpv-player/mpv
synced 2024-11-07 01:47:00 +01:00
ytdl_hook: remove tabs
We don't allow tabs in normal source code.
This commit is contained in:
parent
27f7489adc
commit
9438f811ae
@ -104,11 +104,11 @@ mp.add_hook("on_load", 10, function ()
|
||||
"--sub-format", subformat, "--no-playlist"
|
||||
}
|
||||
|
||||
-- Checks if video option is "no", change options accordingly
|
||||
if (mp.get_property("options/vid") == "no") then
|
||||
format = "bestaudio/best"
|
||||
msg.verbose("Video disabled. Only using audio")
|
||||
end
|
||||
-- Checks if video option is "no", change options accordingly
|
||||
if (mp.get_property("options/vid") == "no") then
|
||||
format = "bestaudio/best"
|
||||
msg.verbose("Video disabled. Only using audio")
|
||||
end
|
||||
|
||||
if (format ~= "") then
|
||||
table.insert(command, "--format")
|
||||
|
Loading…
Reference in New Issue
Block a user