mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
render movies as folders with dlna
This commit is contained in:
parent
68ad0f6226
commit
ab4fd843d3
4 changed files with 18 additions and 11 deletions
|
@ -100,6 +100,9 @@ var Dashboard = {
|
|||
serverAddress: function (val) {
|
||||
|
||||
if (val != null) {
|
||||
|
||||
console.log('Setting server address to: ' + val);
|
||||
|
||||
store.setItem('serverAddress', val);
|
||||
}
|
||||
|
||||
|
@ -776,15 +779,7 @@ var Dashboard = {
|
|||
return;
|
||||
}
|
||||
|
||||
var location = window.location;
|
||||
|
||||
var webSocketUrl = "ws://" + location.hostname;
|
||||
|
||||
if (location.port) {
|
||||
webSocketUrl += ':' + location.port;
|
||||
}
|
||||
|
||||
ApiClient.openWebSocket(webSocketUrl);
|
||||
ApiClient.openWebSocket();
|
||||
},
|
||||
|
||||
onWebSocketOpened: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue