|
|
|
@ -33,10 +33,10 @@ namespace NzbDrone.Core.Indexers.Definitions.HDBits
|
|
|
|
|
[FieldDefinition(3, Label = "API Key", HelpText = "Site API Key", Privacy = PrivacyLevel.ApiKey)]
|
|
|
|
|
public string ApiKey { get; set; }
|
|
|
|
|
|
|
|
|
|
[FieldDefinition(4, Label = "Codecs", Type = FieldType.TagSelect, SelectOptions = typeof(HdBitsCodec), Advanced = true, HelpText = "Options: h264, Mpeg2, VC1, Xvid. If unspecified, all options are used.")]
|
|
|
|
|
[FieldDefinition(4, Label = "Codecs", Type = FieldType.Select, SelectOptions = typeof(HdBitsCodec), Advanced = true, HelpText = "If unspecified, all options are used.")]
|
|
|
|
|
public IEnumerable<int> Codecs { get; set; }
|
|
|
|
|
|
|
|
|
|
[FieldDefinition(5, Label = "Mediums", Type = FieldType.TagSelect, SelectOptions = typeof(HdBitsMedium), Advanced = true, HelpText = "Options: BluRay, Encode, Capture, Remux, WebDL. If unspecified, all options are used.")]
|
|
|
|
|
[FieldDefinition(5, Label = "Mediums", Type = FieldType.Select, SelectOptions = typeof(HdBitsMedium), Advanced = true, HelpText = "If unspecified, all options are used.")]
|
|
|
|
|
public IEnumerable<int> Mediums { get; set; }
|
|
|
|
|
|
|
|
|
|
[FieldDefinition(6, Label = "Freeleech Only", Type = FieldType.Checkbox, Advanced = true, HelpText = "Show freeleech releases only")]
|
|
|
|
@ -50,19 +50,29 @@ namespace NzbDrone.Core.Indexers.Definitions.HDBits
|
|
|
|
|
|
|
|
|
|
public enum HdBitsCodec
|
|
|
|
|
{
|
|
|
|
|
[FieldOption("H.264")]
|
|
|
|
|
H264 = 1,
|
|
|
|
|
[FieldOption("MPEG-2")]
|
|
|
|
|
Mpeg2 = 2,
|
|
|
|
|
[FieldOption("VC-1")]
|
|
|
|
|
Vc1 = 3,
|
|
|
|
|
[FieldOption("XviD")]
|
|
|
|
|
Xvid = 4,
|
|
|
|
|
[FieldOption("HEVC")]
|
|
|
|
|
HEVC = 5
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum HdBitsMedium
|
|
|
|
|
{
|
|
|
|
|
[FieldOption("Blu-ray/HD DVD")]
|
|
|
|
|
Bluray = 1,
|
|
|
|
|
[FieldOption("Encode")]
|
|
|
|
|
Encode = 3,
|
|
|
|
|
[FieldOption("Capture")]
|
|
|
|
|
Capture = 4,
|
|
|
|
|
[FieldOption("Remux")]
|
|
|
|
|
Remux = 5,
|
|
|
|
|
[FieldOption("WEB-DL")]
|
|
|
|
|
WebDl = 6
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|