aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-11-27 14:09:51 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-11-27 14:09:51 -0500
commitd06532c6029592e8fe1c0564b9286f086f438a7b (patch)
tree17a59e4a8e63e068ee01a13770340396280c9e6a /Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
parent808f2f3095c18c18be7a6fd957ddeda2c4c97693 (diff)
update rules for samples
Diffstat (limited to 'Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs')
-rw-r--r--Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs11
1 files changed, 0 insertions, 11 deletions
diff --git a/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs b/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
index 961f9886c..5c3e1dab1 100644
--- a/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
+++ b/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
@@ -141,17 +141,6 @@ namespace Emby.Server.Implementations.Library
return true;
}
}
-
- // Ignore samples
- var sampleFilename = " " + filename.Replace(".", " ", StringComparison.OrdinalIgnoreCase)
- .Replace("-", " ", StringComparison.OrdinalIgnoreCase)
- .Replace("_", " ", StringComparison.OrdinalIgnoreCase)
- .Replace("!", " ", StringComparison.OrdinalIgnoreCase);
-
- if (sampleFilename.IndexOf(" sample ", StringComparison.OrdinalIgnoreCase) != -1)
- {
- return true;
- }
}
return false;