1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-24 22:36:19 -04:00

New: Added FileList.io indexer support

This commit is contained in:
Taloth Saldono
2020-09-22 22:32:57 +02:00
parent 5aa92f47b6
commit 20a6284062
11 changed files with 445 additions and 1 deletions
@@ -1,4 +1,5 @@
using System;
using System.Runtime.CompilerServices;
namespace NzbDrone.Core.Annotations
{
@@ -23,6 +24,20 @@ namespace NzbDrone.Core.Annotations
public PrivacyLevel Privacy { get; set; }
}
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
public class FieldOptionAttribute : Attribute
{
public FieldOptionAttribute([CallerLineNumber] int order = 0, string label = null)
{
Order = order;
Label = label;
}
public int Order { get; private set; }
public string Label { get; set; }
public string Hint { get; set; }
}
public enum FieldType
{
Textbox,