From 1964f4dfadcc432e1b518b6f9431f886f83237bc Mon Sep 17 00:00:00 2001 From: hummypkg Date: Sat, 26 Jan 2013 23:09:34 +0000 Subject: [PATCH] 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 --- CONTROL/control | 4 ++-- etc/init.d/S60parseepg | 10 +++++----- var/mongoose/cgi-bin/browse.jim | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CONTROL/control b/CONTROL/control index f7ec8bf..dc60654 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,9 +1,9 @@ Package: webif Priority: optional Section: web -Version: 0.11.0 +Version: 0.11.0-1 Architecture: mipsel 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 Description: An evolving web interface for the Humax. diff --git a/etc/init.d/S60parseepg b/etc/init.d/S60parseepg index ea2287d..ebce40c 100755 --- a/etc/init.d/S60parseepg +++ b/etc/init.d/S60parseepg @@ -1,16 +1,16 @@ #!/bin/sh -if [ -f /mnt/hd1/dvbepg/epg.dat ]; then - epg=/mnt/hd1/dvbepg/epg.dat - epgdb=/mnt/hd1/epg.db -else +if [ "`cat /etc/model`" = HD ]; then epg=/media/drive1/epgsavedata epgdb=/media/drive1/epg.db +else + epg=/mnt/hd1/dvbepg/epg.dat + epgdb=/mnt/hd1/epg.db fi case "$1" in start) - /mod/bin/epg -f $epg sqlitedumpd $epgdb > /tmp/epgd.log & + /mod/bin/epg -f $epg sqlitedumpd $epgdb > /tmp/epgd.log 2>&1 & ;; stop) killall -q epg diff --git a/var/mongoose/cgi-bin/browse.jim b/var/mongoose/cgi-bin/browse.jim index f7a7b0a..a5cfa2d 100755 --- a/var/mongoose/cgi-bin/browse.jim +++ b/var/mongoose/cgi-bin/browse.jim @@ -84,7 +84,7 @@ proc entry {file} {{i 0}} { directory $file $bfile $tbfile return } - set ext [file extension $file] + set ext [string tolower [file extension $file]] if {$ext in $::ignore || $ext ni $::include} { return } file stat $file st