ytdl_hook: remove tabs

We don't allow tabs in normal source code.

(cherry picked from commit 9438f811ae)
This commit is contained in:
wm4 2015-05-09 21:41:44 +02:00 committed by Diogo Franco (Kovensky)
parent 002c387781
commit a96dceaae2
1 changed files with 5 additions and 5 deletions

View File

@ -104,11 +104,11 @@ mp.add_hook("on_load", 10, function ()
"--sub-format", subformat, "--no-playlist" "--sub-format", subformat, "--no-playlist"
} }
-- Checks if video option is "no", change options accordingly -- Checks if video option is "no", change options accordingly
if (mp.get_property("options/vid") == "no") then if (mp.get_property("options/vid") == "no") then
format = "bestaudio/best" format = "bestaudio/best"
msg.verbose("Video disabled. Only using audio") msg.verbose("Video disabled. Only using audio")
end end
if (format ~= "") then if (format ~= "") then
table.insert(command, "--format") table.insert(command, "--format")