comments
This commit is contained in:
@ -16,8 +16,10 @@ GNU General Public License for more details.
|
|||||||
|
|
||||||
local mp = require('mp')
|
local mp = require('mp')
|
||||||
|
|
||||||
|
-- load the config file
|
||||||
dofile(mp.command_native({'expand-path', '~~/eatit-cfg.lua'}))
|
dofile(mp.command_native({'expand-path', '~~/eatit-cfg.lua'}))
|
||||||
|
|
||||||
|
-- helper functions --
|
||||||
local function tablelength(T)
|
local function tablelength(T)
|
||||||
local count = 0
|
local count = 0
|
||||||
for _ in pairs(T) do count = count + 1 end
|
for _ in pairs(T) do count = count + 1 end
|
||||||
@ -76,6 +78,7 @@ local function checkupdates(i, pluginfile, pluginlink)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- start install
|
||||||
local function startinstall()
|
local function startinstall()
|
||||||
logwrite('Starting Download...')
|
logwrite('Starting Download...')
|
||||||
for i = 1, tablelength(plugins) do
|
for i = 1, tablelength(plugins) do
|
||||||
|
Reference in New Issue
Block a user