Merge pull request #3449 from dmitrylyzo/tv-nextupoverlay
Unhide some options on TVs
This commit is contained in:
commit
9b1bec47b2
4 changed files with 4 additions and 20 deletions
|
@ -100,16 +100,6 @@ import template from './displaySettings.template.html';
|
||||||
context.querySelector('.fldDateTimeLocale').classList.add('hide');
|
context.querySelector('.fldDateTimeLocale').classList.add('hide');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!browser.tizen && !browser.web0s) {
|
|
||||||
context.querySelector('.fldBackdrops').classList.remove('hide');
|
|
||||||
context.querySelector('.fldThemeSong').classList.remove('hide');
|
|
||||||
context.querySelector('.fldThemeVideo').classList.remove('hide');
|
|
||||||
} else {
|
|
||||||
context.querySelector('.fldBackdrops').classList.add('hide');
|
|
||||||
context.querySelector('.fldThemeSong').classList.add('hide');
|
|
||||||
context.querySelector('.fldThemeVideo').classList.add('hide');
|
|
||||||
}
|
|
||||||
|
|
||||||
fillThemes(context.querySelector('#selectTheme'), userSettings.theme());
|
fillThemes(context.querySelector('#selectTheme'), userSettings.theme());
|
||||||
fillThemes(context.querySelector('#selectDashboardTheme'), userSettings.dashboardTheme());
|
fillThemes(context.querySelector('#selectDashboardTheme'), userSettings.dashboardTheme());
|
||||||
|
|
||||||
|
|
|
@ -231,7 +231,7 @@
|
||||||
<div class="fieldDescription checkboxFieldDescription">${EnableDetailsBannerHelp}</div>
|
<div class="fieldDescription checkboxFieldDescription">${EnableDetailsBannerHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="checkboxContainer checkboxContainer-withDescription fldBackdrops hide">
|
<div class="checkboxContainer checkboxContainer-withDescription fldBackdrops">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" is="emby-checkbox" id="chkBackdrops" />
|
<input type="checkbox" is="emby-checkbox" id="chkBackdrops" />
|
||||||
<span>${Backdrops}</span>
|
<span>${Backdrops}</span>
|
||||||
|
@ -239,7 +239,7 @@
|
||||||
<div class="fieldDescription checkboxFieldDescription">${EnableBackdropsHelp}</div>
|
<div class="fieldDescription checkboxFieldDescription">${EnableBackdropsHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="checkboxContainer checkboxContainer-withDescription fldThemeSong hide">
|
<div class="checkboxContainer checkboxContainer-withDescription fldThemeSong">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" is="emby-checkbox" id="chkThemeSong" />
|
<input type="checkbox" is="emby-checkbox" id="chkThemeSong" />
|
||||||
<span>${ThemeSongs}</span>
|
<span>${ThemeSongs}</span>
|
||||||
|
@ -247,7 +247,7 @@
|
||||||
<div class="fieldDescription checkboxFieldDescription">${EnableThemeSongsHelp}</div>
|
<div class="fieldDescription checkboxFieldDescription">${EnableThemeSongsHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="checkboxContainer checkboxContainer-withDescription fldThemeVideo hide">
|
<div class="checkboxContainer checkboxContainer-withDescription fldThemeVideo">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" is="emby-checkbox" id="chkThemeVideo" />
|
<input type="checkbox" is="emby-checkbox" id="chkThemeVideo" />
|
||||||
<span>${ThemeVideos}</span>
|
<span>${ThemeVideos}</span>
|
||||||
|
|
|
@ -176,12 +176,6 @@ import template from './playbackSettings.template.html';
|
||||||
context.querySelector('.fldChromecastQuality').classList.add('hide');
|
context.querySelector('.fldChromecastQuality').classList.add('hide');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (browser.tizen || browser.web0s) {
|
|
||||||
context.querySelector('.fldEnableNextVideoOverlay').classList.add('hide');
|
|
||||||
} else {
|
|
||||||
context.querySelector('.fldEnableNextVideoOverlay').classList.remove('hide');
|
|
||||||
}
|
|
||||||
|
|
||||||
context.querySelector('.chkPlayDefaultAudioTrack').checked = user.Configuration.PlayDefaultAudioTrack || false;
|
context.querySelector('.chkPlayDefaultAudioTrack').checked = user.Configuration.PlayDefaultAudioTrack || false;
|
||||||
context.querySelector('.chkPreferFmp4HlsContainer').checked = userSettings.preferFmp4HlsContainer();
|
context.querySelector('.chkPreferFmp4HlsContainer').checked = userSettings.preferFmp4HlsContainer();
|
||||||
context.querySelector('.chkEnableCinemaMode').checked = userSettings.enableCinemaMode();
|
context.querySelector('.chkEnableCinemaMode').checked = userSettings.enableCinemaMode();
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
<div class="fieldDescription checkboxFieldDescription">${SetUsingLastTracksHelp}</div>
|
<div class="fieldDescription checkboxFieldDescription">${SetUsingLastTracksHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="checkboxContainer checkboxContainer-withDescription fldEnableNextVideoOverlay hide">
|
<div class="checkboxContainer checkboxContainer-withDescription fldEnableNextVideoOverlay">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" is="emby-checkbox" class="chkEnableNextVideoOverlay" />
|
<input type="checkbox" is="emby-checkbox" class="chkEnableNextVideoOverlay" />
|
||||||
<span>${EnableNextVideoInfoOverlay}</span>
|
<span>${EnableNextVideoInfoOverlay}</span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue