mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
fixes for multi-file movies
This commit is contained in:
parent
c5b00dec8e
commit
3eb6b316d0
1 changed files with 1 additions and 7 deletions
|
@ -182,12 +182,6 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Movies
|
||||||
|
|
||||||
if (item != null)
|
if (item != null)
|
||||||
{
|
{
|
||||||
// If we already know it's a movie, we can stop looping
|
|
||||||
if (isKnownMovie)
|
|
||||||
{
|
|
||||||
return item;
|
|
||||||
}
|
|
||||||
|
|
||||||
movies.Add(item);
|
movies.Add(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -265,7 +259,7 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Movies
|
||||||
where T : Video, new()
|
where T : Video, new()
|
||||||
{
|
{
|
||||||
var multiPartMovies = movies.OrderBy(i => i.Path)
|
var multiPartMovies = movies.OrderBy(i => i.Path)
|
||||||
.Where(i => EntityResolutionHelper.IsMultiPartFile(i.Name))
|
.Where(i => EntityResolutionHelper.IsMultiPartFile(i.Path))
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
// They must all be part of the sequence
|
// They must all be part of the sequence
|
||||||
|
|
Loading…
Reference in a new issue