1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Fixed: Ignore more folder names when browsing file system

This commit is contained in:
Mark McDowall 2016-06-03 19:12:33 -07:00
parent 902d6929c0
commit f0437d1f22

View File

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