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 b17d1ffe3d
commit 36b8b43a17

View File

@ -304,7 +304,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 {}