From 7c8643d92f2fd9d6c7e1ad85caf09b1015a68db2 Mon Sep 17 00:00:00 2001 From: echel0n Date: Mon, 7 Apr 2014 03:14:40 -0700 Subject: [PATCH] Added more detailed logging for enabled/disabled sub-sections to manual run --- nzbToCouchPotato.py | 2 ++ nzbToGamez.py | 2 ++ nzbToHeadPhones.py | 2 ++ nzbToMylar.py | 2 ++ nzbToNzbDrone.py | 2 ++ nzbToSickBeard.py | 2 ++ 6 files changed, 12 insertions(+) diff --git a/nzbToCouchPotato.py b/nzbToCouchPotato.py index 8476baae..72f3ff76 100755 --- a/nzbToCouchPotato.py +++ b/nzbToCouchPotato.py @@ -246,6 +246,8 @@ else: if results != 0: result = results 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: Logger.info("MAIN: The autoProcessMovie script completed successfully.") diff --git a/nzbToGamez.py b/nzbToGamez.py index fdf93d5b..39f82d5c 100755 --- a/nzbToGamez.py +++ b/nzbToGamez.py @@ -176,6 +176,8 @@ else: if results != 0: result = results 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: Logger.info("MAIN: The autoProcessGames script completed successfully.") diff --git a/nzbToHeadPhones.py b/nzbToHeadPhones.py index eea0622d..84315e3d 100755 --- a/nzbToHeadPhones.py +++ b/nzbToHeadPhones.py @@ -186,6 +186,8 @@ else: if results != 0: result = results 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: Logger.info("MAIN: The autoProcessMusic script completed successfully.") diff --git a/nzbToMylar.py b/nzbToMylar.py index cbfafe40..ed77bd00 100755 --- a/nzbToMylar.py +++ b/nzbToMylar.py @@ -178,6 +178,8 @@ else: if results != 0: result = results 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: Logger.info("MAIN: The autoProcessComics script completed successfully.") diff --git a/nzbToNzbDrone.py b/nzbToNzbDrone.py index e724fef6..65b132af 100755 --- a/nzbToNzbDrone.py +++ b/nzbToNzbDrone.py @@ -210,6 +210,8 @@ else: if results != 0: result = results 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: Logger.info("MAIN: The autoProcessTV script completed successfully.") diff --git a/nzbToSickBeard.py b/nzbToSickBeard.py index a48e0891..b51a9754 100755 --- a/nzbToSickBeard.py +++ b/nzbToSickBeard.py @@ -243,6 +243,8 @@ else: if results != 0: result = results 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: Logger.info("MAIN: The autoProcessTV script completed successfully.")