Make 127.0.0.1 the default host for DLNA functions (pt 2)

This commit is contained in:
df 2021-03-15 15:50:30 +00:00
parent 20c035873e
commit 75b32ad3e0

View File

@ -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 {}