From 7356e6e2205e80b243b3ecb9c5781245c9a7812a Mon Sep 17 00:00:00 2001 From: hummypkg Date: Sun, 10 Jun 2012 21:16:22 +0000 Subject: [PATCH] add strip git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1046 2a923420-c742-0410-a762-8d5b09965624 --- CONTROL/control | 4 +- var/mongoose/cgi-bin/browse.jim | 5 +- var/mongoose/cgi-bin/browse/assets.jim | 12 ++++ var/mongoose/cgi-bin/browse/browse.js | 21 +++++++ var/mongoose/cgi-bin/browse/strip/execute.jim | 52 ++++++++++++++++ .../cgi-bin/browse/strip/progress.jim | 27 ++++++++ var/mongoose/cgi-bin/browse/strip/strip.jim | 62 +++++++++++++++++++ var/mongoose/cgi-bin/browse/strip/strip.js | 37 +++++++++++ 8 files changed, 217 insertions(+), 3 deletions(-) create mode 100755 var/mongoose/cgi-bin/browse/strip/execute.jim create mode 100755 var/mongoose/cgi-bin/browse/strip/progress.jim create mode 100755 var/mongoose/cgi-bin/browse/strip/strip.jim create mode 100755 var/mongoose/cgi-bin/browse/strip/strip.js diff --git a/CONTROL/control b/CONTROL/control index 7baa436..4b1be78 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,9 +1,9 @@ Package: webif Priority: optional Section: web -Version: 0.9.10-1 +Version: 0.9.11 Architecture: mipsel Maintainer: af123@hummypkg.org.uk -Depends: webif-channelicons(>=1.0.1),mongoose(>=3.0-7),jim(>=0.73-1),jim-oo,jim-sqlite3(>=0.73),jim-cgi(>=0.5),service-control(>=1.2),busybox(>=1.19.3-1),lsof,epg(>=1.0.9),hmt(>=1.1.6),ssmtp,anacron,trm,openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2) +Depends: webif-channelicons(>=1.0.1),mongoose(>=3.0-7),jim(>=0.73-1),jim-oo,jim-sqlite3(>=0.73),jim-cgi(>=0.5),service-control(>=1.2),busybox(>=1.19.3-1),lsof,epg(>=1.0.9),hmt(>=1.1.6),ssmtp,anacron,trm,openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts Suggests: ffmpeg,webif-iphone Description: An evolving web interface for the Humax. diff --git a/var/mongoose/cgi-bin/browse.jim b/var/mongoose/cgi-bin/browse.jim index 9676758..940c009 100755 --- a/var/mongoose/cgi-bin/browse.jim +++ b/var/mongoose/cgi-bin/browse.jim @@ -100,16 +100,19 @@ proc entry {file} {{i 0}} { set type ts set ts [ts fetch $file 1] set img Video_TS + set omenu opt } elseif {$ext eq ".hmt"} { if {[file exists "${base}.ts"]} { continue } # Sole hmt file indicates failure to track. set type bad set ts 0 set img Video_Failed + set omenu oopt } else { set type gen set ts 0 set img Video_Other + set omenu oopt } set new 0 @@ -194,7 +197,7 @@ proc entry {file} {{i 0}} { puts " - Decrypt } + puts {
  • Strip
  • } +} else { + puts {
  • Strip
  • } } if {[system pkginst ffmpeg]} { puts { @@ -33,6 +36,15 @@ puts {
  • Toggle New
  • + +