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:
Ruud Burger
2014-12-01 15:41:41 +01:00

View File

@@ -121,6 +121,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'