hide queue button if nothing playing, poster links to item details
This commit is contained in:
@@ -38,7 +38,10 @@
|
||||
if (MediaPlayer.canPlay(item)) {
|
||||
$('#btnPlayMenu', page).show();
|
||||
$('#playButtonShadow', page).show();
|
||||
$('#btnQueueMenu', page).show();
|
||||
if (MediaPlayer.isPlaying())
|
||||
$('#btnQueueMenu', page).show();
|
||||
else
|
||||
$('#btnQueueMenu', page).hide();
|
||||
} else {
|
||||
$('#btnPlayMenu', page).hide();
|
||||
$('#playButtonShadow', page).hide();
|
||||
|
||||
@@ -307,7 +307,7 @@
|
||||
seriesName = item.SeriesName || item.Album || item.ProductionYear;
|
||||
}
|
||||
|
||||
html += "<div><img class='nowPlayingBarImage ' alt='' title='' src='" + url + "' style='height:36px;display:inline-block;' /></div>";
|
||||
html += "<div><a href='itemdetails.html?id="+item.Id+"'><img class='nowPlayingBarImage ' alt='' title='' src='" + url + "' style='height:36px;display:inline-block;' /></a></div>";
|
||||
if (item.Type == "Movie")
|
||||
html += '<div>' + name + '<br/>' + seriesName + '</div>';
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user