Fixed: Ignore more folder names when browsing file system

pull/6/head
Mark McDowall 9 years ago
parent 902d6929c0
commit f0437d1f22

@ -20,7 +20,7 @@ namespace NzbDrone.Common.Disk
private readonly HashSet<string> _setToRemove = new HashSet<string> private readonly HashSet<string> _setToRemove = new HashSet<string>
{ {
//Windows // Windows
"boot", "boot",
"bootmgr", "bootmgr",
"cache", "cache",
@ -32,14 +32,20 @@ namespace NzbDrone.Common.Disk
"temporary internet files", "temporary internet files",
"windows", "windows",
//OS X // OS X
".fseventd", ".fseventd",
".spotlight", ".spotlight",
".trashes", ".trashes",
".vol", ".vol",
"cachedmessages", "cachedmessages",
"caches", "caches",
"trash" "trash",
// QNAP
".@__thumb",
// Synology
"@eadir"
}; };
public FileSystemLookupService(IDiskProvider diskProvider, Logger logger) public FileSystemLookupService(IDiskProvider diskProvider, Logger logger)

Loading…
Cancel
Save