diff options
| author | Collin-Swish <79892877+Collin-Swish@users.noreply.github.com> | 2025-12-28 07:22:38 -0500 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2025-12-28 07:22:38 -0500 |
| commit | c728e97bda972d24a572d85c56831a3da334f12d (patch) | |
| tree | 40370ba154c80e7f3f6d47c0a722c5bbd345acc5 /MediaBrowser.Providers | |
| parent | 5c76dd26bc7d2a2a5d039a6b02182ee0bff76992 (diff) | |
Backport pull request #15858 from jellyfin/release-10.11.z
Fix playlist item de-duplication
Original-merge: 78e3702cb064fc664ed1a658ad534cf66f5373d3
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Bond_009 <bond.009@outlook.com>
Diffstat (limited to 'MediaBrowser.Providers')
| -rw-r--r-- | MediaBrowser.Providers/Playlists/PlaylistMetadataService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Providers/Playlists/PlaylistMetadataService.cs b/MediaBrowser.Providers/Playlists/PlaylistMetadataService.cs index 8df15e440..e0a4c4f32 100644 --- a/MediaBrowser.Providers/Playlists/PlaylistMetadataService.cs +++ b/MediaBrowser.Providers/Playlists/PlaylistMetadataService.cs @@ -72,7 +72,7 @@ public class PlaylistMetadataService : MetadataService<Playlist, ItemLookupInfo> } else { - targetItem.LinkedChildren = sourceItem.LinkedChildren.Concat(targetItem.LinkedChildren).Distinct().ToArray(); + targetItem.LinkedChildren = sourceItem.LinkedChildren.Concat(targetItem.LinkedChildren).DistinctBy(i => i.Path).ToArray(); } if (replaceData || targetItem.Shares.Count == 0) |
