diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index 9cdbd43e32..265585a235 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json +++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json @@ -14,12 +14,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.4.225", - "_release": "1.4.225", + "version": "1.4.226", + "_release": "1.4.226", "_resolution": { "type": "version", - "tag": "1.4.225", - "commit": "d3651f587ddad96e72c9b34ccf2d93cf7e2fafd3" + "tag": "1.4.226", + "commit": "0fcbd95af7b5bbb0e4000f48174961460d0f30f4" }, "_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_target": "^1.2.1", diff --git a/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js b/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js index 139a05c68a..103bd28b72 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js +++ b/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js @@ -6,6 +6,11 @@ define(['browser'], function (browser) { } function canPlayH265() { + + if (browser.tizen) { + return true; + } + return false; } @@ -193,8 +198,12 @@ define(['browser'], function (browser) { function getMaxBitrate() { + if (browser.edgeUwp) { + return 14000000; + } + // 10mbps - if (browser.xboxOne || browser.edgeUwp) { + if (browser.xboxOne) { return 10000000; } diff --git a/dashboard-ui/bower_components/emby-webcomponents/dialoghelper/dialoghelper.css b/dashboard-ui/bower_components/emby-webcomponents/dialoghelper/dialoghelper.css index fb34bbc28a..09320d8bbb 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/dialoghelper/dialoghelper.css +++ b/dashboard-ui/bower_components/emby-webcomponents/dialoghelper/dialoghelper.css @@ -85,5 +85,5 @@ } .dialogBackdropOpened { - opacity: .6; + opacity: .7; } diff --git a/dashboard-ui/bower_components/emby-webcomponents/guide/guide-settings.template.html b/dashboard-ui/bower_components/emby-webcomponents/guide/guide-settings.template.html index ff2242b66c..83528ad405 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/guide/guide-settings.template.html +++ b/dashboard-ui/bower_components/emby-webcomponents/guide/guide-settings.template.html @@ -7,12 +7,24 @@
-

${ShowIndicatorsFor}

-
+

${ShowIndicatorsFor}

+
+ + +
\ No newline at end of file diff --git a/dashboard-ui/bower_components/emby-webcomponents/guide/guide.css b/dashboard-ui/bower_components/emby-webcomponents/guide/guide.css index 37c15bf783..8f07978075 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/guide/guide.css +++ b/dashboard-ui/bower_components/emby-webcomponents/guide/guide.css @@ -50,7 +50,7 @@ margin-right: .5em; color: #fff; font-size: 82%; - padding: .25em; + padding: .2em .25em; display: inline-flex; align-items: center; justify-content: center; @@ -250,11 +250,7 @@ @media all and (min-width: 1600px) { .guideDateText { - display: flex; - } - - .guideDateTextDate { - margin-left: .25em; + font-size: 92%; } } @@ -377,9 +373,9 @@ .programIcon { margin-left: auto; margin-right: .5em; - height: 3.5vh; - width: 3.5vh; - font-size: 3.5vh; + height: auto; + width: auto; + font-size: 1.6em; color: #ddd; flex-shrink: 0; } diff --git a/dashboard-ui/bower_components/emby-webcomponents/guide/guide.js b/dashboard-ui/bower_components/emby-webcomponents/guide/guide.js index 7ada603153..8644737e09 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/guide/guide.js +++ b/dashboard-ui/bower_components/emby-webcomponents/guide/guide.js @@ -425,13 +425,13 @@ // Normally we'd want to just let responsive css handle this, // but since mobile browsers are often underpowered, // it can help performance to get them out of the markup - var showIndicators = true; + var allowIndicators = dom.getWindowSize().innerWidth >= 600; var options = { - showHdIcon: showIndicators, - showLiveIndicator: showIndicators, - showPremiereIndicator: showIndicators, - showNewIndicator: userSettings.get('guide-indicator-new') == 'true' + showHdIcon: allowIndicators && userSettings.get('guide-indicator-hd') == 'true', + showLiveIndicator: allowIndicators && userSettings.get('guide-indicator-live') == 'true', + showPremiereIndicator: allowIndicators && userSettings.get('guide-indicator-premiere') == 'true', + showNewIndicator: allowIndicators && userSettings.get('guide-indicator-new') == 'true' }; for (var i = 0, length = channels.length; i < length; i++) { diff --git a/dashboard-ui/bower_components/emby-webcomponents/itemidentifier/itemidentifier.template.html b/dashboard-ui/bower_components/emby-webcomponents/itemidentifier/itemidentifier.template.html index f58218bb56..fb05a50296 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/itemidentifier/itemidentifier.template.html +++ b/dashboard-ui/bower_components/emby-webcomponents/itemidentifier/itemidentifier.template.html @@ -22,7 +22,6 @@
@@ -45,7 +44,6 @@
diff --git a/dashboard-ui/bower_components/emby-webcomponents/metadataeditor/personeditor.template.html b/dashboard-ui/bower_components/emby-webcomponents/metadataeditor/personeditor.template.html index 1945767755..f1848f5e8c 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/metadataeditor/personeditor.template.html +++ b/dashboard-ui/bower_components/emby-webcomponents/metadataeditor/personeditor.template.html @@ -30,7 +30,6 @@
diff --git a/dashboard-ui/bower_components/emby-webcomponents/recordingcreator/recordingcreator.template.html b/dashboard-ui/bower_components/emby-webcomponents/recordingcreator/recordingcreator.template.html index 91350ffc98..3722304f05 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/recordingcreator/recordingcreator.template.html +++ b/dashboard-ui/bower_components/emby-webcomponents/recordingcreator/recordingcreator.template.html @@ -101,7 +101,6 @@

${MessageActiveSubscriptionRequiredSeriesRecordings}

diff --git a/dashboard-ui/bower_components/emby-webcomponents/recordingcreator/recordingeditor.template.html b/dashboard-ui/bower_components/emby-webcomponents/recordingcreator/recordingeditor.template.html index 4d0022e82f..bc2c052599 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/recordingcreator/recordingeditor.template.html +++ b/dashboard-ui/bower_components/emby-webcomponents/recordingcreator/recordingeditor.template.html @@ -34,7 +34,6 @@
diff --git a/dashboard-ui/bower_components/emby-webcomponents/strings/en-US.json b/dashboard-ui/bower_components/emby-webcomponents/strings/en-US.json index 79833b10e4..e90dde77c3 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/strings/en-US.json +++ b/dashboard-ui/bower_components/emby-webcomponents/strings/en-US.json @@ -278,5 +278,8 @@ "HeaderEditImages": "Edit Images", "Settings": "Settings", "ShowIndicatorsFor": "Show indicators for:", - "NewEpisodes": "New episodes" + "NewEpisodes": "New episodes", + "HDPrograms": "HD programs", + "LiveBroadcasts": "Live broadcasts", + "Premieres": "Premieres" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/emby-webcomponents/sync/sync.js b/dashboard-ui/bower_components/emby-webcomponents/sync/sync.js index 4fab2cb76c..2ddf9d779c 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/sync/sync.js +++ b/dashboard-ui/bower_components/emby-webcomponents/sync/sync.js @@ -409,7 +409,7 @@ html += '
'; html += '
'; - html += ''; + html += ''; html += '
'; html += ''; diff --git a/dashboard-ui/bower_components/iron-icon/.bower.json b/dashboard-ui/bower_components/iron-icon/.bower.json index 87e3dad5d3..f76855b27a 100644 --- a/dashboard-ui/bower_components/iron-icon/.bower.json +++ b/dashboard-ui/bower_components/iron-icon/.bower.json @@ -32,14 +32,14 @@ "web-component-tester": "^4.0.0", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, - "homepage": "https://github.com/polymerelements/iron-icon", + "homepage": "https://github.com/PolymerElements/iron-icon", "_release": "1.0.10", "_resolution": { "type": "version", "tag": "v1.0.10", "commit": "f4e146da4982ff96bb25db85290c09e8de4ec734" }, - "_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/bower_components/iron-meta/.bower.json b/dashboard-ui/bower_components/iron-meta/.bower.json index db341575ee..5e37c2a3e4 100644 --- a/dashboard-ui/bower_components/iron-meta/.bower.json +++ b/dashboard-ui/bower_components/iron-meta/.bower.json @@ -27,14 +27,14 @@ }, "main": "iron-meta.html", "ignore": [], - "homepage": "https://github.com/PolymerElements/iron-meta", + "homepage": "https://github.com/polymerelements/iron-meta", "_release": "1.1.2", "_resolution": { "type": "version", "tag": "v1.1.2", "commit": "bae96531b63ea6d4ce982f5592248aea849c0f5a" }, - "_source": "git://github.com/PolymerElements/iron-meta.git", + "_source": "git://github.com/polymerelements/iron-meta.git", "_target": "^1.0.0", - "_originalSource": "PolymerElements/iron-meta" + "_originalSource": "polymerelements/iron-meta" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/polymer/.bower.json b/dashboard-ui/bower_components/polymer/.bower.json index 25eb84c037..a96f0f050e 100644 --- a/dashboard-ui/bower_components/polymer/.bower.json +++ b/dashboard-ui/bower_components/polymer/.bower.json @@ -32,14 +32,14 @@ "iron-component-page": "polymerElements/iron-component-page#^1.1.6" }, "private": true, - "homepage": "https://github.com/polymer/polymer", + "homepage": "https://github.com/Polymer/polymer", "_release": "1.6.1", "_resolution": { "type": "version", "tag": "v1.6.1", "commit": "1f197d9d7874b1e5808b2a5c26f34446a7d912fc" }, - "_source": "git://github.com/polymer/polymer.git", + "_source": "git://github.com/Polymer/polymer.git", "_target": "^1.1.0", - "_originalSource": "polymer/polymer" + "_originalSource": "Polymer/polymer" } \ No newline at end of file diff --git a/dashboard-ui/components/directorybrowser/directorybrowser.css b/dashboard-ui/components/directorybrowser/directorybrowser.css index dffe03a704..7822a3bf94 100644 --- a/dashboard-ui/components/directorybrowser/directorybrowser.css +++ b/dashboard-ui/components/directorybrowser/directorybrowser.css @@ -13,11 +13,4 @@ padding: 1em; border-radius: 5px; margin-top: 2em; -} - -.directoryPicker paper-item { - min-height: 36px; - border-bottom: 1px solid #eee; - outline: none; - cursor: pointer; } \ No newline at end of file diff --git a/dashboard-ui/components/directorybrowser/directorybrowser.js b/dashboard-ui/components/directorybrowser/directorybrowser.js index 1eec1fe597..57296bc593 100644 --- a/dashboard-ui/components/directorybrowser/directorybrowser.js +++ b/dashboard-ui/components/directorybrowser/directorybrowser.js @@ -1,4 +1,4 @@ -define(['dialogHelper', 'jQuery', 'listViewStyle', 'emby-input', 'emby-button', 'paper-icon-button-light', 'css!./directorybrowser'], function (dialogHelper, $) { +define(['dialogHelper', 'jQuery', 'listViewStyle', 'emby-input', 'emby-button', 'paper-icon-button-light', 'css!./directorybrowser', 'formDialogStyle'], function (dialogHelper, $) { var systemInfo; function getSystemInfo() { @@ -107,6 +107,9 @@ var html = ''; + html += '
'; + html += '
'; + var instruction = options.instruction ? options.instruction + '

' : ''; html += '

'; @@ -133,7 +136,7 @@ html += '

'; - html += '
'; + html += ''; html += '
'; html += '
'; @@ -142,15 +145,18 @@ html += ''; html += '
'; - html += '
'; + html += '
'; - html += '
'; - html += ''; + html += '
'; + html += ''; html += '
'; html += ''; html += '
'; + html += '
'; + html += '
'; + return html; } @@ -227,30 +233,32 @@ var initialPath = responses[1]; var dlg = dialogHelper.createDialog({ - size: 'medium', - removeOnClose: true + size: 'medium-tall', + removeOnClose: true, + scrollY: false }); dlg.classList.add('ui-body-a'); dlg.classList.add('background-theme-a'); dlg.classList.add('directoryPicker'); + dlg.classList.add('formDialog'); var html = ''; - html += '

'; - html += ''; - html += '
' + (options.header || Globalize.translate('HeaderSelectPath')) + '
'; - html += '

'; - - html += '
'; - html += getEditorHtml(options, systemInfo); + html += '
'; + html += ''; + html += '
'; + html += options.header || Globalize.translate('HeaderSelectPath'); html += '
'; + html += '
'; + + html += getEditorHtml(options, systemInfo); + dlg.innerHTML = html; document.body.appendChild(dlg); - var editorContent = dlg.querySelector('.editorContent'); - initEditor(editorContent, options, fileOptions); + initEditor(dlg, options, fileOptions); // Has to be assigned a z-index after the call to .open() $(dlg).on('iron-overlay-opened', function () { @@ -267,9 +275,9 @@ currentDialog = dlg; - var txtCurrentPath = editorContent.querySelector('#txtDirectoryPickerPath'); + var txtCurrentPath = dlg.querySelector('#txtDirectoryPickerPath'); txtCurrentPath.value = initialPath; - refreshDirectoryBrowser(editorContent, txtCurrentPath.value); + refreshDirectoryBrowser(dlg, txtCurrentPath.value); }); }; diff --git a/dashboard-ui/components/medialibrarycreator/medialibrarycreator.js b/dashboard-ui/components/medialibrarycreator/medialibrarycreator.js index b81795dc4a..a6e15c6350 100644 --- a/dashboard-ui/components/medialibrarycreator/medialibrarycreator.js +++ b/dashboard-ui/components/medialibrarycreator/medialibrarycreator.js @@ -214,17 +214,19 @@ var template = this.response; var dlg = dialogHelper.createDialog({ - size: 'small', + size: 'medium', // In (at least) chrome this is causing the text field to not be editable modal: false, - removeOnClose: true + removeOnClose: true, + scrollY: false }); dlg.classList.add('ui-body-a'); dlg.classList.add('background-theme-a'); dlg.classList.add('dlg-librarycreator'); + dlg.classList.add('formDialog'); dlg.innerHTML = Globalize.translateDocument(template); document.body.appendChild(dlg); diff --git a/dashboard-ui/components/medialibrarycreator/medialibrarycreator.template.html b/dashboard-ui/components/medialibrarycreator/medialibrarycreator.template.html index dbb428ac47..6eb4e006e6 100644 --- a/dashboard-ui/components/medialibrarycreator/medialibrarycreator.template.html +++ b/dashboard-ui/components/medialibrarycreator/medialibrarycreator.template.html @@ -28,9 +28,9 @@

-
-
diff --git a/dashboard-ui/components/medialibraryeditor/medialibraryeditor.js b/dashboard-ui/components/medialibraryeditor/medialibraryeditor.js index 8ef2a3178b..c6afbe2b71 100644 --- a/dashboard-ui/components/medialibraryeditor/medialibraryeditor.js +++ b/dashboard-ui/components/medialibraryeditor/medialibraryeditor.js @@ -170,16 +170,18 @@ var template = this.response; var dlg = dialogHelper.createDialog({ - size: 'small', + size: 'medium', // In (at least) chrome this is causing the text field to not be editable modal: false, - removeOnClose: true + removeOnClose: true, + scrollY: false }); dlg.classList.add('dlg-libraryeditor'); dlg.classList.add('ui-body-a'); dlg.classList.add('background-theme-a'); + dlg.classList.add('formDialog'); dlg.innerHTML = Globalize.translateDocument(template); diff --git a/dashboard-ui/thirdparty/paper-button-style.css b/dashboard-ui/thirdparty/paper-button-style.css index c9cfe77e17..150b10f5d8 100644 --- a/dashboard-ui/thirdparty/paper-button-style.css +++ b/dashboard-ui/thirdparty/paper-button-style.css @@ -151,6 +151,11 @@ div.dialogHeader { color: #fff; } +.ui-body-a div.formDialogFooter { + background-color: #ddd; + color: inherit; +} + .ui-body-a .formDialogHeader a { color: #fff !important; text-transform: uppercase;