display Enc icon for protected EPG entries

git-svn-id: file:///root/webif/svn/pkg/webif/trunk@2562 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg 2016-01-03 22:29:55 +00:00
parent 4bdd52307c
commit e5c01f19d3
2 changed files with 10 additions and 3 deletions

View File

@ -1,10 +1,10 @@
Package: webif
Priority: optional
Section: web
Version: 1.2.5-13
Version: 1.2.6
Architecture: mipsel
Maintainer: af123@hummypkg.org.uk
Depends: webif-channelicons(>=1.1.18),lighttpd(>=1.4.37-2),jim(>=0.76),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.0),hmt(>=2.0.8),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2-1),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),tcpping(>=1.1),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7)
Depends: webif-channelicons(>=1.1.18),lighttpd(>=1.4.37-2),jim(>=0.76),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.1),hmt(>=2.0.8),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2-1),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),tcpping(>=1.1),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7)
Suggests:
Description: An evolving web interface for the Humax.
Tags: http://hummy.tv/forum/threads/6484/

View File

@ -46,6 +46,8 @@ class epg {
channel_crid ""
channel_hsvc 0
content_mgmt 0
sched_type -1
rsv 0
@ -55,7 +57,7 @@ epg method _parse {line} {
lassign [split $line "\t"] \
service_id event_id start duration encrypted name text warning \
content_code content_type event_crid series_crid rec_crid \
warning_mode
warning_mode content_mgmt
}
epg method percent {} {
@ -255,6 +257,11 @@ epg method icon_set {{height 0}} {
"<img src=/images/178_1_26_Icon_Split.png $height>"
}
if {$content_mgmt} {
lappend set \
"<img src=/images/749_1_26_Video_Encryption.png $height>"
}
return $set
}