diff options
-rw-r--r-- | lib/attr.lua | 2 | ||||
-rw-r--r-- | lib/curl.lua | 2 | ||||
-rw-r--r-- | main.lua | 6 | ||||
-rw-r--r-- | server/opensubtitles.lua | 6 | ||||
-rw-r--r-- | server/subscene.lua | 6 | ||||
-rwxr-xr-x | tests.lua | 6 |
6 files changed, 14 insertions, 14 deletions
diff --git a/lib/attr.lua b/lib/attr.lua index 565f4c1..5735083 100644 --- a/lib/attr.lua +++ b/lib/attr.lua @@ -1,6 +1,6 @@ #!/usr/bin/env lua -local util = require 'lib/util' +local util = require 'lib.util' local extract = function (name, patterns) local r diff --git a/lib/curl.lua b/lib/curl.lua index 5272508..f35fcf1 100644 --- a/lib/curl.lua +++ b/lib/curl.lua @@ -1,6 +1,6 @@ #!/usr/bin/env lua -local util = require 'lib/util' +local util = require 'lib.util' local def_headr = { ['User-Agent'] = 'cia', @@ -1,7 +1,7 @@ local mutil = require 'mp.utils' -local util = require 'lib/util' -local subscene = require 'server/subscene' -local opensubtitles = require 'server/opensubtitles' +local util = require 'lib.util' +local subscene = require 'server.subscene' +local opensubtitles = require 'server.opensubtitles' local mkdir = function (path) local info = mutil.file_info(path) diff --git a/server/opensubtitles.lua b/server/opensubtitles.lua index 4897554..4afc6ae 100644 --- a/server/opensubtitles.lua +++ b/server/opensubtitles.lua @@ -1,8 +1,8 @@ #!/usr/bin/env lua -local curl = require 'lib/curl' -local util = require 'lib/util' -local attr = require 'lib/attr' +local curl = require 'lib.curl' +local util = require 'lib.util' +local attr = require 'lib.attr' -- [[ languages supported by opensubtitles ]] -- local languages = { diff --git a/server/subscene.lua b/server/subscene.lua index dc5dccf..b0692ff 100644 --- a/server/subscene.lua +++ b/server/subscene.lua @@ -1,8 +1,8 @@ #!/usr/bin/env lua -local curl = require 'lib/curl' -local util = require 'lib/util' -local attr = require 'lib/attr' +local curl = require 'lib.curl' +local util = require 'lib.util' +local attr = require 'lib.attr' -- [[ languages supported by subscene ]] -- local languages = { @@ -1,8 +1,8 @@ #!/usr/bin/env lua -local subscene = require 'server/subscene' -local opensubtitles = require 'server/opensubtitles' -local util = require 'lib/util' +local subscene = require 'server.subscene' +local opensubtitles = require 'server.opensubtitles' +local util = require 'lib.util' local errs = 0 |