forked from hummypkg/webif
lower case file extensions, fixes to parseepg
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1372 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
parent
d649456cfe
commit
1964f4dfad
@ -1,9 +1,9 @@
|
|||||||
Package: webif
|
Package: webif
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: web
|
Section: web
|
||||||
Version: 0.11.0
|
Version: 0.11.0-1
|
||||||
Architecture: mipsel
|
Architecture: mipsel
|
||||||
Maintainer: af123@hummypkg.org.uk
|
Maintainer: af123@hummypkg.org.uk
|
||||||
Depends: webif-channelicons(>=1.0.4),mongoose(>=3.0-7),jim(>=0.73-1),jim-oo,jim-sqlite3(>=0.73-1),jim-cgi(>=0.6),jim-binary,service-control(>=1.2),busybox(>=1.20.2-1),lsof,epg(>=1.0.9-1),hmt(>=1.1.10),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.1.2),smartmontools,tmenu(>=1.05)
|
Depends: webif-channelicons(>=1.0.4-1),mongoose(>=3.0-7),jim(>=0.73-1),jim-oo,jim-sqlite3(>=0.73-1),jim-cgi(>=0.6),jim-binary,service-control(>=1.2),busybox(>=1.20.2-1),lsof,epg(>=1.0.9-1),hmt(>=1.1.10),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.1.2),smartmontools,tmenu(>=1.05)
|
||||||
Suggests: ffmpeg
|
Suggests: ffmpeg
|
||||||
Description: An evolving web interface for the Humax.
|
Description: An evolving web interface for the Humax.
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ -f /mnt/hd1/dvbepg/epg.dat ]; then
|
if [ "`cat /etc/model`" = HD ]; then
|
||||||
epg=/mnt/hd1/dvbepg/epg.dat
|
|
||||||
epgdb=/mnt/hd1/epg.db
|
|
||||||
else
|
|
||||||
epg=/media/drive1/epgsavedata
|
epg=/media/drive1/epgsavedata
|
||||||
epgdb=/media/drive1/epg.db
|
epgdb=/media/drive1/epg.db
|
||||||
|
else
|
||||||
|
epg=/mnt/hd1/dvbepg/epg.dat
|
||||||
|
epgdb=/mnt/hd1/epg.db
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
/mod/bin/epg -f $epg sqlitedumpd $epgdb > /tmp/epgd.log &
|
/mod/bin/epg -f $epg sqlitedumpd $epgdb > /tmp/epgd.log 2>&1 &
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
killall -q epg
|
killall -q epg
|
||||||
|
@ -84,7 +84,7 @@ proc entry {file} {{i 0}} {
|
|||||||
directory $file $bfile $tbfile
|
directory $file $bfile $tbfile
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
set ext [file extension $file]
|
set ext [string tolower [file extension $file]]
|
||||||
if {$ext in $::ignore || $ext ni $::include} { return }
|
if {$ext in $::ignore || $ext ni $::include} { return }
|
||||||
|
|
||||||
file stat $file st
|
file stat $file st
|
||||||
|
Loading…
Reference in New Issue
Block a user