From 3b30a2aee09bb045e466486fc0fff8a11cc6de74 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 22 Jun 2014 12:25:47 -0400 Subject: detect anamorphic video --- .../Library/CoreResolutionIgnoreRule.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs') diff --git a/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs b/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs index c830c13b8..17118f4b4 100644 --- a/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs +++ b/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs @@ -116,6 +116,12 @@ namespace MediaBrowser.Server.Implementations.Library return true; } } + + // Ignore samples + if (filename.IndexOf(".sample.", StringComparison.OrdinalIgnoreCase) != -1) + { + return true; + } } return false; -- cgit v1.2.3