Skip to content

Fix library navigation and Xbox shell focus for collection browsing#2

Closed
CyberoniOntoni wants to merge 2 commits into
feature/shell-searchfrom
feature/library-navigation
Closed

Fix library navigation and Xbox shell focus for collection browsing#2
CyberoniOntoni wants to merge 2 commits into
feature/shell-searchfrom
feature/library-navigation

Conversation

@CyberoniOntoni

Copy link
Copy Markdown
Owner

Summary

Fixes library browsing from Home and side menu on Xbox, plus Xbox packaging tweaks. Builds on the shell search PR.

Library navigation

  • Route Home "My Media" collection tiles through the same path as the side menu
  • Add CollectionNavigation for Movies, TV Shows, Collections (box sets), and Books
  • NavigateToItem(Guid) fetches item metadata before routing so collections are not always opened as item details

Xbox shell focus

  • Add ShellFocusCoordinator so search is not auto-focused on load
  • Fix invalid FocusState.Unfocused API usage that crashed navigation on Xbox
  • Move library filter toolbar XYFocus bindings to code-behind for console stability

Xbox packaging

  • Target Xbox OS 22000+ in manifest; use JellyBox.exe entry point for Native AOT
  • Add win-x64.pubxml publish profile for Release sideload builds

Merge order

Stacks on the shell search PR (base: feature/shell-search). Merge dfederm#88 → controller → search → this PR.

Part of splitting the former dfederm#89 into bite-sized reviews.

Test plan

  • Side menu: Movies, TV Shows, Collections, Books open library views
  • Home tiles open the same library views as the side menu
  • Opening Movies from Home no longer crashes (0xc000027b)
  • Search is not focused by default; Up from home focuses search
  • Release x64 sideload build deploys to Xbox Series X

Notes

  • Music/Photos libraries still fall back to item details until explicitly mapped.

Route Home page collection tiles through the same navigation path as the side menu so Movies, TV Shows, Collections, and Books open the library view instead of item details. Add CollectionNavigation to map Jellyfin collection types to library parameters.

Introduce ShellFocusCoordinator so search is not focused by default and navigation no longer calls the invalid FocusState.Unfocused API on Xbox. Move library filter toolbar XYFocus bindings to code-behind for console stability.

Target Xbox in the app manifest (min OS 22000, JellyBox.exe entry for AOT) and add a win-x64 publish profile for Release sideload builds.
NavigateToItem(Guid) now fetches the item from the API and routes through the same CollectionNavigation logic as the DTO overload, so library collections are not always opened as item details.
@CyberoniOntoni

Copy link
Copy Markdown
Owner Author

Superseded by fork PRs #4, #6, and #5.

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