From 48fcfe19baae31c2e1635c911f7383d6d58d2aa1 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Wed, 21 May 2025 04:49:30 -0700 Subject: split util functions to new file --- xc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xc.lua') diff --git a/xc.lua b/xc.lua index fca88f7..c7f311e 100644 --- a/xc.lua +++ b/xc.lua @@ -1,6 +1,6 @@ -- Copyright 2025 David Vazgenovich Shakaryan -local utils = require('mp.utils') +local mp_utils = require('mp.utils') local xc = {} local mt = {} @@ -26,7 +26,7 @@ function mt:get(params) local fd = io.popen(cmd) local json = fd:read('*all') fd:close() - return utils.parse_json(json) + return mp_utils.parse_json(json) end function mt:get_series_info(id) -- cgit v1.2.3-70-g09d2