diff options
| author | Nyanmisaka <nst799610810@gmail.com> | 2021-08-13 15:01:06 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-13 15:01:06 +0800 |
| commit | a84dc794c6960a8a6e1dc0660e15a030e0f51305 (patch) | |
| tree | 9e1c33cab6cca6681811d0a2f6a51902c108bf77 /MediaBrowser.Controller/Channels/Channel.cs | |
| parent | d4f09c6c9b142081064c4008bc1e84fb17c81ad8 (diff) | |
| parent | e33901b9f5f65eb8e48c018a30a37094ad874897 (diff) | |
Merge branch 'master' into tonemap-overlay
Diffstat (limited to 'MediaBrowser.Controller/Channels/Channel.cs')
| -rw-r--r-- | MediaBrowser.Controller/Channels/Channel.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/MediaBrowser.Controller/Channels/Channel.cs b/MediaBrowser.Controller/Channels/Channel.cs index 26a936be0..e6923b55c 100644 --- a/MediaBrowser.Controller/Channels/Channel.cs +++ b/MediaBrowser.Controller/Channels/Channel.cs @@ -17,6 +17,12 @@ namespace MediaBrowser.Controller.Channels { public class Channel : Folder { + [JsonIgnore] + public override bool SupportsInheritedParentImages => false; + + [JsonIgnore] + public override SourceType SourceType => SourceType.Channel; + public override bool IsVisible(User user) { var blockedChannelsPreference = user.GetPreferenceValues<Guid>(PreferenceKind.BlockedChannels); @@ -39,12 +45,6 @@ namespace MediaBrowser.Controller.Channels return base.IsVisible(user); } - [JsonIgnore] - public override bool SupportsInheritedParentImages => false; - - [JsonIgnore] - public override SourceType SourceType => SourceType.Channel; - protected override QueryResult<BaseItem> GetItemsInternal(InternalItemsQuery query) { try |
