mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 13:57:11 -04:00
Encourage Torznab use with Jackett (#1559)
This commit is contained in:
parent
811a4bf117
commit
e43e7d2b8d
4 changed files with 5 additions and 11 deletions
|
@ -71,7 +71,8 @@ Radarr is currently undergoing rapid development and pull requests are actively
|
||||||
* All indexers supported by Sonarr also supported
|
* All indexers supported by Sonarr also supported
|
||||||
* New PassThePopcorn Indexer
|
* New PassThePopcorn Indexer
|
||||||
* QBittorrent, Deluge, rTorrent, Transmission and uTorrent download client (Other clients are coming)
|
* QBittorrent, Deluge, rTorrent, Transmission and uTorrent download client (Other clients are coming)
|
||||||
* New TorrentPotato Indexer (Works well with [Jackett](https://github.com/Jackett/Jackett))
|
* New TorrentPotato Indexer
|
||||||
|
* Torznab Indexer now supports Movies (Works well with [Jackett](https://github.com/Jackett/Jackett))
|
||||||
* Scanning PreDB to know when a new release is available
|
* Scanning PreDB to know when a new release is available
|
||||||
* Importing movies from various online sources, such as IMDb Watchlists (A complete list can be found [here](https://github.com/Radarr/Radarr/issues/114))
|
* Importing movies from various online sources, such as IMDb Watchlists (A complete list can be found [here](https://github.com/Radarr/Radarr/issues/114))
|
||||||
* Full integration with Kodi, Plex (notification, library update)
|
* Full integration with Kodi, Plex (notification, library update)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using NLog;
|
using NLog;
|
||||||
using NzbDrone.Common.Extensions;
|
using NzbDrone.Common.Extensions;
|
||||||
|
@ -26,14 +26,6 @@ namespace NzbDrone.Core.Indexers.TorrentPotato
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override IEnumerable<ProviderDefinition> DefaultDefinitions
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
yield return GetDefinition("Jackett", new TorrentPotatoSettings { BaseUrl = "http://localhost:9117/potato/YOURINDEXER"});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private IndexerDefinition GetDefinition(string name, TorrentPotatoSettings settings)
|
private IndexerDefinition GetDefinition(string name, TorrentPotatoSettings settings)
|
||||||
{
|
{
|
||||||
return new IndexerDefinition
|
return new IndexerDefinition
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace NzbDrone.Core.Indexers.TorrentPotato
|
||||||
[FieldDefinition(1, Label = "Username", HelpText = "The username you use at your indexer.")]
|
[FieldDefinition(1, Label = "Username", HelpText = "The username you use at your indexer.")]
|
||||||
public string User { get; set; }
|
public string User { get; set; }
|
||||||
|
|
||||||
[FieldDefinition(2, Label = "Passkey", HelpText = "The password you use at your Indexer (or your API key if you're using Jackett).")]
|
[FieldDefinition(2, Label = "Passkey", HelpText = "The password you use at your Indexer.")]
|
||||||
public string Passkey { get; set; }
|
public string Passkey { get; set; }
|
||||||
public NzbDroneValidationResult Validate()
|
public NzbDroneValidationResult Validate()
|
||||||
{
|
{
|
||||||
|
|
|
@ -41,6 +41,7 @@ namespace NzbDrone.Core.Indexers.Torznab
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
yield return GetDefinition("Jackett", GetSettings("http://localhost:9117/torznab/YOURINDEXER"));
|
||||||
yield return GetDefinition("HD4Free.xyz", GetSettings("http://hd4free.xyz"));
|
yield return GetDefinition("HD4Free.xyz", GetSettings("http://hd4free.xyz"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue