1
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:
wm4 2015-05-09 21:41:44 +02:00
parent 27f7489adc
commit 9438f811ae

View File

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