--- a/share/lua/intf/http.lua +++ b/share/lua/intf/http.lua @@ -283,8 +283,12 @@ local has_index = false local my_acl = parent_acl do - local af = dir.."/.hosts" + local af = vlc.config.homedir().."/.config/vlc/http-hosts" local s = vlc.net.stat(af) + if not (s and s.type == "file") then + af = dir.."/.hosts" + s = vlc.net.stat(af) + end if s and s.type == "file" then -- We found an acl my_acl = vlc.acl(false)