mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 13:53:15 -07:00
allow reading of command paths.
This commit is contained in:
parent
f9f8e2dbf0
commit
ec7d3e0d51
1 changed files with 6 additions and 3 deletions
|
@ -58,6 +58,9 @@ TV_Cat = config.get("SickBeard", "category")
|
||||||
Movie_dest = config.get("CouchPotato", "destination")
|
Movie_dest = config.get("CouchPotato", "destination")
|
||||||
TV_dest = config.get("CouchPotato", "destination")
|
TV_dest = config.get("CouchPotato", "destination")
|
||||||
Use_cp = int(config.get("Transmission", "copy"))
|
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:
|
if Category == Movie_Cat:
|
||||||
destination = Movie_dest
|
destination = Movie_dest
|
||||||
|
@ -93,13 +96,13 @@ if glob.glob(test):
|
||||||
#status = 1
|
#status = 1
|
||||||
if ziped:
|
if ziped:
|
||||||
#unzip here and reset status to 0 is successful
|
#unzip here and reset status to 0 is successful
|
||||||
|
#unzip
|
||||||
if par2:
|
if par2:
|
||||||
#parcheck here
|
#parcheck here
|
||||||
|
#parcheck
|
||||||
if rared:
|
if rared:
|
||||||
#unrar here and reset status to 0 if successful
|
#unrar here and reset status to 0 if successful
|
||||||
|
#unrar
|
||||||
status = 0
|
status = 0
|
||||||
|
|
||||||
status = int(status)
|
status = int(status)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue