aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-06-22 12:25:47 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-06-22 12:25:47 -0400
commit3b30a2aee09bb045e466486fc0fff8a11cc6de74 (patch)
tree051b157b6509631e077cf3c83153bead3a851ea3 /MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
parent414b1251c791dd914e51a5cfd7afeeaaf912e8a3 (diff)
detect anamorphic video
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs6
1 files changed, 6 insertions, 0 deletions
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;