From ec7d3e0d517508dabb794918094adaf2649b89fa Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Thu, 31 Jan 2013 22:04:47 -0800 Subject: [PATCH] allow reading of command paths. --- TransmissionToMedia | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/TransmissionToMedia b/TransmissionToMedia index 9d39c44c..ccf65d38 100644 --- a/TransmissionToMedia +++ b/TransmissionToMedia @@ -58,6 +58,9 @@ TV_Cat = config.get("SickBeard", "category") Movie_dest = config.get("CouchPotato", "destination") TV_dest = config.get("CouchPotato", "destination") Use_cp = int(config.get("Transmission", "copy")) +unrar = config.get("Transmission", "unrar") +unzip = config.get("Transmission", "unzip") +parcheck = config.get("Transmission", "parcheck") if Category == Movie_Cat: destination = Movie_dest @@ -93,13 +96,13 @@ if glob.glob(test): #status = 1 if ziped: #unzip here and reset status to 0 is successful - + #unzip if par2: #parcheck here - + #parcheck if rared: #unrar here and reset status to 0 if successful - + #unrar status = 0 status = int(status)