forked from hummypkg/webif
Make 127.0.0.1 the default host for system dlnahelper
In all the cases where `system dlnahelper` is called, no host/IP part is specified, and those cases are creating a URL that only needs to be accessible from the same machine, where the loopback address should be the default. Should fix eg https://hummy.tv/forum/threads/detectads-not-always-succesful.9936/post-147241.
This commit is contained in:
parent
d7c15163e1
commit
f6117a4ec0
@ -309,7 +309,7 @@ proc {system dlnaurl} {file {urlbase ""}} {
|
|||||||
return $ret
|
return $ret
|
||||||
}
|
}
|
||||||
|
|
||||||
proc {system dlnahelper} {file {urlbase ""}} {
|
proc {system dlnahelper} {file {urlbase "127.0.0.1"}} {
|
||||||
set dir /mnt/hd2/mod/.dlnahelper
|
set dir /mnt/hd2/mod/.dlnahelper
|
||||||
require lock
|
require lock
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user