forked from hummypkg/webif
fix decrypt
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1441 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
@@ -11,7 +11,7 @@ set rfile [cgi_get file]
|
||||
set ts [ts fetch $rfile]
|
||||
set dir [file dirname $rfile]
|
||||
set len [$ts duration 1]
|
||||
lassign [$ts dlnaloc] url
|
||||
lassign [$ts dlnaloc "127.0.0.1"] url
|
||||
|
||||
puts "
|
||||
<link href=/css/jquery.progressbar.css rel=stylesheet type=text/css />
|
||||
|
||||
@@ -11,7 +11,7 @@ set rfile [cgi_get file]
|
||||
set ts [ts fetch $rfile]
|
||||
set dir [file dirname $rfile]
|
||||
set len [$ts duration 1]
|
||||
lassign [$ts dlnaloc] url
|
||||
lassign [$ts dlnaloc "127.0.0.1"] url
|
||||
|
||||
if {$url eq ""} {
|
||||
puts "This file has not been indexed by the media server.
|
||||
|
||||
@@ -211,7 +211,7 @@ proc do_decrypt {ts} {
|
||||
return
|
||||
}
|
||||
|
||||
lassign [$ts dlnaloc] url
|
||||
lassign [$ts dlnaloc "127.0.0.1"] url
|
||||
if {$url eq ""} {
|
||||
log " Not yet indexed."
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user