mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-22 07:42:28 +00:00
Fixed: Indexer flags for torrent release pushes
(cherry picked from commit 47ba002806fe2c2004a649aa193ae318343a84e4)
This commit is contained in:
parent
f4a02ffc83
commit
a25e5aae10
1 changed files with 2 additions and 1 deletions
|
@ -132,7 +132,8 @@ public static ReleaseInfo ToModel(this ReleaseResource resource)
|
|||
MagnetUrl = resource.MagnetUrl,
|
||||
InfoHash = resource.InfoHash,
|
||||
Seeders = resource.Seeders,
|
||||
Peers = (resource.Seeders.HasValue && resource.Leechers.HasValue) ? (resource.Seeders + resource.Leechers) : null
|
||||
Peers = (resource.Seeders.HasValue && resource.Leechers.HasValue) ? (resource.Seeders + resource.Leechers) : null,
|
||||
IndexerFlags = (IndexerFlags)resource.IndexerFlags
|
||||
};
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue