From ed9df1796db9ad9905612e4ad25c591f7d2f09cf Mon Sep 17 00:00:00 2001 From: df Date: Mon, 15 Mar 2021 13:22:31 +0000 Subject: [PATCH] Fix DLNA playback on HDR `urlbase` is the host name --- webif/html/browse/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webif/html/browse/script.js b/webif/html/browse/script.js index b4ce507..9ef5da7 100755 --- a/webif/html/browse/script.js +++ b/webif/html/browse/script.js @@ -837,7 +837,7 @@ function doplay(it) } else { window.location = '/browse/play.jim?' + 'dir=' + encodeURIComponent(dir) + - '&base=' + encodeURI(window.location.href) + + '&base=' + encodeURI(window.location.hostname) + '&duration=' + duration + '&file=' + encodeURIComponent(file); }