Testing new idea for CP adding of movies not in wanted list.

This commit is contained in:
echel0n 2014-04-21 11:39:20 -07:00
commit bd6881b33e
3 changed files with 9 additions and 4 deletions

View file

@ -297,6 +297,10 @@ def main(args):
if results != 0:
result = results
logger.error("A problem was reported when trying to manually run %s:%s." % (section, category))
if len(dirNames) == 0:
logger.info('[%s] - No directories found to post-process ...' % (str(category).upper()),
section)
else:
logger.warning("%s:%s is DISABLED, you can enable this in autoProcessMedia.cfg ..." % (section, category))

View file

@ -429,7 +429,8 @@ def main(args, section=None):
result = results
if len(dirNames) == 0:
logger.info('[%s] - No directories found to post-process ...' % (str(category).upper()), section)
logger.info('[%s] - No directories found to post-process ...' % (str(category).upper()),
section)
else:
logger.debug("nzbToMedia %s:%s is DISABLED" % (section, category))

View file

@ -130,9 +130,9 @@ class autoProcessMovie:
imdbid = find_imdbid(dirName, nzbName)
release = self.get_release(baseURL, imdbid, download_id)
if not release:
logger.error('Unable to find %s in your wanted list, skipping ...' % (nzbName), section)
return 1
#if not release:
# logger.error('Unable to find %s in your wanted list, skipping ...' % (nzbName), section)
# return 1
# pull info from release found if available
release_id = None