aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Lyzo <ashephard0@gmail.com>2022-01-14 22:10:18 +0300
committerDmitry Lyzo <ashephard0@gmail.com>2022-01-14 22:15:14 +0300
commitf28384ba3068bf22654dbda943a42dde37b98c5d (patch)
tree51a2c6b46e8dd7f381964351e560ffc2bd4e8027
parent07e9568de8e49f84d03dd3df24bd2869e8018086 (diff)
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.
-rw-r--r--MediaBrowser.Controller/Entities/Movies/Movie.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/Movies/Movie.cs b/MediaBrowser.Controller/Entities/Movies/Movie.cs
index b9455721e..77e70f8fb 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<MovieInfo>, ISupportsBoxSetGrouping
{
/// <inheritdoc />
+ [JsonIgnore]
public IReadOnlyList<Guid> SpecialFeatureIds => GetExtras()
.Where(extra => extra.ExtraType != null && extra is Video)
.Select(extra => extra.Id)