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:
hummypkg 2011-06-23 11:14:57 +00:00
parent 0c858b3410
commit 9faac3c8fe

View File

@ -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} {