mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 22:07:32 -04:00
New: (Nebulance) Parse TvMazeId and scene attributes
This commit is contained in:
parent
bae79b22ad
commit
f1c01343bf
1 changed files with 5 additions and 0 deletions
|
@ -265,6 +265,8 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||
Grabs = ParseUtil.CoerceInt(row.Snatch),
|
||||
Seeders = ParseUtil.CoerceInt(row.Seed),
|
||||
Peers = ParseUtil.CoerceInt(row.Seed) + ParseUtil.CoerceInt(row.Leech),
|
||||
TvMazeId = ParseUtil.CoerceInt(row.TvMazeId),
|
||||
Scene = row.Tags?.ContainsIgnoreCase("scene"),
|
||||
MinimumRatio = 0, // ratioless
|
||||
MinimumSeedTime = row.Category.ToLower() == "season" ? 432000 : 86400, // 120 hours for seasons and 24 hours for episodes
|
||||
DownloadVolumeFactor = 0, // ratioless tracker
|
||||
|
@ -339,8 +341,11 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||
public string Banner { get; set; }
|
||||
[JsonPropertyName("group_id")]
|
||||
public string TorrentId { get; set; }
|
||||
[JsonPropertyName("series_id")]
|
||||
public string TvMazeId { get; set; }
|
||||
[JsonPropertyName("rls_utc")]
|
||||
public string PublishDateUtc { get; set; }
|
||||
public IEnumerable<string> Tags { get; set; }
|
||||
}
|
||||
|
||||
public class NebulanceTorrents
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue