From 28019b0a096bdc36e2cef259cf4925c7b84de9e0 Mon Sep 17 00:00:00 2001 From: Mathew Paret Date: Mon, 10 Nov 2014 18:39:58 +0530 Subject: [PATCH] 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 --- couchpotato/core/downloaders/transmission.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/couchpotato/core/downloaders/transmission.py b/couchpotato/core/downloaders/transmission.py index d6112a9..400e00c 100644 --- a/couchpotato/core/downloaders/transmission.py +++ b/couchpotato/core/downloaders/transmission.py @@ -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'