소스 검색

update channel view

Luke Pulverenti 9 년 전
부모
커밋
5bf1dcd519
2개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 2
      MediaBrowser.Model/Configuration/UserConfiguration.cs
  2. 1 1
      MediaBrowser.Server.Implementations/Library/UserViewManager.cs

+ 1 - 2
MediaBrowser.Model/Configuration/UserConfiguration.cs

@@ -46,7 +46,7 @@ namespace MediaBrowser.Model.Configuration
         public string[] PlainFolderViews { get; set; }
 
         public bool HidePlayedInLatest { get; set; }
-        public bool DisplayChannelsInline { get; set; }
+        public bool EnableChannelView { get; set; }
 
         public bool RememberAudioSelections { get; set; }
         public bool RememberSubtitleSelections { get; set; }
@@ -60,7 +60,6 @@ namespace MediaBrowser.Model.Configuration
             EnableNextEpisodeAutoPlay = true;
             RememberAudioSelections = true;
             RememberSubtitleSelections = true;
-            DisplayChannelsInline = true;
 
             HidePlayedInLatest = true;
             PlayDefaultAudioTrack = true;

+ 1 - 1
MediaBrowser.Server.Implementations/Library/UserViewManager.cs

@@ -121,7 +121,7 @@ namespace MediaBrowser.Server.Implementations.Library
 
                 var channels = channelResult.Items;
 
-                if (!user.Configuration.DisplayChannelsInline && channels.Length > 0)
+                if (user.Configuration.EnableChannelView && channels.Length > 0)
                 {
                     list.Add(await _channelManager.GetInternalChannelFolder(cancellationToken).ConfigureAwait(false));
                 }