mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update channel view
This commit is contained in:
parent
62cb2195ea
commit
5bf1dcd519
@ -46,7 +46,7 @@ namespace MediaBrowser.Model.Configuration
|
|||||||
public string[] PlainFolderViews { get; set; }
|
public string[] PlainFolderViews { get; set; }
|
||||||
|
|
||||||
public bool HidePlayedInLatest { get; set; }
|
public bool HidePlayedInLatest { get; set; }
|
||||||
public bool DisplayChannelsInline { get; set; }
|
public bool EnableChannelView { get; set; }
|
||||||
|
|
||||||
public bool RememberAudioSelections { get; set; }
|
public bool RememberAudioSelections { get; set; }
|
||||||
public bool RememberSubtitleSelections { get; set; }
|
public bool RememberSubtitleSelections { get; set; }
|
||||||
@ -60,7 +60,6 @@ namespace MediaBrowser.Model.Configuration
|
|||||||
EnableNextEpisodeAutoPlay = true;
|
EnableNextEpisodeAutoPlay = true;
|
||||||
RememberAudioSelections = true;
|
RememberAudioSelections = true;
|
||||||
RememberSubtitleSelections = true;
|
RememberSubtitleSelections = true;
|
||||||
DisplayChannelsInline = true;
|
|
||||||
|
|
||||||
HidePlayedInLatest = true;
|
HidePlayedInLatest = true;
|
||||||
PlayDefaultAudioTrack = true;
|
PlayDefaultAudioTrack = true;
|
||||||
|
@ -121,7 +121,7 @@ namespace MediaBrowser.Server.Implementations.Library
|
|||||||
|
|
||||||
var channels = channelResult.Items;
|
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));
|
list.Add(await _channelManager.GetInternalChannelFolder(cancellationToken).ConfigureAwait(false));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user