don't misidentify xbmc trailers as movies

pull/702/head
Luke Pulverenti 12 years ago
parent adfa53cad7
commit 5355ac4021

@ -157,6 +157,12 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Movies
continue;
}
// Don't misidentify xbmc trailers as a movie
if (child.Name.IndexOf("-trailer", StringComparison.OrdinalIgnoreCase) != -1)
{
continue;
}
var childArgs = new ItemResolveArgs(ApplicationPaths)
{
FileInfo = child,

Loading…
Cancel
Save