mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 22:03:13 -07:00
uTorrent, not Transmission
That was silly of me
This commit is contained in:
parent
e6bb628f9c
commit
0ec776c478
1 changed files with 7 additions and 7 deletions
|
@ -40,15 +40,15 @@ import glob
|
||||||
Directory = sys.argv[1]
|
Directory = sys.argv[1]
|
||||||
Name = sys.argv[2]
|
Name = sys.argv[2]
|
||||||
Categoty = sys.argv[3]
|
Categoty = sys.argv[3]
|
||||||
print "transmissionToMedia v 4.0"
|
print "uTorrentToMedia v 4.0"
|
||||||
|
|
||||||
config = ConfigParser.ConfigParser()
|
config = ConfigParser.ConfigParser()
|
||||||
configFilename = os.path.join(os.path.dirname(sys.argv[0]), "TransmissionToMedia.cfg")
|
configFilename = os.path.join(os.path.dirname(sys.argv[0]), "uTorrentToMedia.cfg")
|
||||||
|
|
||||||
print "Loading config from", configFilename
|
print "Loading config from", configFilename
|
||||||
|
|
||||||
if not os.path.isfile(configFilename):
|
if not os.path.isfile(configFilename):
|
||||||
print "ERROR: You need an autoProcessMovie.cfg file - did you rename and edit the .sample?"
|
print "ERROR: You need a uTorrentToMedia.cfg file - did you rename and edit the .sample?"
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
config.read(configFilename)
|
config.read(configFilename)
|
||||||
|
@ -57,10 +57,10 @@ Movie_Cat = config.get("CouchPotato", "category")
|
||||||
TV_Cat = config.get("SickBeard", "category")
|
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("uTorrent", "copy"))
|
||||||
unrar = config.get("Transmission", "unrar")
|
unrar = config.get("uTorrent", "unrar")
|
||||||
unzip = config.get("Transmission", "unzip")
|
unzip = config.get("uTorrent", "unzip")
|
||||||
parcheck = config.get("Transmission", "parcheck")
|
parcheck = config.get("uTorrent", "parcheck")
|
||||||
|
|
||||||
if Category == Movie_Cat:
|
if Category == Movie_Cat:
|
||||||
destination = Movie_dest
|
destination = Movie_dest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue