mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
Fixed: MultiLanguages definition
This commit is contained in:
parent
b5b43b8b3f
commit
2a15113a74
@ -28,7 +28,7 @@ public AwesomeHDSettings()
|
||||
{
|
||||
BaseUrl = "https://awesome-hd.me";
|
||||
MinimumSeeders = 0;
|
||||
MultiLanguages = Enumerable.Empty<int>();
|
||||
MultiLanguages = new List<int>();
|
||||
}
|
||||
|
||||
[FieldDefinition(0, Label = "API URL", Advanced = true, HelpText = "Do not change this unless you know what you're doing. Since you Passkey will be sent to that host.")]
|
||||
|
@ -34,7 +34,7 @@ public HDBitsSettings()
|
||||
Categories = new int[] { (int)HdBitsCategory.Movie };
|
||||
Codecs = new int[0];
|
||||
Mediums = new int[0];
|
||||
MultiLanguages = Enumerable.Empty<int>();
|
||||
MultiLanguages = new List<int>();
|
||||
}
|
||||
|
||||
[FieldDefinition(0, Label = "Username")]
|
||||
|
@ -35,7 +35,7 @@ public IPTorrentsSettings()
|
||||
{
|
||||
BaseUrl = string.Empty;
|
||||
MinimumSeeders = IndexerDefaults.MINIMUM_SEEDERS;
|
||||
MultiLanguages = Enumerable.Empty<int>();
|
||||
MultiLanguages = new List<int>();
|
||||
}
|
||||
|
||||
[FieldDefinition(0, Label = "Feed URL", HelpText = "The full RSS feed url generated by IPTorrents, using only the categories you selected (HD, SD, x264, etc ...)")]
|
||||
|
@ -2,11 +2,8 @@
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using FluentValidation;
|
||||
using FluentValidation.Results;
|
||||
using NzbDrone.Common.Extensions;
|
||||
using NzbDrone.Core.Annotations;
|
||||
using NzbDrone.Core.Parser;
|
||||
using NzbDrone.Core.ThingiProvider;
|
||||
using NzbDrone.Core.Validation;
|
||||
|
||||
namespace NzbDrone.Core.Indexers.Newznab
|
||||
@ -62,8 +59,8 @@ public NewznabSettings()
|
||||
{
|
||||
ApiPath = "/api";
|
||||
Categories = new[] { 2000, 2010, 2020, 2030, 2035, 2040, 2045, 2050, 2060 };
|
||||
AnimeCategories = Enumerable.Empty<int>();
|
||||
MultiLanguages = Enumerable.Empty<int>();
|
||||
AnimeCategories = new List<int>();
|
||||
MultiLanguages = new List<int>();
|
||||
}
|
||||
|
||||
[FieldDefinition(0, Label = "URL")]
|
||||
|
@ -29,7 +29,7 @@ public NyaaSettings()
|
||||
BaseUrl = "http://www.nyaa.se";
|
||||
AdditionalParameters = "&cats=1_37&filter=1";
|
||||
MinimumSeeders = IndexerDefaults.MINIMUM_SEEDERS;
|
||||
MultiLanguages = Enumerable.Empty<int>();
|
||||
MultiLanguages = new List<int>();
|
||||
}
|
||||
|
||||
[FieldDefinition(0, Label = "Website URL")]
|
||||
|
@ -25,7 +25,7 @@ public class OmgwtfnzbsSettings : IIndexerSettings
|
||||
public OmgwtfnzbsSettings()
|
||||
{
|
||||
Delay = 30;
|
||||
MultiLanguages = Enumerable.Empty<int>();
|
||||
MultiLanguages = new List<int>();
|
||||
}
|
||||
|
||||
// Unused since Omg has a hardcoded url.
|
||||
|
@ -30,7 +30,7 @@ public PassThePopcornSettings()
|
||||
{
|
||||
BaseUrl = "https://passthepopcorn.me";
|
||||
MinimumSeeders = 0;
|
||||
MultiLanguages = Enumerable.Empty<int>();
|
||||
MultiLanguages = new List<int>();
|
||||
}
|
||||
|
||||
[FieldDefinition(0, Label = "URL", Advanced = true, HelpText = "Do not change this unless you know what you're doing. Since your cookie will be sent to that host.")]
|
||||
|
@ -30,7 +30,7 @@ public RarbgSettings()
|
||||
RankedOnly = false;
|
||||
MinimumSeeders = IndexerDefaults.MINIMUM_SEEDERS;
|
||||
Categories = new[] { 14, 48, 17, 44, 45, 47, 50, 51, 52, 42, 46 };
|
||||
MultiLanguages = Enumerable.Empty<int>();
|
||||
MultiLanguages = new List<int>();
|
||||
}
|
||||
|
||||
[FieldDefinition(0, Label = "API URL", HelpText = "URL to Rarbg api, not the website.")]
|
||||
|
@ -27,7 +27,7 @@ public TorrentPotatoSettings()
|
||||
{
|
||||
BaseUrl = "http://127.0.0.1";
|
||||
MinimumSeeders = IndexerDefaults.MINIMUM_SEEDERS;
|
||||
MultiLanguages = Enumerable.Empty<int>();
|
||||
MultiLanguages = new List<int>();
|
||||
}
|
||||
|
||||
[FieldDefinition(0, Label = "API URL", HelpText = "URL to TorrentPotato api.")]
|
||||
|
@ -27,7 +27,7 @@ public TorrentRssIndexerSettings()
|
||||
BaseUrl = string.Empty;
|
||||
AllowZeroSize = false;
|
||||
MinimumSeeders = IndexerDefaults.MINIMUM_SEEDERS;
|
||||
MultiLanguages = Enumerable.Empty<int>();
|
||||
MultiLanguages = new List<int>();
|
||||
}
|
||||
|
||||
[FieldDefinition(0, Label = "Full RSS Feed URL")]
|
||||
|
Loading…
Reference in New Issue
Block a user