The Free Software Media System - Server Backend & API
Fix collection handling of multiple version movie
Shadowghost9aa69eded926
diff --git a/Emby.Server.Implementations/Library/Validators/CollectionPostScanTask.cs b/Emby.Server.Implementations/Library/Validators/CollectionPostScanTask.csindex e62c638ed6..e3ef75b9ee 100644--- a/Emby.Server.Implementations/Library/Validators/CollectionPostScanTask.cs+++ b/Emby.Server.Implementations/Library/Validators/CollectionPostScanTask.cs@@ -74,7 +74,7 @@ public class CollectionPostScanTask : ILibraryPostScanTaskforeach (var m in movies){- if (m is Movie movie && !string.IsNullOrEmpty(movie.CollectionName))+ if (m is Movie movie && !string.IsNullOrEmpty(movie.CollectionName) && !movie.PrimaryVersionId.HasValue){if (collectionNameMoviesMap.TryGetValue(movie.CollectionName, out var movieList)){