mirror of https://github.com/Radarr/Radarr
only use internal for RSS Sync
This commit is contained in:
parent
186b2ada36
commit
d0439296fe
|
@ -62,7 +62,7 @@ namespace NzbDrone.Core.Indexers.AwesomeHD
|
||||||
|
|
||||||
if (searchParameters != null)
|
if (searchParameters != null)
|
||||||
{
|
{
|
||||||
yield return new IndexerRequest($"{Settings.BaseUrl.Trim().TrimEnd('/')}/searchapi.php?action=imdbsearch&passkey={Settings.Passkey.Trim()}&imdb={searchParameters}{onlyInternal}", HttpAccept.Rss);
|
yield return new IndexerRequest($"{Settings.BaseUrl.Trim().TrimEnd('/')}/searchapi.php?action=imdbsearch&passkey={Settings.Passkey.Trim()}&imdb={searchParameters}", HttpAccept.Rss);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,7 +29,7 @@ namespace NzbDrone.Core.Indexers.AwesomeHD
|
||||||
[FieldDefinition(1, Label = "Passkey")]
|
[FieldDefinition(1, Label = "Passkey")]
|
||||||
public string Passkey { get; set; }
|
public string Passkey { get; set; }
|
||||||
|
|
||||||
[FieldDefinition(2, Type = FieldType.Checkbox, Label = "Require Internal", HelpText = "Will only include internal releases.")]
|
[FieldDefinition(2, Type = FieldType.Checkbox, Label = "Require Internal", HelpText = "Will only include internal releases for RSS Sync.")]
|
||||||
public bool Internal { get; set; }
|
public bool Internal { get; set; }
|
||||||
|
|
||||||
public NzbDroneValidationResult Validate()
|
public NzbDroneValidationResult Validate()
|
||||||
|
|
Loading…
Reference in New Issue