mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Backport pull request #11762 from jellyfin/release-10.9.z
Mark Audio as RequiresDeserialization and backfill data
Original-merge: e2c909f50f
Merged-by: joshuaboniface <joshua@boniface.me>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
committed by
Joshua M. Boniface
parent
5d4880c497
commit
407dc9272c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user