From 5c89a52f23d80bb546fa3b43140c47d44ac05c1e Mon Sep 17 00:00:00 2001 From: jeremiahelroy Date: Tue, 1 Apr 2014 00:48:08 -0400 Subject: [PATCH] making the scanner follow symlinks --- couchpotato/core/plugins/scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/scanner.py b/couchpotato/core/plugins/scanner.py index 9818ff0..6b7c7b0 100644 --- a/couchpotato/core/plugins/scanner.py +++ b/couchpotato/core/plugins/scanner.py @@ -129,7 +129,7 @@ class Scanner(Plugin): check_file_date = True try: files = [] - for root, dirs, walk_files in scandir.walk(folder): + for root, dirs, walk_files in scandir.walk(folder, followlinks=True): files.extend([sp(os.path.join(root, filename)) for filename in walk_files]) # Break if CP wants to shut down