Transmission status 16 is for "Stopped". So we need to detect a download as completed even if it is stopped but percent done is 100
This commit is contained in:
1 parent
4b66b0ea07
commit
28019b0a09
1 file changed
+2
@@ -119,6 +119,8 @@ class Transmission(DownloaderBase):
|
||||
status = 'failed'
|
||||
elif torrent['status'] == 0 and torrent['percentDone'] == 1:
|
||||
status = 'completed'
|
||||
elif torrent['status'] == 16 and torrent['percentDone'] == 1:
|
||||
status = 'completed'
|
||||
elif torrent['status'] in [5, 6]:
|
||||
status = 'seeding'
|
||||
|
||||
|
||||
Reference in new issue
Block a user