Make 127.0.0.1 the default host for DLNA functions
This commit is contained in:
parent
21f4afac3e
commit
8016482d29
@ -300,7 +300,7 @@ proc {system _dlnaurl} {file urlbase} {
|
||||
return [list $url $mime]
|
||||
}
|
||||
|
||||
proc {system dlnaurl} {file {urlbase ""}} {
|
||||
proc {system dlnaurl} {file {urlbase "127.0.0.1"}} {
|
||||
if {$urlbase eq ""} { set urlbase [system ip] }
|
||||
set retries 5
|
||||
set ret {}
|
||||
@ -312,7 +312,7 @@ proc {system dlnaurl} {file {urlbase ""}} {
|
||||
return $ret
|
||||
}
|
||||
|
||||
proc {system dlnahelper} {file {urlbase ""}} {
|
||||
proc {system dlnahelper} {file {urlbase "127.0.0.1"}} {
|
||||
set dir /mnt/hd2/mod/.dlnahelper
|
||||
require lock
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user