exclude backdrops from photos
This commit is contained in:
parent
b6254996cc
commit
9830d067a2
|
@ -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;
|
||||
}
|
||||
|
@ -98,4 +98,4 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers
|
|||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user