From 44644dfb4e3e19438c6499a6b49458fc8b382ac1 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Wed, 7 Jan 2026 23:25:48 -0800 Subject: more images cleanup --- catalogue.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'catalogue.lua') diff --git a/catalogue.lua b/catalogue.lua index 47a1b7a..d781cf4 100644 --- a/catalogue.lua +++ b/catalogue.lua @@ -7,13 +7,13 @@ local mt = {} mt.__index = mt function catalogue.new() - o = setmetatable({data = {}}, mt) + local t = setmetatable({data = {}}, mt) - o:add({ + t:add({ type = 'group', id = 'root', }) - o:add({ + t:add({ type = 'group', id = 'favourites', parent_id = 'root', @@ -21,7 +21,7 @@ function catalogue.new() lazy = true, -- prevent infinite recursion on search }) - return o + return t end function mt:get(id) @@ -95,14 +95,14 @@ function mt:load_xc_section(section) vv.group_type = 'series' vv.id = section.id .. ':series:' .. v.series_id vv.series_id = v.series_id - vv.image = util.strip_ne(v.cover) + vv.img_url = util.strip_ne(v.cover) vv.lazy = true -- avoid API calls on search else vv.type = 'stream' vv.id = section.id .. ':stream:' .. v.stream_id vv.stream_type = v.stream_type vv.stream_id = v.stream_id - vv.image = util.strip_ne(v.stream_icon) + vv.img_url = util.strip_ne(v.stream_icon) vv.epg_channel_id = util.strip_ne(v.epg_channel_id) end -- cgit v1.2.3-70-g09d2