diff options
author | wm4 <wm4@nowhere> | 2015-05-09 21:41:44 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-09 21:41:44 +0200 |
commit | 9438f811ae5713e59873931d167c8c8472dc12db (patch) | |
tree | 60ff7e6c4ed289adf846da667ea06f96e7e7d487 | |
parent | 27f7489adc75310863df6116d447cfc0959f6526 (diff) | |
download | mpv-9438f811ae5713e59873931d167c8c8472dc12db.tar.bz2 mpv-9438f811ae5713e59873931d167c8c8472dc12db.tar.xz |
ytdl_hook: remove tabs
We don't allow tabs in normal source code.
-rw-r--r-- | player/lua/ytdl_hook.lua | 10 |
1 files 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") |