Backport pull request #11933 from jellyfin/release-10.9.z

Check trailer distinction by URL

Original-merge: b1a5fe2f55

Merged-by: nielsvanvelzen <nielsvanvelzen@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
Shadowghost 2024-06-05 17:02:55 -04:00 committed by Joshua M. Boniface
parent 4a06b6d13b
commit a705e56acc

View File

@ -1080,7 +1080,7 @@ namespace MediaBrowser.Providers.Manager
}
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);