diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-24 12:37:12 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-24 12:37:12 -0400 |
| commit | 191befa7888bae6c4f4265200aa2bc0e1e96fbf1 (patch) | |
| tree | 482f005485d81315730c1e26922f1d2e436ae780 /MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs | |
| parent | 5f75f9ce877e73a07c029f82c2e4df3d78f095dd (diff) | |
improve theme song methods
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs b/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs index a120f074e..04c247f7e 100644 --- a/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs +++ b/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs @@ -18,7 +18,6 @@ namespace MediaBrowser.Server.Implementations.Library /// </summary> private static readonly List<string> IgnoreFolders = new List<string> { - "trailers", "metadata", "certificate", "backup", @@ -55,6 +54,16 @@ namespace MediaBrowser.Server.Implementations.Library { return true; } + + if (string.Equals(filename, BaseItem.TrailerFolderName, StringComparison.OrdinalIgnoreCase)) + { + return true; + } + + if (string.Equals(filename, BaseItem.ThemeSongsFolderName, StringComparison.OrdinalIgnoreCase)) + { + return true; + } } return false; |
