mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
adjust live tv stream selection
This commit is contained in:
parent
a3b2f32a2a
commit
1f0760df09
@ -48,7 +48,7 @@
|
||||
}
|
||||
|
||||
.largeCardMargin .cardBox {
|
||||
margin: 10px;
|
||||
margin: 8px;
|
||||
}
|
||||
|
||||
/*@media all and (max-width: 600px) {
|
||||
|
@ -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();
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user