exclude backdrops from photos

This commit is contained in:
Luke Pulverenti 2016-09-20 11:22:00 -04:00
parent dd8601f515
commit 55bbc051c2

View File

@ -89,7 +89,7 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers
return false; return false;
} }
if (IgnoreFiles.Any(i => filename.IndexOf("-" + i, StringComparison.OrdinalIgnoreCase) != -1)) if (IgnoreFiles.Any(i => filename.IndexOf(i, StringComparison.OrdinalIgnoreCase) != -1))
{ {
return false; return false;
} }