diff --git a/dashboard-ui/myprofile.html b/dashboard-ui/myprofile.html
index f37553f088..359636c6de 100644
--- a/dashboard-ui/myprofile.html
+++ b/dashboard-ui/myprofile.html
@@ -6,7 +6,6 @@
-
diff --git a/dashboard-ui/scripts/itemdetailpage.js b/dashboard-ui/scripts/itemdetailpage.js
index b0bdde4688..8590f0a9dc 100644
--- a/dashboard-ui/scripts/itemdetailpage.js
+++ b/dashboard-ui/scripts/itemdetailpage.js
@@ -2,22 +2,6 @@
var currentItem;
- function getExternalPlayUrl(item) {
-
- var providerIds = item.ProviderIds || {};
- if (item.GameSystem == "Nintendo" && item.MediaType == "Game" && providerIds.NesBox && providerIds.NesBoxRom) {
-
- return "http://nesbox.com/game/" + providerIds.NesBox + '/rom/' + providerIds.NesBoxRom;
- }
-
- if (item.GameSystem == "Super Nintendo" && item.MediaType == "Game" && providerIds.NesBox && providerIds.NesBoxRom) {
-
- return "http://snesbox.com/game/" + providerIds.NesBox + '/rom/' + providerIds.NesBoxRom;
- }
-
- return null;
- }
-
function reload(page) {
var id = getParameterByName('id');
@@ -49,20 +33,11 @@
renderDetails(page, item, context);
LibraryBrowser.renderDetailPageBackdrop(page, item);
- var externalPlayUrl = getExternalPlayUrl(item);
- $('.btnPlayExternal', page).attr('href', externalPlayUrl || '#');
-
- if (externalPlayUrl) {
- $('.btnPlayExternal', page).removeClass('hide');
- $('.btnPlay', page).addClass('hide');
- }
- else if (MediaController.canPlay(item)) {
+ if (MediaController.canPlay(item)) {
$('.btnPlay', page).removeClass('hide');
- $('.btnPlayExternal', page).addClass('hide');
}
else {
$('.btnPlay', page).addClass('hide');
- $('.btnPlayExternal', page).addClass('hide');
}
if (item.LocalTrailerCount && item.PlayAccess == 'Full') {
@@ -1624,11 +1599,6 @@
playTrailer(page);
});
- $('.btnPlayExternal', page).on('click', function () {
-
- ApiClient.markPlayed(Dashboard.getCurrentUserId(), currentItem.Id, new Date());
- });
-
$('.btnSplitVersions', page).on('click', function () {
splitVersions(page);
diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js
index 9044f2c7ca..85d22504a3 100644
--- a/dashboard-ui/scripts/librarybrowser.js
+++ b/dashboard-ui/scripts/librarybrowser.js
@@ -854,7 +854,7 @@
if (item.UserData.UnplayedItemCount) {
//html += '
' + item.UserData.UnplayedItemCount + '';
} else if (item.UserData.Played && item.Type != 'TvChannel') {
- html += '
';
+ html += '
';
}
}
html += '';
@@ -1520,7 +1520,7 @@
html += '
' + mediaSourceCount + '
';
}
if (item.IsUnidentified) {
- html += '
';
+ html += '
';
}
var progressHtml = options.showProgress === false || item.IsFolder ? '' : LibraryBrowser.getItemProgressBarHtml((item.Type == 'Recording' ? item : item.UserData));
@@ -1863,12 +1863,12 @@
if (item.Type == "Series" || item.Type == "Season" || item.Type == "BoxSet" || item.MediaType == "Video" || item.MediaType == "Game" || item.MediaType == "Book") {
if (item.UserData.UnplayedItemCount) {
- return '
' + item.UserData.UnplayedItemCount + '
';
+ return '
' + item.UserData.UnplayedItemCount + '
';
}
if (item.Type != 'TvChannel') {
if (item.UserData.PlayedPercentage && item.UserData.PlayedPercentage >= 100 || (item.UserData && item.UserData.Played)) {
- return '
';
+ return '
';
}
}
}
@@ -1879,7 +1879,7 @@
getGroupCountIndicator: function (item) {
if (item.ChildCount) {
- return '
' + item.ChildCount + '
';
+ return '
' + item.ChildCount + '
';
}
return '';
diff --git a/dashboard-ui/scripts/librarylist.js b/dashboard-ui/scripts/librarylist.js
index b56de40193..3d2a6898fa 100644
--- a/dashboard-ui/scripts/librarylist.js
+++ b/dashboard-ui/scripts/librarylist.js
@@ -706,37 +706,16 @@
if (MediaController.canPlay(item)) {
if (item.MediaType == 'Video' && !item.IsFolder && item.UserData && item.UserData.PlaybackPositionTicks) {
- contentHtml += '';
+ contentHtml += '
' + Globalize.translate('ButtonResume') + '';
}
- contentHtml += '';
-
+ contentHtml += '
' + Globalize.translate('ButtonPlay') + '';
}
- contentHtml += '';
+ contentHtml += '
' + Globalize.translate('ButtonOpen') + '';
if (SyncManager.isAvailable(item, user)) {
- contentHtml += '';
+ contentHtml += '
' + Globalize.translate('ButtonSync') + '';
}
contentHtml += '
';
@@ -1125,11 +1104,6 @@
return false;
}
- function resetImages(page) {
-
- $('cardImage', page).remove();
- }
-
$(document).on('pageinitdepends', ".libraryPage", function () {
var page = this;
@@ -1182,11 +1156,6 @@
hideSelections(page);
$('.viewTabButton:first', page).trigger('click');
-
- }).on('pagebeforehide', ".libraryPage", function () {
-
- var page = this;
- resetImages(page);
});
function renderUserDataChanges(card, userData) {
@@ -1197,7 +1166,7 @@
$('
').insertAfter($('.cardOverlayTarget', card));
}
- $('.playedIndicator', card).html('
');
+ $('.playedIndicator', card).html('
');
$('.cardProgress', card).remove();
}
else if (userData.UnplayedItemCount) {
diff --git a/dashboard-ui/scripts/librarymenu.js b/dashboard-ui/scripts/librarymenu.js
index 045f5b2a88..8b7056eb0d 100644
--- a/dashboard-ui/scripts/librarymenu.js
+++ b/dashboard-ui/scripts/librarymenu.js
@@ -737,10 +737,10 @@
$('.headerBackButton').visible(canGoBack);
- jPage.off('swipeleft', onPageSwipeLeft);
+ jPage.off('swiperight', onPageSwipeLeft);
if (canGoBack) {
- jPage.on('swipeleft', onPageSwipeLeft);
+ jPage.on('swiperight', onPageSwipeLeft);
}
}
diff --git a/dashboard-ui/scripts/pluginspage.js b/dashboard-ui/scripts/pluginspage.js
index 2e5c637774..71b4ca60d5 100644
--- a/dashboard-ui/scripts/pluginspage.js
+++ b/dashboard-ui/scripts/pluginspage.js
@@ -84,8 +84,10 @@
html += '