mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-02-05 15:37:14 +00:00
Fixed: Error getting seed config for rtorrent
This commit is contained in:
@@ -175,7 +175,7 @@ namespace NzbDrone.Core.Download.Clients.RTorrent
|
||||
|
||||
// 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 @@ namespace NzbDrone.Core.Download
|
||||
}
|
||||
|
||||
ParsedBookInfo parsedBookInfo = null;
|
||||
if (historyItem.SourceTitle != null)
|
||||
if (historyItem.Release != null)
|
||||
{
|
||||
parsedBookInfo = Parser.Parser.ParseBookTitle(historyItem.Release.Title);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user