Added more detailed logging for enabled/disabled sub-sections to manual run

This commit is contained in:
echel0n 2014-04-07 03:14:40 -07:00
commit 7c8643d92f
6 changed files with 12 additions and 0 deletions

View file

@ -246,6 +246,8 @@ else:
if results != 0: if results != 0:
result = results result = results
Logger.info("MAIN: A problem was reported when trying to manually run %s:%s.", section, subsection) Logger.info("MAIN: A problem was reported when trying to manually run %s:%s.", section, subsection)
else:
Logger.info("MAIN: nzbTo%s %s:%s is DISABLED, you can enable this in autoProcessMedia.cfg ...", section, section, category)
if result == 0: if result == 0:
Logger.info("MAIN: The autoProcessMovie script completed successfully.") Logger.info("MAIN: The autoProcessMovie script completed successfully.")

View file

@ -176,6 +176,8 @@ else:
if results != 0: if results != 0:
result = results result = results
Logger.info("MAIN: A problem was reported when trying to manually run %s:%s.", section, category) Logger.info("MAIN: A problem was reported when trying to manually run %s:%s.", section, category)
else:
Logger.info("MAIN: nzbTo%s %s:%s is DISABLED, you can enable this in autoProcessMedia.cfg ...", section, section, category)
if result == 0: if result == 0:
Logger.info("MAIN: The autoProcessGames script completed successfully.") Logger.info("MAIN: The autoProcessGames script completed successfully.")

View file

@ -186,6 +186,8 @@ else:
if results != 0: if results != 0:
result = results result = results
Logger.info("MAIN: A problem was reported when trying to manually run %s:%s.", section, category) Logger.info("MAIN: A problem was reported when trying to manually run %s:%s.", section, category)
else:
Logger.info("MAIN: nzbTo%s %s:%s is DISABLED, you can enable this in autoProcessMedia.cfg ...", section, section, category)
if result == 0: if result == 0:
Logger.info("MAIN: The autoProcessMusic script completed successfully.") Logger.info("MAIN: The autoProcessMusic script completed successfully.")

View file

@ -178,6 +178,8 @@ else:
if results != 0: if results != 0:
result = results result = results
Logger.info("MAIN: A problem was reported when trying to manually run %s:%s.", section, category) Logger.info("MAIN: A problem was reported when trying to manually run %s:%s.", section, category)
else:
Logger.info("MAIN: nzbTo%s %s:%s is DISABLED, you can enable this in autoProcessMedia.cfg ...", section, section, category)
if result == 0: if result == 0:
Logger.info("MAIN: The autoProcessComics script completed successfully.") Logger.info("MAIN: The autoProcessComics script completed successfully.")

View file

@ -210,6 +210,8 @@ else:
if results != 0: if results != 0:
result = results result = results
Logger.info("MAIN: A problem was reported when trying to manually run %s:%s.", section, category) Logger.info("MAIN: A problem was reported when trying to manually run %s:%s.", section, category)
else:
Logger.info("MAIN: nzbTo%s %s:%s is DISABLED, you can enable this in autoProcessMedia.cfg ...", section,section, category)
if result == 0: if result == 0:
Logger.info("MAIN: The autoProcessTV script completed successfully.") Logger.info("MAIN: The autoProcessTV script completed successfully.")

View file

@ -243,6 +243,8 @@ else:
if results != 0: if results != 0:
result = results result = results
Logger.info("MAIN: A problem was reported when trying to manually run %s:%s.", section, category) Logger.info("MAIN: A problem was reported when trying to manually run %s:%s.", section, category)
else:
Logger.info("MAIN: nzbTo%s %s:%s is DISABLED, you can enable this in autoProcessMedia.cfg ...", section, section, category)
if result == 0: if result == 0:
Logger.info("MAIN: The autoProcessTV script completed successfully.") Logger.info("MAIN: The autoProcessTV script completed successfully.")