mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
Testing new idea for CP adding of movies not in wanted list.
This commit is contained in:
parent
dea4c5d32a
commit
bd6881b33e
3 changed files with 9 additions and 4 deletions
|
@ -297,6 +297,10 @@ def main(args):
|
||||||
if results != 0:
|
if results != 0:
|
||||||
result = results
|
result = results
|
||||||
logger.error("A problem was reported when trying to manually run %s:%s." % (section, category))
|
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:
|
else:
|
||||||
logger.warning("%s:%s is DISABLED, you can enable this in autoProcessMedia.cfg ..." % (section, category))
|
logger.warning("%s:%s is DISABLED, you can enable this in autoProcessMedia.cfg ..." % (section, category))
|
||||||
|
|
||||||
|
|
|
@ -429,7 +429,8 @@ def main(args, section=None):
|
||||||
result = results
|
result = results
|
||||||
|
|
||||||
if len(dirNames) == 0:
|
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:
|
else:
|
||||||
logger.debug("nzbToMedia %s:%s is DISABLED" % (section, category))
|
logger.debug("nzbToMedia %s:%s is DISABLED" % (section, category))
|
||||||
|
|
||||||
|
|
|
@ -130,9 +130,9 @@ class autoProcessMovie:
|
||||||
|
|
||||||
imdbid = find_imdbid(dirName, nzbName)
|
imdbid = find_imdbid(dirName, nzbName)
|
||||||
release = self.get_release(baseURL, imdbid, download_id)
|
release = self.get_release(baseURL, imdbid, download_id)
|
||||||
if not release:
|
#if not release:
|
||||||
logger.error('Unable to find %s in your wanted list, skipping ...' % (nzbName), section)
|
# logger.error('Unable to find %s in your wanted list, skipping ...' % (nzbName), section)
|
||||||
return 1
|
# return 1
|
||||||
|
|
||||||
# pull info from release found if available
|
# pull info from release found if available
|
||||||
release_id = None
|
release_id = None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue