From dbc20e0a10883b8cb44343432d4539009a45611b Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 30 Sep 2023 22:23:11 +0530 Subject: mpv: init --- lib/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/util.lua b/lib/util.lua index d962961..15221dd 100644 --- a/lib/util.lua +++ b/lib/util.lua @@ -37,7 +37,7 @@ local zip_ext_first = function (zip, out) rc = os.execute('unzip -qq ' .. zip .. ' -d ' .. dir) srt = io.popen('find ' .. dir .. ' -type f -name *.srt'):read('*l') - os.rename(srt, out) + os.execute("mv '" .. srt .. "' '" .. out .. "'") os.remove(dir) return rc -- cgit v1.2.3