display programs on channel page

This commit is contained in:
Luke Pulverenti 2013-11-25 15:39:23 -05:00
parent a94cd703d0
commit 599320043f
6 changed files with 106 additions and 5 deletions

View file

@ -131,9 +131,9 @@
function loadLiveTvChannels(service, openItems, callback) {
ApiClient.getLiveTvChannels({ ServiceName: service }).done(function (services) {
ApiClient.getLiveTvChannels({ ServiceName: service }).done(function (result) {
var nodes = services.map(function (i) {
var nodes = result.Items.map(function (i) {
var state = openItems.indexOf(i.Id) == -1 ? 'closed' : 'open';