mirror of
https://github.com/Radarr/Radarr
synced 2026-04-28 13:51:07 +02:00
Merge pull request #286 from Radarr/onedr0p-patch-1
Removed duplicate PublishDate
This commit is contained in:
commit
75bb2533a3
1 changed files with 2 additions and 3 deletions
|
|
@ -36,12 +36,11 @@ public IList<ReleaseInfo> ParseResponse(IndexerResponse indexerResponse)
|
||||||
torrentInfo.Size = (long)torrent.size*1000*1000;
|
torrentInfo.Size = (long)torrent.size*1000*1000;
|
||||||
torrentInfo.DownloadUrl = torrent.download_url;
|
torrentInfo.DownloadUrl = torrent.download_url;
|
||||||
torrentInfo.InfoUrl = torrent.details_url;
|
torrentInfo.InfoUrl = torrent.details_url;
|
||||||
torrentInfo.PublishDate = new System.DateTime();
|
torrentInfo.PublishDate = torrent.publishdate.ToUniversalTime();
|
||||||
torrentInfo.Seeders = torrent.seeders;
|
torrentInfo.Seeders = torrent.seeders;
|
||||||
torrentInfo.Peers = torrent.leechers + torrent.seeders;
|
torrentInfo.Peers = torrent.leechers + torrent.seeders;
|
||||||
torrentInfo.Freeleech = torrent.freeleech;
|
torrentInfo.Freeleech = torrent.freeleech;
|
||||||
torrentInfo.PublishDate = torrent.publishdate.ToUniversalTime();
|
|
||||||
|
|
||||||
results.Add(torrentInfo);
|
results.Add(torrentInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue