diff --git a/CONTROL/control b/CONTROL/control index 86c370b..f136fa5 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,7 +1,7 @@ Package: webif Priority: optional Section: web -Version: 0.9.1-2 +Version: 0.9.1-3 Architecture: mipsel Maintainer: af123@hummypkg.org.uk Depends: mongoose(>=3.0-7),jim(>=0.73-1),jim-oo,jim-sqlite3(>=0.73),jim-cgi(>=0.5),service-control,busybox(>=1.19.3-1),lsof,epg(>=1.0.8),hmt(>=1.1.4),ssmtp,anacron,trm,openssl-command,nicesplice,id3v2 diff --git a/var/mongoose/cgi-bin/browse/chunk/chunk.js b/var/mongoose/cgi-bin/browse/chunk/chunk.js index 8249dca..9d52ca4 100644 --- a/var/mongoose/cgi-bin/browse/chunk/chunk.js +++ b/var/mongoose/cgi-bin/browse/chunk/chunk.js @@ -1,5 +1,6 @@ var handle; var currentpart = 0; +var stime = 0; function xprogress() { @@ -25,18 +26,18 @@ function xpart(part) if (part++ < parts) { - if (window.console) - console.log('Extracting part: ' + part); currentpart = part; $('#progressstat' + part) .text('extracting...') .addClass('blood'); + stime = new Date().getTime(); $.get('extract.jim?parts=' + parts + '&part=' + part + '&file=' + file, function(data) { + var taken = (new Date().getTime() - stime) / 1000; $('#progressstat' + part) - .text('done...') + .text('done... (' + taken + ' seconds)') .removeClass('blood'); currentpart = 0; $('#progresspart' + part) diff --git a/var/mongoose/cgi-bin/epg_dump.jim b/var/mongoose/cgi-bin/epg/dump.jim similarity index 100% rename from var/mongoose/cgi-bin/epg_dump.jim rename to var/mongoose/cgi-bin/epg/dump.jim diff --git a/var/mongoose/cgi-bin/epg_info.jim b/var/mongoose/cgi-bin/epg/info.jim similarity index 91% rename from var/mongoose/cgi-bin/epg_info.jim rename to var/mongoose/cgi-bin/epg/info.jim index b7bbe3d..dc7f710 100755 --- a/var/mongoose/cgi-bin/epg_info.jim +++ b/var/mongoose/cgi-bin/epg/info.jim @@ -79,7 +79,7 @@ if {[$record get event_crid] != ""} { puts "