diff --git a/dashboard-ui/css/images/media/chapters.png b/dashboard-ui/css/images/media/queue.png similarity index 100% rename from dashboard-ui/css/images/media/chapters.png rename to dashboard-ui/css/images/media/queue.png diff --git a/dashboard-ui/itemdetails.html b/dashboard-ui/itemdetails.html index 00ef595ce4..4b8af6ea3d 100644 --- a/dashboard-ui/itemdetails.html +++ b/dashboard-ui/itemdetails.html @@ -66,9 +66,8 @@ diff --git a/dashboard-ui/playlist.html b/dashboard-ui/playlist.html index 7419ca5bee..ca01f0c71d 100644 --- a/dashboard-ui/playlist.html +++ b/dashboard-ui/playlist.html @@ -4,7 +4,7 @@ -
+

Playlist

diff --git a/dashboard-ui/scripts/Itemdetailpage.js b/dashboard-ui/scripts/Itemdetailpage.js index e194ce355a..dfc3b1879a 100644 --- a/dashboard-ui/scripts/Itemdetailpage.js +++ b/dashboard-ui/scripts/Itemdetailpage.js @@ -474,7 +474,8 @@ var userdata = currentItem.UserData || {}; - if (userdata.PlaybackPositionTicks) { + //always pop menu now so we can have a queue link + //if (userdata.PlaybackPositionTicks) { var pos = $('#playMenuAnchor', page).offset(); @@ -483,10 +484,10 @@ y: pos.top + 20 }); - } - else { - play(); - } + //} + //else { + // play(); + //} }); $('#btnPlay', page).on('click', function () { @@ -504,6 +505,12 @@ play(userdata.PlaybackPositionTicks); }); + $('#btnQueue', page).on('click', function () { + + $('#playMenu', page).popup("close"); + Playlist.add(currentItem); + }); + }).on('pageshow', "#itemDetailPage", function () { var page = this; diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index ae4aab5712..116a086e2e 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -1062,6 +1062,7 @@ $(function () { var footerHtml = '