Fixed issue with downloads being added prematurely when the torrent is in the Processing state.
This commit is contained in:
parent
8817d8df3b
commit
0489ab1115
1 changed files with 2 additions and 1 deletions
|
|
@ -335,7 +335,8 @@ namespace RdtClient.Service.Services
|
|||
}
|
||||
|
||||
// RealDebrid is waiting for file selection, select which files to download.
|
||||
if (torrent.RdStatus == RealDebridStatus.WaitingForFileSelection || torrent.Downloads.Count == 0)
|
||||
if (torrent.RdStatus == RealDebridStatus.WaitingForFileSelection ||
|
||||
(torrent.RdStatus == RealDebridStatus.Finished && torrent.Downloads.Count == 0))
|
||||
{
|
||||
Log.Debug($"Torrent {torrent.RdId} selecting files");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue