From 8fbfafa62bf8483e5385226a245f8481ee021c45 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Tue, 20 May 2025 18:56:20 -0700 Subject: ignore blank image urls in source data --- main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.lua b/main.lua index 88e15bc..3b5c3d9 100644 --- a/main.lua +++ b/main.lua @@ -517,7 +517,7 @@ function update_osd() osd_option_text(opt, info) .. osd_option_path(opt, info) - if selected and opt.stream_icon then + if selected and opt.stream_icon and opt.stream_icon ~= '' then img = get_image_path(opt.stream_icon, true) end end @@ -1075,7 +1075,7 @@ local function open_option_movie_info(opt) options=options, title='Movie Info: ' .. opt.name, } - if info.cover_big then + if info.cover_big and info.cover_big ~= '' then m.img_url = info.cover_big end -- cgit v1.2.3-70-g09d2