Mark Audio as RequiresDeserialization and backfill data

This commit is contained in:
Shadowghost
2024-05-20 22:51:38 +02:00
parent 76854b5eff
commit 7d983ae0dd
4 changed files with 115 additions and 8 deletions

View File

@@ -51,6 +51,7 @@ namespace MediaBrowser.Controller.Entities
TrailerTypes = Array.Empty<TrailerType>();
VideoTypes = Array.Empty<VideoType>();
Years = Array.Empty<int>();
SkipDeserialization = false;
}
public InternalItemsQuery(User? user)
@@ -358,6 +359,8 @@ namespace MediaBrowser.Controller.Entities
public string? SeriesTimerId { get; set; }
public bool SkipDeserialization { get; set; }
public void SetUser(User user)
{
MaxParentalRating = user.MaxParentalAgeRating;