mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
don't misidentify xbmc trailers as movies
This commit is contained in:
parent
adfa53cad7
commit
5355ac4021
1 changed files with 6 additions and 0 deletions
|
@ -157,6 +157,12 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Movies
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Don't misidentify xbmc trailers as a movie
|
||||||
|
if (child.Name.IndexOf("-trailer", StringComparison.OrdinalIgnoreCase) != -1)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
var childArgs = new ItemResolveArgs(ApplicationPaths)
|
var childArgs = new ItemResolveArgs(ApplicationPaths)
|
||||||
{
|
{
|
||||||
FileInfo = child,
|
FileInfo = child,
|
||||||
|
|
Loading…
Reference in a new issue