diff --git a/nzbtomedia/Transcoder.py b/nzbtomedia/Transcoder.py index 04d79c14..a26a642c 100644 --- a/nzbtomedia/Transcoder.py +++ b/nzbtomedia/Transcoder.py @@ -27,12 +27,6 @@ class Transcoder: ffmpeg = 'ffmpeg' useNiceness = True - logger.info("Loading config from %s", nzbtomedia.CONFIG_FILE) - - if not nzbtomedia.CFG: - logger.error("You need an autoProcessMedia.cfg file - did you rename and edit the .sample?") - return 1 # failure - mediaContainer = (nzbtomedia.CFG["Transcoder"]["duplicate"]) duplicate = int(nzbtomedia.CFG["Transcoder"]["duplicate"]) ignoreExtensions = (nzbtomedia.CFG["Transcoder"]["ignoreExtensions"]) diff --git a/nzbtomedia/extractor/extractor.py b/nzbtomedia/extractor/extractor.py index 0ed7b64d..e577db16 100644 --- a/nzbtomedia/extractor/extractor.py +++ b/nzbtomedia/extractor/extractor.py @@ -93,8 +93,6 @@ def extract(filePath, outputDestination): # Create outputDestination folder create_destination(outputDestination) - logger.info("Loading config from %s", nzbtomedia.CONFIG_FILE) - passwordsfile = nzbtomedia.CFG["passwords"]["PassWordFile"] if passwordsfile != "" and os.path.isfile(os.path.normpath(passwordsfile)): passwords = [line.strip() for line in open(os.path.normpath(passwordsfile))]