diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-07-25 14:57:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-25 14:57:45 +0200 |
| commit | 439916f4ff03a8507eb2f1ac1c892208020b3a19 (patch) | |
| tree | 8d3a58f2df8c550a15689e637438b314ff36d405 /MediaBrowser.Controller/Channels/Channel.cs | |
| parent | 311774e75fc41f441d5cba1662a88d16d42030cb (diff) | |
| parent | 67efed39f299382db11bd500cdbe09c81dab2123 (diff) | |
Merge pull request #6336 from richlander/mediabrowser-controller-channels
Fix warning in MediaBrowser.Controllers/Channels
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 |
