aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/IgnorePatterns.cs
diff options
context:
space:
mode:
authorOdd Stråbø <oddstr13@openshell.no>2020-07-26 23:28:25 +0200
committerOdd Stråbø <oddstr13@openshell.no>2020-07-26 23:28:25 +0200
commit9314a4fcc92bb0c348cc56c6c20503c9d16d8b68 (patch)
tree4ad4fd64fad93655796e6f01d42e96eaaf23821b /Emby.Server.Implementations/Library/IgnorePatterns.cs
parent7fa80ac3e0695eaf279eeef6ac643044f0e399ba (diff)
.
Diffstat (limited to 'Emby.Server.Implementations/Library/IgnorePatterns.cs')
-rw-r--r--Emby.Server.Implementations/Library/IgnorePatterns.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/Emby.Server.Implementations/Library/IgnorePatterns.cs b/Emby.Server.Implementations/Library/IgnorePatterns.cs
index 8a85c852a..e30a67593 100644
--- a/Emby.Server.Implementations/Library/IgnorePatterns.cs
+++ b/Emby.Server.Implementations/Library/IgnorePatterns.cs
@@ -21,16 +21,17 @@ namespace Emby.Server.Implementations.Library
// We have neither non-greedy matching or character group repetitions, working around that here.
// https://github.com/dazinator/DotNet.Glob#patterns
+ // .*/sample\..{1,5}
+ "**/sample.?",
+ "**/sample.??",
+ "**/sample.???", // Matches sample.mkv
+ "**/sample.????", // Matches sample.webm
+ "**/sample.?????",
"**/*.sample.?",
"**/*.sample.??",
"**/*.sample.???",
"**/*.sample.????",
"**/*.sample.?????",
- "**/sample.?",
- "**/sample.??",
- "**/sample.???",
- "**/sample.????",
- "**/sample.?????",
"**/sample/*",
// Directories