aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/attr.lua2
-rw-r--r--lib/curl.lua2
-rw-r--r--main.lua6
-rw-r--r--server/opensubtitles.lua6
-rw-r--r--server/subscene.lua6
-rwxr-xr-xtests.lua6
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',
diff --git a/main.lua b/main.lua
index 21854df..6d81a92 100644
--- a/main.lua
+++ b/main.lua
@@ -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 = {
diff --git a/tests.lua b/tests.lua
index cffcfc9..99aadcb 100755
--- a/tests.lua
+++ b/tests.lua
@@ -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