diff --git a/dashboard-ui/css/librarymenu.css b/dashboard-ui/css/librarymenu.css
index 3dd301bbeb..b3a8292bf2 100644
--- a/dashboard-ui/css/librarymenu.css
+++ b/dashboard-ui/css/librarymenu.css
@@ -59,9 +59,6 @@
border-width: 0 !important;
}
- .headerButtonRight:last-child {
- }
-
.desktopHomeLink {
color: #ddd !important;
text-decoration: none;
@@ -232,6 +229,7 @@
background-image: url(images/items/folders/settings.png);
background-position: 16px 8px;
}
+
.reportsViewMenu {
background-image: url(images/items/folders/report.png);
}
@@ -300,4 +298,4 @@
.headerSettingsButton {
display: none;
}
-}
+}
\ No newline at end of file
diff --git a/dashboard-ui/css/metadataeditor.css b/dashboard-ui/css/metadataeditor.css
index 5e7cf01310..53ee6065fc 100644
--- a/dashboard-ui/css/metadataeditor.css
+++ b/dashboard-ui/css/metadataeditor.css
@@ -207,11 +207,35 @@
margin-right: 10px;
}
+.subtitleViewerContent {
+ overflow: auto;
+ width: 200px;
+ height: 200px;
+}
+
+@media all and (min-width: 400px) {
+
+ .subtitleViewerContent {
+ width: 300px;
+ }
+}
+
+@media all and (min-width: 500px) {
+
+ .subtitleViewerContent {
+ width: 400px;
+ }
+}
+
@media all and (min-width: 600px) {
.popupIdentify {
width: 400px;
}
+
+ .subtitleViewerContent {
+ width: 500px;
+ }
}
@media all and (min-width: 700px) {
@@ -223,6 +247,10 @@
.popupIdentify {
width: 500px;
}
+
+ .subtitleViewerContent {
+ width: 600px;
+ }
}
@media all and (min-width: 800px) {
@@ -344,6 +372,10 @@
.popupIdentify form, .identificationSearchResults {
height: 350px;
}
+
+ .subtitleViewerContent {
+ height: 400px;
+ }
}
@media all and (min-height: 600px) {
@@ -355,6 +387,10 @@
.collectionItemSearchResults {
max-height: 70%;
}
+
+ .subtitleViewerContent {
+ height: 500px;
+ }
}
@media all and (min-height: 700px) {
@@ -366,6 +402,10 @@
.collectionItemSearchResults {
max-height: 75%;
}
+
+ .subtitleViewerContent {
+ height: 600px;
+ }
}
@media all and (min-height: 800px) {
diff --git a/dashboard-ui/editcollectionitems.html b/dashboard-ui/editcollectionitems.html
index 98e4e388d1..1f74c7da8f 100644
--- a/dashboard-ui/editcollectionitems.html
+++ b/dashboard-ui/editcollectionitems.html
@@ -18,7 +18,6 @@
' + (person.Role) + '
'; + } + html += ''; + + html += 'Delete'; + + html += ''; - - if (item.LocationType !== "Offline") { - html += ''; - html += ''; - html += ''; - } - - html += ''; - html += ''; - html += ''; - html += ''; - html += ''; - html += '
'; - html += '' + (s.Language || 'Unknown language') + '
'; + + if (s.IsDefault || s.IsForced) { + + var atts = []; + + if (s.IsDefault) { + + atts.push('Default'); + } + if (s.IsForced) { + + atts.push('Forced'); + } + + itemHtml += '' + atts.join(', ') + '
'; + } + + if (s.Path) { + itemHtml += '' + (s.Path) + '
'; + } + + itemHtml += ''; + + if (s.Path) { + itemHtml += 'Delete'; + } else { + itemHtml += 'Delete'; + } + + itemHtml += '' + (result.Format) + '
'; + + if (result.Comment) { + html += '' + (result.Comment) + '
'; + } + + html += '' + LibraryBrowser.getMiscInfoHtml(item) + '
'; - html += '' + (item.Overview || '') + '
'; - html += 'diff --git a/dashboard-ui/thirdparty/mediabrowser.apiclient.js b/dashboard-ui/thirdparty/mediabrowser.apiclient.js index d141c27573..08dfc82ef4 100644 --- a/dashboard-ui/thirdparty/mediabrowser.apiclient.js +++ b/dashboard-ui/thirdparty/mediabrowser.apiclient.js @@ -155,11 +155,14 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi }; webSocket.onopen = function () { + + console.log('web socket connection opened'); setTimeout(function () { self.sendWebSocketMessage("Identity", clientName + "|" + deviceId + "|" + applicationVersion + "|" + deviceName); $(self).trigger("websocketopen"); + }, 500); }; webSocket.onerror = function () {