diff options
| author | Rich Lander <rlander@microsoft.com> | 2021-07-23 13:07:19 -0700 |
|---|---|---|
| committer | Rich Lander <rlander@microsoft.com> | 2021-07-23 13:49:18 -0700 |
| commit | a7cc77e7fa2ba427ce2f2be2c930902c9623d008 (patch) | |
| tree | bcde6aa7d4ef592ca6f4a3da78ade0c6dc1a9957 /MediaBrowser.Controller/Entities/Trailer.cs | |
| parent | 0e2a6f8216e0a675b43cf2919fb1d57b46f14972 (diff) | |
Fix partial set of MediaBrowser.Controller/Entities warnings
Diffstat (limited to 'MediaBrowser.Controller/Entities/Trailer.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Trailer.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.Controller/Entities/Trailer.cs b/MediaBrowser.Controller/Entities/Trailer.cs index 732b45521..1c558d419 100644 --- a/MediaBrowser.Controller/Entities/Trailer.cs +++ b/MediaBrowser.Controller/Entities/Trailer.cs @@ -1,6 +1,6 @@ #nullable disable -#pragma warning disable CS1591 +#pragma warning disable CA1819, CS1591 using System; using System.Collections.Generic; @@ -23,6 +23,9 @@ namespace MediaBrowser.Controller.Entities TrailerTypes = Array.Empty<TrailerType>(); } + [JsonIgnore] + public override bool StopRefreshIfLocalMetadataFound => false; + public TrailerType[] TrailerTypes { get; set; } public override double GetDefaultPrimaryImageAspectRatio() @@ -97,8 +100,5 @@ namespace MediaBrowser.Controller.Entities return list; } - - [JsonIgnore] - public override bool StopRefreshIfLocalMetadataFound => false; } } |
