mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
adjust live tv stream selection
This commit is contained in:
parent
a3b2f32a2a
commit
1f0760df09
3 changed files with 11 additions and 9 deletions
|
@ -48,7 +48,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.largeCardMargin .cardBox {
|
.largeCardMargin .cardBox {
|
||||||
margin: 10px;
|
margin: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*@media all and (max-width: 600px) {
|
/*@media all and (max-width: 600px) {
|
||||||
|
|
|
@ -342,7 +342,7 @@
|
||||||
|
|
||||||
var chapters = item.Chapters || [];
|
var chapters = item.Chapters || [];
|
||||||
|
|
||||||
if (!chapters.length || AppInfo.hasLowImageBandwidth) {
|
if (!chapters.length || !AppInfo.enableDetailPageChapters) {
|
||||||
$('#scenesCollapsible', page).hide();
|
$('#scenesCollapsible', page).hide();
|
||||||
} else {
|
} else {
|
||||||
$('#scenesCollapsible', page).show();
|
$('#scenesCollapsible', page).show();
|
||||||
|
|
|
@ -1375,7 +1375,7 @@ var Dashboard = {
|
||||||
// The native app can handle a little bit more than safari
|
// The native app can handle a little bit more than safari
|
||||||
if (Dashboard.isRunningInCordova()) {
|
if (Dashboard.isRunningInCordova()) {
|
||||||
|
|
||||||
quality -= 20;
|
quality -= 15;
|
||||||
|
|
||||||
if (isBackdrop) {
|
if (isBackdrop) {
|
||||||
quality -= 20;
|
quality -= 20;
|
||||||
|
@ -1502,23 +1502,27 @@ var AppInfo = {};
|
||||||
|
|
||||||
var isCordova = Dashboard.isRunningInCordova();
|
var isCordova = Dashboard.isRunningInCordova();
|
||||||
|
|
||||||
|
AppInfo.enableDetailPageChapters = true;
|
||||||
|
AppInfo.enableDetailsMenuImages = true;
|
||||||
|
AppInfo.enableHeaderImages = true;
|
||||||
|
|
||||||
if ($.browser.safari) {
|
if ($.browser.safari) {
|
||||||
|
|
||||||
if ($.browser.mobile) {
|
if ($.browser.mobile) {
|
||||||
AppInfo.hasLowImageBandwidth = true;
|
AppInfo.hasLowImageBandwidth = true;
|
||||||
AppInfo.enableDetailsMenuImages = false;
|
|
||||||
AppInfo.forcedImageFormat = 'jpg';
|
AppInfo.forcedImageFormat = 'jpg';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isCordova) {
|
if (isCordova) {
|
||||||
AppInfo.enableBottomTabs = true;
|
AppInfo.enableBottomTabs = true;
|
||||||
AppInfo.enableDetailsMenuImages = true;
|
} else {
|
||||||
|
AppInfo.enableDetailPageChapters = false;
|
||||||
|
AppInfo.enableDetailsMenuImages = false;
|
||||||
|
AppInfo.enableHeaderImages = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
AppInfo.enableDetailsMenuImages = true;
|
|
||||||
|
|
||||||
if (!$.browser.tv) {
|
if (!$.browser.tv) {
|
||||||
AppInfo.enableHeadRoom = true;
|
AppInfo.enableHeadRoom = true;
|
||||||
}
|
}
|
||||||
|
@ -1541,9 +1545,7 @@ var AppInfo = {};
|
||||||
AppInfo.enableFooterNotifications = true;
|
AppInfo.enableFooterNotifications = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//AppInfo.enableUserImage = !AppInfo.hasLowImageBandwidth || !isCordova;
|
|
||||||
AppInfo.enableUserImage = true;
|
AppInfo.enableUserImage = true;
|
||||||
AppInfo.enableHeaderImages = !AppInfo.hasLowImageBandwidth || !isCordova;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function initializeApiClient(apiClient) {
|
function initializeApiClient(apiClient) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue