diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2025-05-20 18:56:20 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2025-05-20 18:56:20 -0700 |
commit | 8fbfafa62bf8483e5385226a245f8481ee021c45 (patch) | |
tree | d54c232b3014ad225043ac3015a3bfc8c215b226 /main.lua | |
parent | bcb9d82a1f4d5b168d11270d7e3fdfd1b9591831 (diff) | |
download | mpv-iptv-menu-8fbfafa62bf8483e5385226a245f8481ee021c45.tar.gz mpv-iptv-menu-8fbfafa62bf8483e5385226a245f8481ee021c45.tar.xz |
ignore blank image urls in source data
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |