forked from hummypkg/webif
support HD model for EPG
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@196 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
parent
0c858b3410
commit
9faac3c8fe
@ -10,6 +10,12 @@ source /mod/var/mongoose/lib/progressbar
|
||||
set channeldb 0
|
||||
catch { set channeldb [sqlite3.open /var/lib/humaxtv/channel.db] }
|
||||
|
||||
set epgpath /mnt/hd1/dvbepg/epg.dat
|
||||
set hdepgpath /media/drive1/epgsavedata
|
||||
if {![file exists $epgpath] && [file exists $hdepgpath]} {
|
||||
set epgpath $hdepgpath
|
||||
}
|
||||
|
||||
# * service_id, event_id, start, duration, encrypted, name, text
|
||||
# * warning, content code, content type,
|
||||
# * event CRID, series CRID, rec CRID
|
||||
@ -210,7 +216,7 @@ proc {epg cleanup} {} {
|
||||
|
||||
proc {epg exec} {mode args} {
|
||||
set raw 0
|
||||
set cmd [list /mod/bin/epg]
|
||||
set cmd [list /mod/bin/epg -f $epgpath]
|
||||
set extra ""
|
||||
foreach arg $args {
|
||||
if {[string first "-" $arg] == 0} {
|
||||
|
Loading…
Reference in New Issue
Block a user