Do not attempt to display an icon for unclassified

This commit is contained in:
HummyPkg 2018-02-12 00:11:05 +00:00
parent 7477fe1956
commit 4d3b134fe7
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Package: webif
Priority: optional
Section: web
Version: 1.4.2-12
Version: 1.4.2-13
Architecture: mipsel
Maintainer: af123@hpkg.tv
Depends: tcpfix,webif-channelicons(>=1.1.25),lighttpd(>=1.4.39-1),jim(>=0.77),jim-oo(>=0.77),jim-sqlite3(>=0.77),jim-cgi(>=0.7-1),jim-binary(>=0.76),service-control(>=2.3),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.8),hmt(>=2.0.10),ssmtp,cron-daemon(>=1.18.3-3),at(>=3.1.18),anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.1.11),webif-charts(>=1.2-1),stripts(>=1.3.1),tmenu(>=1.21-2),ffmpeg(>=2.8),id3v2,multienv(>=1.6),tcpping(>=1.1),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7),hwctl,nugget(>=0.95),sqlite3(>=3.15.1),jim-xconv

View File

@ -117,7 +117,7 @@ epg method end {} {
epg method type_icon {} {
lassign $::epg::genrelist($content_code) x img
if {$img != ""} {
if {$img != "" && $img ne "Unclassified"} {
return "/images/173_3_00_G3_$img.png"
} else {
return ""