From 9438f811ae5713e59873931d167c8c8472dc12db Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 9 May 2015 21:41:44 +0200 Subject: ytdl_hook: remove tabs We don't allow tabs in normal source code. --- player/lua/ytdl_hook.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'player/lua') diff --git a/player/lua/ytdl_hook.lua b/player/lua/ytdl_hook.lua index a3be2be812..5e87bc3bc3 100644 --- a/player/lua/ytdl_hook.lua +++ b/player/lua/ytdl_hook.lua @@ -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") -- cgit v1.2.3