diff --git a/dashboard-ui/components/medialibrarycreator/medialibrarycreator.js b/dashboard-ui/components/medialibrarycreator/medialibrarycreator.js index 7614d08019..d3af649c50 100644 --- a/dashboard-ui/components/medialibrarycreator/medialibrarycreator.js +++ b/dashboard-ui/components/medialibrarycreator/medialibrarycreator.js @@ -31,7 +31,7 @@ }).fail(function () { - Dashboard.showError(Globalize.translate('DefaultErrorMessage')); + Dashboard.showError(Globalize.translate('ErrorAddingMediaPathToVirtualFolder')); }); return false; diff --git a/dashboard-ui/components/medialibraryeditor/medialibraryeditor.js b/dashboard-ui/components/medialibraryeditor/medialibraryeditor.js index 0e163e0d03..184e0b3e9b 100644 --- a/dashboard-ui/components/medialibraryeditor/medialibraryeditor.js +++ b/dashboard-ui/components/medialibraryeditor/medialibraryeditor.js @@ -17,7 +17,7 @@ }).fail(function () { - Dashboard.showError(Globalize.translate('DefaultErrorMessage')); + Dashboard.showError(Globalize.translate('ErrorAddingMediaPathToVirtualFolder')); }); } diff --git a/dashboard-ui/css/card.css b/dashboard-ui/css/card.css index 237ceecccb..513fc2c09b 100644 --- a/dashboard-ui/css/card.css +++ b/dashboard-ui/css/card.css @@ -201,7 +201,7 @@ } .cardContent .cardFooter:not(.fullCardFooter) { - background: rgba(0, 0, 0, .5) !important; + background: rgba(0, 0, 0, .6) !important; } .lightCardFooter { diff --git a/dashboard-ui/scripts/htmlmediarenderer.js b/dashboard-ui/scripts/htmlmediarenderer.js index cc8b2b2c84..c3b342776d 100644 --- a/dashboard-ui/scripts/htmlmediarenderer.js +++ b/dashboard-ui/scripts/htmlmediarenderer.js @@ -301,7 +301,14 @@ if (isViblastStarted) { _currentTime = mediaElement.currentTime; - viblast('#' + mediaElement.id).stop(); + // Sometimes this fails + try { + viblast('#' + mediaElement.id).stop(); + } + catch (err) { + Logger.log(err); + } + isViblastStarted = false; } } diff --git a/dashboard-ui/scripts/useredit.js b/dashboard-ui/scripts/useredit.js index 4e4cac7cac..8d846822bb 100644 --- a/dashboard-ui/scripts/useredit.js +++ b/dashboard-ui/scripts/useredit.js @@ -77,6 +77,13 @@ callback: actionCallback + }); + }).fail(function () { + + Dashboard.alert({ + + message: Globalize.translate('ErrorRemovingEmbyConnectAccount') + }); }); @@ -102,6 +109,13 @@ callback: actionCallback + }).fail(function () { + + Dashboard.alert({ + + message: Globalize.translate('ErrorAddingEmbyConnectAccount') + + }); }); }); } else { diff --git a/dashboard-ui/scripts/wizarduserpage.js b/dashboard-ui/scripts/wizarduserpage.js index c55d817760..326139f529 100644 --- a/dashboard-ui/scripts/wizarduserpage.js +++ b/dashboard-ui/scripts/wizarduserpage.js @@ -45,7 +45,16 @@ url: apiClient.getUrl('Startup/User'), dataType: 'json' - }).done(onUpdateUserComplete); + }).done(onUpdateUserComplete).fail(function () { + + var msgKey = form.querySelector('#txtConnectUserName').value ? 'ErrorAddingEmbyConnectAccount' : 'DefaultErrorMessage'; + + Dashboard.alert({ + + message: Globalize.translate(msgKey) + + }); + }); } function onSubmit() { diff --git a/dashboard-ui/strings/javascript/javascript.json b/dashboard-ui/strings/javascript/javascript.json index 50b0485142..6340be86c5 100644 --- a/dashboard-ui/strings/javascript/javascript.json +++ b/dashboard-ui/strings/javascript/javascript.json @@ -922,5 +922,8 @@ "HeaderTryMicrosoftEdge": "Try Microsoft Edge", "MessageTryMicrosoftEdge": "For a better experience on Windows 10, try the new Microsoft Edge Browser.", "ErrorAddingListingsToSchedulesDirect": "There was an error adding the lineup to your Schedules Direct account. Schedules Direct only allows a limited number of lineups per account. You may need to log into the Schedules Direct website and remove others listings from your account before proceeeding.", - "PleaseAddAtLeastOneFolder": "Please add at least one folder to this library by clicking the Add button." + "PleaseAddAtLeastOneFolder": "Please add at least one folder to this library by clicking the Add button.", + "ErrorAddingMediaPathToVirtualFolder": "There was an error adding the media path. Please ensure the path is valid and the Emby Server process has access to that location.", + "ErrorRemovingEmbyConnectAccount": "There was an error removing the Emby Connect account. Please ensure you have an active internet connection and try again.", + "ErrorAddingEmbyConnectAccount": "There was an error adding the Emby Connect account. Please ensure the Emby account has been activated by following the instructions in the email sent after creating the account. If this email was not received please send an email to apps@emby.media from the email address used with the Emby account." } diff --git a/dashboard-ui/themes/halloween/theme.js b/dashboard-ui/themes/halloween/theme.js index 61d56cc446..c0ba3c351d 100644 --- a/dashboard-ui/themes/halloween/theme.js +++ b/dashboard-ui/themes/halloween/theme.js @@ -4,8 +4,8 @@ var iconCreated; var destroyed; var currentSound; - var cancelKey = 'cancelHalloween'; - var cancelValue = '5'; + var cancelKey = 'cancelHalloween2015'; + var cancelValue = '6'; function onPageShow() { var page = this;