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:
df 2020-11-02 15:14:23 +00:00
parent d7c15163e1
commit f6117a4ec0

View File

@ -309,7 +309,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