diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index 3dd26b7f76..29a393a52a 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json +++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json @@ -15,12 +15,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.4.56", - "_release": "1.4.56", + "version": "1.4.57", + "_release": "1.4.57", "_resolution": { "type": "version", - "tag": "1.4.56", - "commit": "2e223ca2b059e6af4bbf718d3bce601c714d608e" + "tag": "1.4.57", + "commit": "c0eea0e334d3c59e78193619463cc79913d62ffe" }, "_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_target": "^1.2.0", diff --git a/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js b/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js index 4d564b3666..9b4290f33e 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js +++ b/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js @@ -49,7 +49,19 @@ define(['browser'], function (browser) { var typeString; - if (format == 'opus') { + if (format == 'flac') { + if (browser.tizen) { + return true; + } + } + + else if (format == 'wma') { + if (browser.tizen) { + return true; + } + } + + else if (format == 'opus') { typeString = 'audio/ogg; codecs="opus"'; if (document.createElement('audio').canPlayType(typeString).replace(/no/, '')) { @@ -258,7 +270,7 @@ define(['browser'], function (browser) { profile.DirectPlayProfiles.push(i); }); - ['opus', 'mp3', 'aac', 'flac', 'webma'].filter(canPlayAudioFormat).forEach(function (audioFormat) { + ['opus', 'mp3', 'aac', 'flac', 'webma', 'wma'].filter(canPlayAudioFormat).forEach(function (audioFormat) { profile.DirectPlayProfiles.push({ Container: audioFormat == 'webma' ? 'webma,webm' : audioFormat, diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-button/emby-button.js b/dashboard-ui/bower_components/emby-webcomponents/emby-button/emby-button.js index 4d19858034..553e07bca7 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/emby-button/emby-button.js +++ b/dashboard-ui/bower_components/emby-webcomponents/emby-button/emby-button.js @@ -45,6 +45,14 @@ } } + function enableAnimation() { + if (browser.tv) { + // too slow + return false; + } + return true; + } + EmbyButtonPrototype.attachedCallback = function () { if (this.getAttribute('data-embybutton') == 'true') { @@ -57,12 +65,14 @@ this.classList.add('noflex'); } - this.addEventListener('keydown', onKeyDown); - if (browser.safari) { - this.addEventListener('click', animateButton); - } else { - this.addEventListener('mousedown', onMouseDown); - //this.addEventListener('touchstart', animateButton); + if (enableAnimation()) { + this.addEventListener('keydown', onKeyDown); + if (browser.safari) { + this.addEventListener('click', animateButton); + } else { + this.addEventListener('mousedown', onMouseDown); + //this.addEventListener('touchstart', animateButton); + } } }; diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-button/paper-icon-button-light.js b/dashboard-ui/bower_components/emby-webcomponents/emby-button/paper-icon-button-light.js index 3a9f18929d..19a0ad4f08 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/emby-button/paper-icon-button-light.js +++ b/dashboard-ui/bower_components/emby-webcomponents/emby-button/paper-icon-button-light.js @@ -1,7 +1,15 @@ -define(['css!./emby-button', 'registerElement'], function () { +define(['browser', 'css!./emby-button', 'registerElement'], function (browser) { var EmbyButtonPrototype = Object.create(HTMLButtonElement.prototype); + function enableAnimation() { + if (browser.tv) { + // too slow + return false; + } + return true; + } + function animateButtonInternal(e, btn) { var div = document.createElement('div'); @@ -46,8 +54,10 @@ this.setAttribute('data-embybutton', 'true'); - this.addEventListener('keydown', onKeyDown); - this.addEventListener('click', animateButton); + if (enableAnimation()) { + this.addEventListener('keydown', onKeyDown); + this.addEventListener('click', animateButton); + } }; document.registerElement('paper-icon-button-light', { diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-select/emby-select.js b/dashboard-ui/bower_components/emby-webcomponents/emby-select/emby-select.js index 88348b86cc..307dcb4635 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/emby-select/emby-select.js +++ b/dashboard-ui/bower_components/emby-webcomponents/emby-select/emby-select.js @@ -8,6 +8,11 @@ return false; } + // Doesn't seem to work at all + if (browser.tizen) { + return false; + } + // Take advantage of the native input methods if (browser.tv) { return true; @@ -120,13 +125,15 @@ inputId++; } - this.removeEventListener('mousedown', onMouseDown); - this.removeEventListener('keydown', onKeyDown); this.removeEventListener('focus', onFocus); this.removeEventListener('blur', onBlur); + this.removeEventListener('mousedown', onMouseDown); + this.removeEventListener('keydown', onKeyDown); + this.addEventListener('mousedown', onMouseDown); this.addEventListener('keydown', onKeyDown); + this.addEventListener('focus', onFocus); this.addEventListener('blur', onBlur); }; diff --git a/dashboard-ui/bower_components/emby-webcomponents/fonts/material-icons/2fcrYFNaTjcS6g4U3t-Y5ZjZjT5FdEJ140U2DJYC3mY.woff2 b/dashboard-ui/bower_components/emby-webcomponents/fonts/material-icons/2fcrYFNaTjcS6g4U3t-Y5ZjZjT5FdEJ140U2DJYC3mY.woff2 index 50583b977b..e7cbf7ac64 100644 Binary files a/dashboard-ui/bower_components/emby-webcomponents/fonts/material-icons/2fcrYFNaTjcS6g4U3t-Y5ZjZjT5FdEJ140U2DJYC3mY.woff2 and b/dashboard-ui/bower_components/emby-webcomponents/fonts/material-icons/2fcrYFNaTjcS6g4U3t-Y5ZjZjT5FdEJ140U2DJYC3mY.woff2 differ diff --git a/dashboard-ui/bower_components/emby-webcomponents/fonts/material-icons/2fcrYFNaTjcS6g4U3t-Y5ewrjPiaoEww8AihgqWRJAo.woff b/dashboard-ui/bower_components/emby-webcomponents/fonts/material-icons/2fcrYFNaTjcS6g4U3t-Y5ewrjPiaoEww8AihgqWRJAo.woff index 5c0f68b338..0d59b5c94b 100644 Binary files a/dashboard-ui/bower_components/emby-webcomponents/fonts/material-icons/2fcrYFNaTjcS6g4U3t-Y5ewrjPiaoEww8AihgqWRJAo.woff and b/dashboard-ui/bower_components/emby-webcomponents/fonts/material-icons/2fcrYFNaTjcS6g4U3t-Y5ewrjPiaoEww8AihgqWRJAo.woff differ