2020-02-19 20:23:55 +00:00
|
|
|
using System.Collections.Generic;
|
2020-11-04 21:23:34 +00:00
|
|
|
using System.Diagnostics.CodeAnalysis;
|
2020-02-19 20:23:55 +00:00
|
|
|
|
|
|
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
|
|
|
{
|
2020-11-04 21:23:34 +00:00
|
|
|
[ExcludeFromCodeCoverage]
|
2020-02-19 20:23:55 +00:00
|
|
|
internal class ConfigurationDataHDBitsApi : ConfigurationDataUserPasskey
|
|
|
|
{
|
2021-03-16 23:29:26 +00:00
|
|
|
public MultiSelectConfigurationItem Codecs { get; private set; }
|
|
|
|
public MultiSelectConfigurationItem Mediums { get; private set; }
|
|
|
|
public MultiSelectConfigurationItem Origins { get; private set; }
|
2020-02-19 20:23:55 +00:00
|
|
|
|
2020-10-01 18:27:01 +00:00
|
|
|
public ConfigurationDataHDBitsApi()
|
2020-02-19 20:23:55 +00:00
|
|
|
{
|
2021-03-16 23:29:26 +00:00
|
|
|
Codecs = new MultiSelectConfigurationItem("Codec", new Dictionary<string, string>()
|
2020-02-19 20:23:55 +00:00
|
|
|
{
|
2020-04-01 19:05:33 +00:00
|
|
|
{"0", "Undefined"},
|
2020-02-19 20:23:55 +00:00
|
|
|
{"1", "H.264"},
|
|
|
|
{"5", "HEVC"},
|
|
|
|
{"2", "MPEG-2"},
|
|
|
|
{"3", "VC-1"},
|
|
|
|
{"6", "VP9"},
|
|
|
|
{"4", "XviD"}
|
|
|
|
})
|
2021-05-16 18:13:54 +00:00
|
|
|
{ Values = new[] { "0", "1", "5", "2", "3", "6", "4" } };
|
2020-02-19 20:23:55 +00:00
|
|
|
|
2021-03-16 23:29:26 +00:00
|
|
|
Mediums = new MultiSelectConfigurationItem("Medium", new Dictionary<string, string>()
|
2020-02-19 20:23:55 +00:00
|
|
|
{
|
2020-04-01 19:05:33 +00:00
|
|
|
{"0", "Undefined"},
|
2020-02-19 20:23:55 +00:00
|
|
|
{"1", "Blu-ray/HD DVD"},
|
|
|
|
{"4", "Capture"},
|
|
|
|
{"3", "Encode"},
|
|
|
|
{"5", "Remux"},
|
|
|
|
{"6", "WEB-DL"}
|
|
|
|
})
|
2021-05-16 18:13:54 +00:00
|
|
|
{ Values = new[] { "0", "1", "4", "3", "5", "6" } };
|
2020-04-01 19:05:33 +00:00
|
|
|
|
2021-03-16 23:29:26 +00:00
|
|
|
Origins = new MultiSelectConfigurationItem("Origin", new Dictionary<string, string>()
|
2020-04-01 19:05:33 +00:00
|
|
|
{
|
|
|
|
{"0", "Undefined"},
|
|
|
|
{"1", "Internal"}
|
|
|
|
})
|
2021-05-16 18:13:54 +00:00
|
|
|
{ Values = new[] { "0", "1" } };
|
2020-02-19 20:23:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|