From a96dceaae26e899a12af756b81dcad0b8efa08f5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 9 May 2015 21:41:44 +0200 Subject: [PATCH] ytdl_hook: remove tabs We don't allow tabs in normal source code. (cherry picked from commit 9438f811ae5713e59873931d167c8c8472dc12db) --- player/lua/ytdl_hook.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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")