autoProcessMovie now returns newest snatched download if it fails to have a download_id to use or a imdbid, this ensures a release is always returned now even for manual runs.

This commit is contained in:
echel0n 2014-04-14 13:10:11 -07:00
commit a24c37ce6b
3 changed files with 25 additions and 6 deletions

View file

@ -319,7 +319,7 @@ def process(nzbDir, inputName=None, status=0, clientAgent='manual', download_id=
result = autoProcessGames().process(nzbDir, inputName, status, clientAgent, inputCategory)
else:
logger.postprocess("We could not find a section with the download category of %s in your autoProcessMedia.cfg. Exiting.", inputCategory)
return -1
result = -1
if result == 0:
# Clean up any leftover files