Merge pull request #4258 from glibix/develop
Transmission status 16 is for "Stopped". So we need to detect a download...
This commit is contained in:
@@ -121,6 +121,8 @@ class Transmission(DownloaderBase):
|
|||||||
status = 'failed'
|
status = 'failed'
|
||||||
elif torrent['status'] == 0 and torrent['percentDone'] == 1:
|
elif torrent['status'] == 0 and torrent['percentDone'] == 1:
|
||||||
status = 'completed'
|
status = 'completed'
|
||||||
|
elif torrent['status'] == 16 and torrent['percentDone'] == 1:
|
||||||
|
status = 'completed'
|
||||||
elif torrent['status'] in [5, 6]:
|
elif torrent['status'] in [5, 6]:
|
||||||
status = 'seeding'
|
status = 'seeding'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user