exclude backdrops from photos

This commit is contained in:
Luke Pulverenti 2016-09-30 23:34:24 -04:00
parent b6254996cc
commit 9830d067a2

View File

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