aboutsummaryrefslogtreecommitdiffstats
path: root/eatit.lua
diff options
context:
space:
mode:
Diffstat (limited to 'eatit.lua')
-rw-r--r--eatit.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/eatit.lua b/eatit.lua
index 016acd5..fe58b87 100644
--- a/eatit.lua
+++ b/eatit.lua
@@ -16,8 +16,10 @@ GNU General Public License for more details.
local mp = require('mp')
+-- load the config file
dofile(mp.command_native({'expand-path', '~~/eatit-cfg.lua'}))
+-- helper functions --
local function tablelength(T)
local count = 0
for _ in pairs(T) do count = count + 1 end
@@ -76,6 +78,7 @@ local function checkupdates(i, pluginfile, pluginlink)
end
end
+-- start install
local function startinstall()
logwrite('Starting Download...')
for i = 1, tablelength(plugins) do