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

use shared usersettings

This commit is contained in:
Luke Pulverenti 2016-03-01 23:46:10 -05:00
parent f1eb4b1ad8
commit 5ca7a2ad34
12 changed files with 114 additions and 44 deletions

View file

@ -1,4 +1,4 @@
define(['appSettings'], function (appSettings) {
define(['appSettings', 'userSettings'], function (appSettings, userSettings) {
function mediaPlayer() {
@ -600,7 +600,7 @@ define(['appSettings'], function (appSettings) {
Dashboard.showLoadingMsg();
}
if (options.startPositionTicks || firstItem.MediaType !== 'Video' || !appSettings.enableCinemaMode()) {
if (options.startPositionTicks || firstItem.MediaType !== 'Video' || !userSettings.enableCinemaMode()) {
self.playInternal(firstItem, options.startPositionTicks, function () {
self.setPlaylistState(0, items);