add guide optimizations

This commit is contained in:
Luke Pulverenti 2016-08-17 15:28:43 -04:00
parent 7e060883f6
commit e51031cad8
6 changed files with 35 additions and 30 deletions

View file

@ -148,6 +148,8 @@
channelQuery.Limit = channelLimit;
channelQuery.AddCurrentProgram = false;
channelQuery.EnableUserData = false;
channelQuery.EnableImageTypes = "Primary";
channelsPromise = channelsPromise || apiClient.getLiveTvChannels(channelQuery);
@ -169,9 +171,10 @@
return c.Id;
}).join(','),
ImageTypeLimit: 1,
EnableImageTypes: "Primary,Backdrop",
EnableImageTypes: layoutManager.tv ? "Primary,Backdrop" : "Primary",
SortBy: "StartDate",
EnableTotalRecordCount: false
EnableTotalRecordCount: false,
EnableUserData: false
}).then(function (programsResult) {