aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-17 16:35:08 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-17 16:35:08 -0500
commit1a9e2dfd83dbab2e9a5f277229c5994253fd8a9a (patch)
tree157ac5c2ee2e226560d04d61fef79445b23c231d /MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
parent4ebba2b2e87e33f083c095957a2294b6f8ae3828 (diff)
fixed themoviedb search returning no results
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs20
1 files changed, 9 insertions, 11 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs b/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
index 98a87d03d..c830c13b8 100644
--- a/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
+++ b/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
@@ -17,17 +17,15 @@ namespace MediaBrowser.Server.Implementations.Library
/// <summary>
/// Any folder named in this list will be ignored - can be added to at runtime for extensibility
/// </summary>
- private static readonly Dictionary<string,string> IgnoreFolders = new List<string>
+ private static readonly Dictionary<string, string> IgnoreFolders = new List<string>
{
- "metadata",
- "certificate",
- "backup",
- "ps3_update",
- "ps3_vprm",
- "adv_obj",
- "extrafanart",
- "extrathumbs",
- ".actors"
+ "metadata",
+ "ps3_update",
+ "ps3_vprm",
+ "extrafanart",
+ "extrathumbs",
+ ".actors",
+ ".wd_tv"
}.ToDictionary(i => i, StringComparer.OrdinalIgnoreCase);
@@ -51,7 +49,7 @@ namespace MediaBrowser.Server.Implementations.Library
// https://github.com/MediaBrowser/MediaBrowser/issues/427
if (filename.IndexOf("._", StringComparison.OrdinalIgnoreCase) == 0)
{
- return true;
+ return true;
}
// Ignore hidden files and folders