diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css
index 89023c72e3..837d56f91b 100644
--- a/dashboard-ui/css/librarybrowser.css
+++ b/dashboard-ui/css/librarybrowser.css
@@ -407,8 +407,8 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
.lnkSibling {
- position: fixed;
- top: 105px;
+ position: absolute;
+ top: 15px;
text-decoration: none;
font-weight: normal !important;
display: none;
@@ -1484,6 +1484,8 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
.tapHoldMenu li a, .playFlyout li a {
font-size: 14px;
+ font-weight: 500 !important;
+ color: #000 !important;
}
.userProfileSettingsForm {
diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js
index 311dfef828..3249f19ba3 100644
--- a/dashboard-ui/scripts/librarybrowser.js
+++ b/dashboard-ui/scripts/librarybrowser.js
@@ -255,33 +255,32 @@
var html = '
';
- html += '
';
- html += '- ' + Globalize.translate('HeaderMenu') + '
';
+ html += '';
@@ -380,35 +379,34 @@
var html = '';
- html += '
';
- html += '- ' + Globalize.translate('HeaderMenu') + '
';
+ html += '';
@@ -812,27 +810,12 @@
textlines.push(displayName);
var verticalTextLines = 2;
- var enableSubLinks = !$.browser.mobile;
- ;
if (item.Type == 'Audio') {
textlines.push(item.ArtistItems.map(function (a) {
- if (enableSubLinks) {
- return '' + a.Name + '';
- } else {
- return a.Name;
- }
+ return a.Name;
}).join(', ') || ' ');
-
- if (item.Album && item.AlbumId && !options.smallIcon) {
- verticalTextLines++;
- if (enableSubLinks) {
- textlines.push('' + item.Album + '');
- } else {
- textlines.push(item.Album);
- }
- }
}
if (item.Type == 'Game') {
@@ -920,6 +903,14 @@
atts.push('data-detailsmenu="true"');
}
+ if (item.AlbumId) {
+ atts.push('data-albumid="' + item.AlbumId + '"');
+ }
+
+ if (item.ArtistItems && item.ArtistItems.length) {
+ atts.push('data-artistid="' + item.ArtistItems[0].Id + '"');
+ }
+
var html = atts.join(' ');
if (html) {
diff --git a/dashboard-ui/scripts/librarylist.js b/dashboard-ui/scripts/librarylist.js
index 854743c6b5..50cf34a230 100644
--- a/dashboard-ui/scripts/librarylist.js
+++ b/dashboard-ui/scripts/librarylist.js
@@ -376,81 +376,91 @@
var locationType = card.getAttribute('data-locationtype');
var index = card.getAttribute('data-index');
+ var albumid = card.getAttribute('data-albumid');
+ var artistid = card.getAttribute('data-artistid');
+
$(card).addClass('hasContextMenu');
Dashboard.getCurrentUser().done(function (user) {
var html = '