From 3eb6b316d05ebb6a7264832cb1d1a65ea12a4453 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 16 Jun 2013 15:32:53 -0400 Subject: [PATCH] fixes for multi-file movies --- .../Library/Resolvers/Movies/MovieResolver.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/MediaBrowser.Server.Implementations/Library/Resolvers/Movies/MovieResolver.cs b/MediaBrowser.Server.Implementations/Library/Resolvers/Movies/MovieResolver.cs index dbcafcbff..30d14c44b 100644 --- a/MediaBrowser.Server.Implementations/Library/Resolvers/Movies/MovieResolver.cs +++ b/MediaBrowser.Server.Implementations/Library/Resolvers/Movies/MovieResolver.cs @@ -182,12 +182,6 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Movies if (item != null) { - // If we already know it's a movie, we can stop looping - if (isKnownMovie) - { - return item; - } - movies.Add(item); } } @@ -265,7 +259,7 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Movies where T : Video, new() { var multiPartMovies = movies.OrderBy(i => i.Path) - .Where(i => EntityResolutionHelper.IsMultiPartFile(i.Name)) + .Where(i => EntityResolutionHelper.IsMultiPartFile(i.Path)) .ToList(); // They must all be part of the sequence