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