mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-03 04:13:38 +02:00
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.
This commit is contained in:
parent
07e9568de8
commit
f28384ba30
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue