summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.lua4
1 files 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