Skip to content

Route collection folders to library views#96

Closed
CyberoniOntoni wants to merge 7 commits into
dfederm:mainfrom
CyberoniOntoni:feature/collection-navigation
Closed

Route collection folders to library views#96
CyberoniOntoni wants to merge 7 commits into
dfederm:mainfrom
CyberoniOntoni:feature/collection-navigation

Conversation

@CyberoniOntoni

@CyberoniOntoni CyberoniOntoni commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Routes Jellyfin collection folders (Movies, TV Shows, Collections, Books) to the Library page instead of ItemDetails.

Review tip: For the ~96-line incremental diff, use the fork compare view or fork PR #4.

  • Add CollectionNavigation to map CollectionTypeLibrary.Parameters
  • NavigateToItem(Guid) fetches item metadata and routes through the same logic as the DTO overload

Merge order

  1. Fix build reliability and improve subtitle playback performance #88Add Xbox Series X controller support and shell navigation #93Add movies and TV show search bar to app shell #94
  2. This PR — collection navigation
  3. Fix Xbox shell focus, search, and library filter navigation #98 — Xbox shell focus
  4. Add Xbox packaging profile and manifest targets #97 — Xbox packaging

Test plan

  • Side menu and Home tiles open library views for Movies, TV Shows, Collections, Books

Centralize gamepad virtual-key handling in GamepadInput and route shell navigation (menu toggle, left-edge open, B/Escape back) through NavigationManager at the CoreWindow level so it works on every content page, not only when MainPage has focus.

Video playback now maps A to play/pause, X to mute, and D-pad/stick directions to volume and seeking. Login and server selection accept Gamepad A to submit. WebVideo supports B to go back.
Place a styled AutoSuggestBox at the top of MainPage with debounced Jellyfin search hints. Submitting a query or picking a suggestion navigates to search results or item details. Includes a dedicated Search page with portrait result cards and adjusted content page spacing for the new header.
Replace nested TwoWay x:Bind on search text with code-behind TextChanged handling, use ObservableCollection for suggestions with TextMemberPath, simplify the search box style, and restore full-screen navigation overlay span.
Suppress duplicate QuerySubmitted navigation after SuggestionChosen, cancel stale ItemDetails loads when navigating away, and guard against null UserData on series items.
Defer AutoSuggestBox suggestion navigation to the next UI frame, reset ItemDetails playback state between loads, use null-safe stream bindings, navigate cards by item id, and log unhandled exceptions to the debug output.
AutoSuggestBox TextMemberPath requires WinRT bindable custom properties on suggestion items. Selection text is already applied in code when a suggestion is chosen.
Add CollectionNavigation to map Jellyfin collection types (Movies, TV Shows, Collections, Books) to Library page parameters. NavigateToItem(Guid) fetches item metadata before routing so callers with only an ID still open the correct library view.
@CyberoniOntoni

Copy link
Copy Markdown
Contributor Author

Closed as redundant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant