adjust live tv stream selection

This commit is contained in:
Luke Pulverenti 2015-05-15 22:36:47 -04:00
parent a3b2f32a2a
commit 1f0760df09
3 changed files with 11 additions and 9 deletions

View File

@ -48,7 +48,7 @@
}
.largeCardMargin .cardBox {
margin: 10px;
margin: 8px;
}
/*@media all and (max-width: 600px) {

View File

@ -342,7 +342,7 @@
var chapters = item.Chapters || [];
if (!chapters.length || AppInfo.hasLowImageBandwidth) {
if (!chapters.length || !AppInfo.enableDetailPageChapters) {
$('#scenesCollapsible', page).hide();
} else {
$('#scenesCollapsible', page).show();

View File

@ -1375,7 +1375,7 @@ var Dashboard = {
// The native app can handle a little bit more than safari
if (Dashboard.isRunningInCordova()) {
quality -= 20;
quality -= 15;
if (isBackdrop) {
quality -= 20;
@ -1502,23 +1502,27 @@ var AppInfo = {};
var isCordova = Dashboard.isRunningInCordova();
AppInfo.enableDetailPageChapters = true;
AppInfo.enableDetailsMenuImages = true;
AppInfo.enableHeaderImages = true;
if ($.browser.safari) {
if ($.browser.mobile) {
AppInfo.hasLowImageBandwidth = true;
AppInfo.enableDetailsMenuImages = false;
AppInfo.forcedImageFormat = 'jpg';
}
if (isCordova) {
AppInfo.enableBottomTabs = true;
AppInfo.enableDetailsMenuImages = true;
} else {
AppInfo.enableDetailPageChapters = false;
AppInfo.enableDetailsMenuImages = false;
AppInfo.enableHeaderImages = false;
}
}
else {
AppInfo.enableDetailsMenuImages = true;
if (!$.browser.tv) {
AppInfo.enableHeadRoom = true;
}
@ -1541,9 +1545,7 @@ var AppInfo = {};
AppInfo.enableFooterNotifications = true;
}
//AppInfo.enableUserImage = !AppInfo.hasLowImageBandwidth || !isCordova;
AppInfo.enableUserImage = true;
AppInfo.enableHeaderImages = !AppInfo.hasLowImageBandwidth || !isCordova;
}
function initializeApiClient(apiClient) {