mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-14 14:22:17 +01:00
Rework parental ratings (#12615)
Some checks are pending
CodeQL / Analyze (csharp) (push) Waiting to run
OpenAPI / OpenAPI - HEAD (push) Waiting to run
OpenAPI / OpenAPI - BASE (push) Waiting to run
OpenAPI / OpenAPI - Difference (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Unstable Spec (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Stable Spec (push) Blocked by required conditions
Tests / run-tests (macos-latest) (push) Waiting to run
Tests / run-tests (ubuntu-latest) (push) Waiting to run
Tests / run-tests (windows-latest) (push) Waiting to run
Project Automation / Project board (push) Waiting to run
Merge Conflict Labeler / Labeling (push) Waiting to run
Some checks are pending
CodeQL / Analyze (csharp) (push) Waiting to run
OpenAPI / OpenAPI - HEAD (push) Waiting to run
OpenAPI / OpenAPI - BASE (push) Waiting to run
OpenAPI / OpenAPI - Difference (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Unstable Spec (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Stable Spec (push) Blocked by required conditions
Tests / run-tests (macos-latest) (push) Waiting to run
Tests / run-tests (ubuntu-latest) (push) Waiting to run
Tests / run-tests (windows-latest) (push) Waiting to run
Project Automation / Project board (push) Waiting to run
Merge Conflict Labeler / Labeling (push) Waiting to run
This commit is contained in:
@@ -84,6 +84,8 @@ public class BaseItemEntity
|
||||
|
||||
public int? InheritedParentalRatingValue { get; set; }
|
||||
|
||||
public int? InheritedParentalRatingSubValue { get; set; }
|
||||
|
||||
public string? UnratedType { get; set; }
|
||||
|
||||
public float? CriticRating { get; set; }
|
||||
|
||||
@@ -249,9 +249,14 @@ namespace Jellyfin.Database.Implementations.Entities
|
||||
public bool EnableUserPreferenceAccess { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the maximum parental age rating.
|
||||
/// Gets or sets the maximum parental rating score.
|
||||
/// </summary>
|
||||
public int? MaxParentalAgeRating { get; set; }
|
||||
public int? MaxParentalRatingScore { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the maximum parental rating sub score.
|
||||
/// </summary>
|
||||
public int? MaxParentalRatingSubScore { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the remote client bitrate limit.
|
||||
|
||||
Reference in New Issue
Block a user