added more remote control commands

This commit is contained in:
Luke Pulverenti 2014-03-31 17:04:22 -04:00
parent 371dd1454a
commit 432c8c49ce
20 changed files with 129 additions and 117 deletions

View file

@ -51,27 +51,21 @@
if (result.Items.length) {
$('#resumableSection', page).show();
$('.noNextUpItems', page).hide();
} else {
$('#resumableSection', page).hide();
$('.noNextUpItems', page).show();
}
if (result.Items.length) {
$('#nextUpItems', page).html(LibraryBrowser.getPosterViewHtml({
items: result.Items,
useAverageAspectRatio: true,
shape: "backdrop",
showTitle: true,
showParentTitle: true,
overlayText: true
$('#nextUpItems', page).html(LibraryBrowser.getPosterViewHtml({
items: result.Items,
useAverageAspectRatio: true,
shape: "backdrop",
showTitle: true,
showParentTitle: true,
overlayText: true
})).createPosterItemMenus();
} else {
$('#nextUpItems', page).html('<br/><p>None found. Start watching your shows!</p>');
}
})).createPosterItemMenus();
});
}