Merge pull request #11933 from Shadowghost/fix-trailer-duplication

Check trailer distinction by URL
This commit is contained in:
Niels van Velzen 2024-06-04 12:04:39 +02:00 committed by GitHub
commit b1a5fe2f55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1080,7 +1080,7 @@ namespace MediaBrowser.Providers.Manager
} }
else else
{ {
target.RemoteTrailers = target.RemoteTrailers.Concat(source.RemoteTrailers).Distinct().ToArray(); target.RemoteTrailers = target.RemoteTrailers.Concat(source.RemoteTrailers).DistinctBy(t => t.Url).ToArray();
} }
MergeAlbumArtist(source, target, replaceData); MergeAlbumArtist(source, target, replaceData);