diff options
| author | Odd Stråbø <oddstr13@openshell.no> | 2020-07-25 23:50:49 +0200 |
|---|---|---|
| committer | Odd Stråbø <oddstr13@openshell.no> | 2020-07-25 23:50:49 +0200 |
| commit | 11d5410dbb2df9e6c4e5ad5de4cc5db741014c09 (patch) | |
| tree | 5921387be2e1439baa71c82cd27757dc72eda33d /Emby.Server.Implementations/Library/IgnorePatterns.cs | |
| parent | e3db0ac400e7a1a42e7a844a13ab052d26125612 (diff) | |
Don't ignore dot directories.
Use `.ignore` file to hide directory from library scan.
Also, please tell me we handle sample matching somewhere else? This is a mess.
Diffstat (limited to 'Emby.Server.Implementations/Library/IgnorePatterns.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/IgnorePatterns.cs | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/Library/IgnorePatterns.cs b/Emby.Server.Implementations/Library/IgnorePatterns.cs index 6e6ef1359..cb93453ea 100644 --- a/Emby.Server.Implementations/Library/IgnorePatterns.cs +++ b/Emby.Server.Implementations/Library/IgnorePatterns.cs @@ -18,7 +18,17 @@ namespace Emby.Server.Implementations.Library { "**/small.jpg", "**/albumart.jpg", - "**/*sample*", + + // What is this reg ex you speak of? + "**/*.sample.?", + "**/*.sample.??", + "**/*.sample.????", + "**/*.sample.?????", + "**/sample.?", + "**/sample.??", + "**/sample.????", + "**/sample.?????", + "**/sample/*", // Directories "**/metadata/**", @@ -64,10 +74,13 @@ namespace Emby.Server.Implementations.Library "**/.grab/**", "**/.grab", - // Unix hidden files and directories - "**/.*/**", + // Unix hidden files "**/.*", + // Mac - if you ever remove the above. + // "**/._*", + // "**/.DS_Store", + // thumbs.db "**/thumbs.db", |
