1
0
Fork 0
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:
Luke Pulverenti 2014-10-22 00:42:26 -04:00
parent 68ad0f6226
commit ab4fd843d3
4 changed files with 18 additions and 11 deletions

View file

@ -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 () {