diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-11-27 15:18:00 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-27 15:18:00 -0500 |
| commit | 9e452423e5f3a3811338bdad60c406baf8f3de26 (patch) | |
| tree | d3075523535d00c4e4fb579dbf8863d742a21a40 /Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs | |
| parent | acc17634a4cf5b8bff4fec6e7334f814fad78eb0 (diff) | |
| parent | 26edcfefbb031a98f2d6f64b692bba07587614b7 (diff) | |
Merge pull request #3045 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs | 11 |
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; |
