diff --git a/dashboard-ui/bower_components/emby-apiclient/.bower.json b/dashboard-ui/bower_components/emby-apiclient/.bower.json index 907e08e83..468114cb2 100644 --- a/dashboard-ui/bower_components/emby-apiclient/.bower.json +++ b/dashboard-ui/bower_components/emby-apiclient/.bower.json @@ -16,12 +16,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.0.42", - "_release": "1.0.42", + "version": "1.0.43", + "_release": "1.0.43", "_resolution": { "type": "version", - "tag": "1.0.42", - "commit": "75aecc7f13e58f0f997afa7fdb37bc8326928fdd" + "tag": "1.0.43", + "commit": "5c5aeb79353f3a7d3e20a456d6f1506d660f8626" }, "_source": "git://github.com/MediaBrowser/Emby.ApiClient.Javascript.git", "_target": "~1.0.3", diff --git a/dashboard-ui/bower_components/emby-apiclient/connectionmanager.js b/dashboard-ui/bower_components/emby-apiclient/connectionmanager.js index bf130e320..f2c89d3cf 100644 --- a/dashboard-ui/bower_components/emby-apiclient/connectionmanager.js +++ b/dashboard-ui/bower_components/emby-apiclient/connectionmanager.js @@ -1519,23 +1519,20 @@ return self.getAvailableServers().then(function (servers) { + var currentServerId = apiClient.serverInfo().Id; var matchedServers = servers.filter(function (s) { - return stringEqualsIgnoreCase(s.Id, apiClient.serverInfo().Id); + return stringEqualsIgnoreCase(s.Id, currentServerId); }); - if (!matchedServers.length) { - return {}; - } + var match = matchedServers.length ? matchedServers[0] : null; + var dateLastLocalConnection = match ? match.DateLastLocalConnection : null; + if (!dateLastLocalConnection) { - var match = matchedServers[0]; - - if (!match.DateLastLocalConnection) { - - return ApiClient.getJSON(ApiClient.getUrl('System/Endpoint')).then(function (info) { + return apiClient.getJSON(apiClient.getUrl('System/Endpoint')).then(function (info) { if (info.IsInNetwork) { - updateDateLastLocalConnection(match.Id); + updateDateLastLocalConnection(currentServerId); return apiClient.getRegistrationInfo(feature); } else { return {}; diff --git a/dashboard-ui/bower_components/iron-icon/.bower.json b/dashboard-ui/bower_components/iron-icon/.bower.json index 75ac273a1..1dd6bd32f 100644 --- a/dashboard-ui/bower_components/iron-icon/.bower.json +++ b/dashboard-ui/bower_components/iron-icon/.bower.json @@ -31,14 +31,14 @@ "web-component-tester": "*", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, - "homepage": "https://github.com/PolymerElements/iron-icon", + "homepage": "https://github.com/polymerelements/iron-icon", "_release": "1.0.7", "_resolution": { "type": "version", "tag": "v1.0.7", "commit": "6f4d152dc3998a6cc12a5a585a654f893dc99381" }, - "_source": "git://github.com/PolymerElements/iron-icon.git", + "_source": "git://github.com/polymerelements/iron-icon.git", "_target": "^1.0.0", - "_originalSource": "PolymerElements/iron-icon" + "_originalSource": "polymerelements/iron-icon" } \ No newline at end of file diff --git a/dashboard-ui/nowplaying.html b/dashboard-ui/nowplaying.html index 18d7b15f4..f5106e570 100644 --- a/dashboard-ui/nowplaying.html +++ b/dashboard-ui/nowplaying.html @@ -31,7 +31,7 @@
- +
@@ -56,9 +56,6 @@
-
@@ -90,14 +87,10 @@
-
-