feat: prioritise and blacklist media and overview in setting page of progress in adding info
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Jellyfin.Plugin.JRay.Models;
|
||||
|
||||
/// <summary>
|
||||
/// A selectable option for the config page's rule editor (a genre or a series),
|
||||
/// pairing the value stored in a rule with a human-readable label.
|
||||
/// </summary>
|
||||
public class PickerOption
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the value stored in a <see cref="MediaPolicyRule"/>
|
||||
/// (a genre name, or a series id).
|
||||
/// </summary>
|
||||
[JsonPropertyName("value")]
|
||||
public string Value { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the label shown to the user (genre name, or series title).
|
||||
/// </summary>
|
||||
[JsonPropertyName("label")]
|
||||
public string Label { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user