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.
This commit is contained in:
Odd Stråbø
2020-07-25 23:50:49 +02:00
parent e3db0ac400
commit 11d5410dbb
2 changed files with 25 additions and 4 deletions

View File

@@ -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",