mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-26 20:11:49 +02:00
Fixed: MultiLanguages definition
This commit is contained in:
@@ -28,7 +28,7 @@ namespace NzbDrone.Core.Indexers.AwesomeHD
|
|||||||
{
|
{
|
||||||
BaseUrl = "https://awesome-hd.me";
|
BaseUrl = "https://awesome-hd.me";
|
||||||
MinimumSeeders = 0;
|
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.")]
|
[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 @@ namespace NzbDrone.Core.Indexers.HDBits
|
|||||||
Categories = new int[] { (int)HdBitsCategory.Movie };
|
Categories = new int[] { (int)HdBitsCategory.Movie };
|
||||||
Codecs = new int[0];
|
Codecs = new int[0];
|
||||||
Mediums = new int[0];
|
Mediums = new int[0];
|
||||||
MultiLanguages = Enumerable.Empty<int>();
|
MultiLanguages = new List<int>();
|
||||||
}
|
}
|
||||||
|
|
||||||
[FieldDefinition(0, Label = "Username")]
|
[FieldDefinition(0, Label = "Username")]
|
||||||
|
@@ -35,7 +35,7 @@ namespace NzbDrone.Core.Indexers.IPTorrents
|
|||||||
{
|
{
|
||||||
BaseUrl = string.Empty;
|
BaseUrl = string.Empty;
|
||||||
MinimumSeeders = IndexerDefaults.MINIMUM_SEEDERS;
|
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 ...)")]
|
[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.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using FluentValidation;
|
using FluentValidation;
|
||||||
using FluentValidation.Results;
|
|
||||||
using NzbDrone.Common.Extensions;
|
using NzbDrone.Common.Extensions;
|
||||||
using NzbDrone.Core.Annotations;
|
using NzbDrone.Core.Annotations;
|
||||||
using NzbDrone.Core.Parser;
|
|
||||||
using NzbDrone.Core.ThingiProvider;
|
|
||||||
using NzbDrone.Core.Validation;
|
using NzbDrone.Core.Validation;
|
||||||
|
|
||||||
namespace NzbDrone.Core.Indexers.Newznab
|
namespace NzbDrone.Core.Indexers.Newznab
|
||||||
@@ -62,8 +59,8 @@ namespace NzbDrone.Core.Indexers.Newznab
|
|||||||
{
|
{
|
||||||
ApiPath = "/api";
|
ApiPath = "/api";
|
||||||
Categories = new[] { 2000, 2010, 2020, 2030, 2035, 2040, 2045, 2050, 2060 };
|
Categories = new[] { 2000, 2010, 2020, 2030, 2035, 2040, 2045, 2050, 2060 };
|
||||||
AnimeCategories = Enumerable.Empty<int>();
|
AnimeCategories = new List<int>();
|
||||||
MultiLanguages = Enumerable.Empty<int>();
|
MultiLanguages = new List<int>();
|
||||||
}
|
}
|
||||||
|
|
||||||
[FieldDefinition(0, Label = "URL")]
|
[FieldDefinition(0, Label = "URL")]
|
||||||
|
@@ -29,7 +29,7 @@ namespace NzbDrone.Core.Indexers.Nyaa
|
|||||||
BaseUrl = "http://www.nyaa.se";
|
BaseUrl = "http://www.nyaa.se";
|
||||||
AdditionalParameters = "&cats=1_37&filter=1";
|
AdditionalParameters = "&cats=1_37&filter=1";
|
||||||
MinimumSeeders = IndexerDefaults.MINIMUM_SEEDERS;
|
MinimumSeeders = IndexerDefaults.MINIMUM_SEEDERS;
|
||||||
MultiLanguages = Enumerable.Empty<int>();
|
MultiLanguages = new List<int>();
|
||||||
}
|
}
|
||||||
|
|
||||||
[FieldDefinition(0, Label = "Website URL")]
|
[FieldDefinition(0, Label = "Website URL")]
|
||||||
|
@@ -25,7 +25,7 @@ namespace NzbDrone.Core.Indexers.Omgwtfnzbs
|
|||||||
public OmgwtfnzbsSettings()
|
public OmgwtfnzbsSettings()
|
||||||
{
|
{
|
||||||
Delay = 30;
|
Delay = 30;
|
||||||
MultiLanguages = Enumerable.Empty<int>();
|
MultiLanguages = new List<int>();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unused since Omg has a hardcoded url.
|
// Unused since Omg has a hardcoded url.
|
||||||
|
@@ -30,7 +30,7 @@ namespace NzbDrone.Core.Indexers.PassThePopcorn
|
|||||||
{
|
{
|
||||||
BaseUrl = "https://passthepopcorn.me";
|
BaseUrl = "https://passthepopcorn.me";
|
||||||
MinimumSeeders = 0;
|
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.")]
|
[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 @@ namespace NzbDrone.Core.Indexers.Rarbg
|
|||||||
RankedOnly = false;
|
RankedOnly = false;
|
||||||
MinimumSeeders = IndexerDefaults.MINIMUM_SEEDERS;
|
MinimumSeeders = IndexerDefaults.MINIMUM_SEEDERS;
|
||||||
Categories = new[] { 14, 48, 17, 44, 45, 47, 50, 51, 52, 42, 46 };
|
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.")]
|
[FieldDefinition(0, Label = "API URL", HelpText = "URL to Rarbg api, not the website.")]
|
||||||
|
@@ -27,7 +27,7 @@ namespace NzbDrone.Core.Indexers.TorrentPotato
|
|||||||
{
|
{
|
||||||
BaseUrl = "http://127.0.0.1";
|
BaseUrl = "http://127.0.0.1";
|
||||||
MinimumSeeders = IndexerDefaults.MINIMUM_SEEDERS;
|
MinimumSeeders = IndexerDefaults.MINIMUM_SEEDERS;
|
||||||
MultiLanguages = Enumerable.Empty<int>();
|
MultiLanguages = new List<int>();
|
||||||
}
|
}
|
||||||
|
|
||||||
[FieldDefinition(0, Label = "API URL", HelpText = "URL to TorrentPotato api.")]
|
[FieldDefinition(0, Label = "API URL", HelpText = "URL to TorrentPotato api.")]
|
||||||
|
@@ -27,7 +27,7 @@ namespace NzbDrone.Core.Indexers.TorrentRss
|
|||||||
BaseUrl = string.Empty;
|
BaseUrl = string.Empty;
|
||||||
AllowZeroSize = false;
|
AllowZeroSize = false;
|
||||||
MinimumSeeders = IndexerDefaults.MINIMUM_SEEDERS;
|
MinimumSeeders = IndexerDefaults.MINIMUM_SEEDERS;
|
||||||
MultiLanguages = Enumerable.Empty<int>();
|
MultiLanguages = new List<int>();
|
||||||
}
|
}
|
||||||
|
|
||||||
[FieldDefinition(0, Label = "Full RSS Feed URL")]
|
[FieldDefinition(0, Label = "Full RSS Feed URL")]
|
||||||
|
Reference in New Issue
Block a user