From f28384ba3068bf22654dbda943a42dde37b98c5d Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Fri, 14 Jan 2022 22:10:18 +0300 Subject: [PATCH] Ignore JSON serialization for special features of movie. When refreshing the metadata of the video with a local trailer, the server gets stuck trying to read the database and save the item at the same time. --- MediaBrowser.Controller/Entities/Movies/Movie.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MediaBrowser.Controller/Entities/Movies/Movie.cs b/MediaBrowser.Controller/Entities/Movies/Movie.cs index b9455721e1..77e70f8fbd 100644 --- a/MediaBrowser.Controller/Entities/Movies/Movie.cs +++ b/MediaBrowser.Controller/Entities/Movies/Movie.cs @@ -20,6 +20,7 @@ namespace MediaBrowser.Controller.Entities.Movies public class Movie : Video, IHasSpecialFeatures, IHasTrailers, IHasLookupInfo, ISupportsBoxSetGrouping { /// + [JsonIgnore] public IReadOnlyList SpecialFeatureIds => GetExtras() .Where(extra => extra.ExtraType != null && extra is Video) .Select(extra => extra.Id)