Private GIT

Skip to content
Snippets Groups Projects
Commit 8b3b40e4 authored by miigotu's avatar miigotu
Browse files

Merge pull request #2648 from SiCKRAGETV/ignore-syno-thumdir

Also ignore thumbnail dirs on syno when processing a folder
parents 5e5a63e2 fe9e5f3f
Branches
Tags
No related merge requests found
......@@ -311,10 +311,9 @@ def validateDir(path, dirName, nzbNameOriginal, failed, result):
:return: True if dir is valid for processing, False if not
"""
IGNORED_FOLDERS = ['.@__thumb']
IGNORED_FOLDERS = ['.@__thumb', '@eaDir']
folder_name = ek(os.path.basename, dirName)
for ignored_folder in IGNORED_FOLDERS:
if folder_name == ignored_folder:
if folder_name in IGNORED_FOLDERS:
return False
result.output += logHelper(u"Processing folder " + dirName, logger.DEBUG)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment