mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-15 02:33:33 +01:00
Optimize internal querying of UserData, other fixes (#14795)
This commit is contained in:
@@ -107,8 +107,15 @@ namespace MediaBrowser.Controller.Entities
|
||||
ProductionLocations = Array.Empty<string>();
|
||||
RemoteTrailers = Array.Empty<MediaUrl>();
|
||||
ExtraIds = Array.Empty<Guid>();
|
||||
UserData = [];
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets the user data collection as cached from the last Db query.
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public ICollection<UserData> UserData { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public string PreferredMetadataCountryCode { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user