mirror of
https://github.com/Readarr/Readarr
synced 2025-12-15 21:02:40 +01:00
Fixed: Error getting seed config for rtorrent
This commit is contained in:
parent
d1f1052d7d
commit
5827644300
2 changed files with 2 additions and 2 deletions
|
|
@ -175,7 +175,7 @@ public override IEnumerable<DownloadClientItem> GetItems()
|
|||
|
||||
// Check if torrent is finished and if it exceeds cached seedConfig
|
||||
item.CanMoveFiles = item.CanBeRemoved =
|
||||
torrent.IsFinished &&
|
||||
torrent.IsFinished && seedConfig != null &&
|
||||
((torrent.Ratio / 1000.0) >= seedConfig.Ratio ||
|
||||
(DateTimeOffset.Now - DateTimeOffset.FromUnixTimeSeconds(torrent.FinishedTime)) >= seedConfig.SeedTime);
|
||||
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ private CachedSeedConfiguration FetchIndexer(string infoHash)
|
|||
}
|
||||
|
||||
ParsedBookInfo parsedBookInfo = null;
|
||||
if (historyItem.SourceTitle != null)
|
||||
if (historyItem.Release != null)
|
||||
{
|
||||
parsedBookInfo = Parser.Parser.ParseBookTitle(historyItem.Release.Title);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue