diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2021-08-18 18:25:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-18 18:25:48 +0200 |
| commit | 663c79cba8be58196ec210bd792388b9cf86830c (patch) | |
| tree | 46fc02de09ed5419c118ecb66a25e13ae884befd /MediaBrowser.Controller/Entities/Trailer.cs | |
| parent | 398ca85944c21609156892dd8c5560126336f11b (diff) | |
| parent | e5cbafdb6b47377052e0d638908ef96e30a997d6 (diff) | |
Merge branch 'master' into baseitemkind-fixes
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; } } |
