mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
fix parsing of json data for movie id. fixes #182
This commit is contained in:
parent
be8b9c68c9
commit
12ff0c4a34
2 changed files with 31 additions and 26 deletions
|
@ -185,12 +185,7 @@ def main(inputDirectory, inputName, inputCategory, inputHash, inputID):
|
|||
|
||||
if inputCategory == cpsCategory:
|
||||
Logger.info("MAIN: Calling CouchPotatoServer to post-process: %s", inputName)
|
||||
if clientAgent == 'utorrent' and inputHash != '':
|
||||
download_id = 'uTorrent_' + inputHash
|
||||
elif clientAgent == 'transmission' and inputHash != '':
|
||||
download_id = 'Transmission_' + inputHash
|
||||
else:
|
||||
download_id = inputHash
|
||||
download_id = inputHash
|
||||
result = autoProcessMovie.process(outputDestination, inputName, status, clientAgent, download_id)
|
||||
elif inputCategory == sbCategory:
|
||||
Logger.info("MAIN: Calling Sick-Beard to post-process: %s", inputName)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue