forked from hummypkg/webif
label segments with sequence number
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@726 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
parent
a014fec23d
commit
7a66306f78
@ -31,7 +31,9 @@ function xpart(part)
|
|||||||
$('#progressstat' + part)
|
$('#progressstat' + part)
|
||||||
.text('extracting...')
|
.text('extracting...')
|
||||||
.addClass('blood');
|
.addClass('blood');
|
||||||
$.get('extract.jim?part=' + part + '&file=' + file,
|
$.get('extract.jim?parts=' + parts +
|
||||||
|
'&part=' + part +
|
||||||
|
'&file=' + file,
|
||||||
function(data) {
|
function(data) {
|
||||||
$('#progressstat' + part)
|
$('#progressstat' + part)
|
||||||
.text('done...')
|
.text('done...')
|
||||||
|
@ -11,6 +11,7 @@ cgi_input
|
|||||||
|
|
||||||
set rfile [cgi_get file]
|
set rfile [cgi_get file]
|
||||||
set part [cgi_get part -]
|
set part [cgi_get part -]
|
||||||
|
set parts [cgi_get parts "?"]
|
||||||
|
|
||||||
if {$part eq "-"} exit
|
if {$part eq "-"} exit
|
||||||
|
|
||||||
@ -32,3 +33,6 @@ puts "CMD: ($cmd)"
|
|||||||
|
|
||||||
puts [exec {*}$cmd]
|
puts [exec {*}$cmd]
|
||||||
|
|
||||||
|
set ts [ts fetch "$base.part$part.ts"]
|
||||||
|
$ts settitle "$part/$parts. [string range [ts get $title] 0 40]"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user