1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #3208 from nyanmisaka/drop-cinemamode

This commit is contained in:
Joshua M. Boniface 2021-12-13 14:39:55 -05:00 committed by GitHub
commit e5bc950258
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -157,15 +157,6 @@ import template from './playbackSettings.template.html';
context.querySelector('.chkEpisodeAutoPlay').checked = user.Configuration.EnableNextEpisodeAutoPlay || false;
});
// hide cinema mode options if disabled at server level
apiClient.getNamedConfiguration('cinemamode').then(cinemaConfig => {
if (cinemaConfig.EnableIntrosForMovies || cinemaConfig.EnableIntrosForEpisodes) {
context.querySelector('.cinemaModeOptions').classList.remove('hide');
} else {
context.querySelector('.cinemaModeOptions').classList.add('hide');
}
});
if (appHost.supports('externalplayerintent') && userId === loggedInUserId) {
context.querySelector('.fldExternalPlayer').classList.remove('hide');
} else {