From 66d0cb4a1b5d64e5d3375315bc02d0ec8d4d1282 Mon Sep 17 00:00:00 2001 From: rembo10 Date: Mon, 28 Apr 2014 15:56:52 -0700 Subject: [PATCH] Added some more logging to see why postprocessor is not automatically running --- headphones/postprocessor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headphones/postprocessor.py b/headphones/postprocessor.py index e07a983f..dca29f7e 100644 --- a/headphones/postprocessor.py +++ b/headphones/postprocessor.py @@ -56,7 +56,7 @@ def checkFolder(): for nzb_folder_name in nzb_album_possibilities: nzb_album_path = os.path.join(headphones.DOWNLOAD_DIR, nzb_folder_name).encode(headphones.SYS_ENCODING, 'replace') - + logger.info("Checking if %s exists" % nzb_album_path) if os.path.exists(nzb_album_path): logger.info('Found %s in NZB download folder. Verifying....' % album['FolderName']) verify(album['AlbumID'], nzb_album_path, 'nzb') @@ -64,7 +64,7 @@ def checkFolder(): if album['Kind'] == 'torrent': torrent_album_path = os.path.join(headphones.DOWNLOAD_TORRENT_DIR, album['FolderName']).encode(headphones.SYS_ENCODING,'replace') - + logger.info("Checking if %s exists" % torrent_album_path) if os.path.exists(torrent_album_path): logger.info('Found %s in torrent download folder. Verifying....' % album['FolderName']) verify(album['AlbumID'], torrent_album_path, 'torrent')