feat-ui - Deduplicate media items in Search and Home Rows and adjust Media Page visibility - #1056
Merged
RadicalMuffinMan merged 2 commits intoAug 6, 2026
Conversation
…utton, and format Version labels with library names - Consolidate duplicate media items across libraries and multi-server sources into 1 card per title in Search, Continue Watching, Next Up, Playlists, Favorites, and Collections. - Add DetailButton.server to action buttons layout. - Format Version selector labels as '[Library Name] - [Version Name]' conditionally when the user has multiple libraries for that content type.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Summary
Consolidate duplicate media items across libraries and multi-server sources into a single card per title across Search and Home Rows (also applies to Favorites, Playlists, Collections pages), add support for the
DetailButton.serveraction button, and format Details screen Version selector options as[Library Name] - [Version Name]conditionally when multiple libraries exist for that content type.Related Issues
Link related issues or tickets separated by commas.
Type of Change
Changes Made
List the key changes included in this PR.
MediaDeduplicationUtilsutility class providing canonical provider ID deduplication key generation, item merging favoring items with active playback progress/watch state, and conditional version label formatting ([Library Name] - [Version Name]) -- the Library string is only applied if the user has multiple libraries for that content type!MediaDeduplicationUtils.deduplicateMediaItemsacross global and scoped search groups to eliminate duplicate cards.getAggregatedResume), Next Up (getAggregatedNextUp), Playlists (getAggregatedPlaylists), Favorites (getAggregatedFavorites), and Collections (getAggregatedCollections).DetailButton.serverto the action button layout enum, icon mappings (Icons.dns_rounded), and labels (using l10n.server localization)._showVersionSelectorto format version options with[Library Name] - [Version Name]whenever the user has more than 1 library for that media type.Platform
Testing
Describe how this change was tested.
Test Steps
[Library Name] - [Version Name].Screenshots (if applicable)
Include screenshots or recordings for UI changes.
Checklist