Skip to content

Inherit parent view options and sort for sub-folders - #2045

Merged
damontecres merged 2 commits into
damontecres:mainfrom
mizuka123:inherit-parent-view-options
Oct 16, 2026
Merged

damontecres merged 2 commits into
damontecres:mainfrom
mizuka123:inherit-parent-view-options

Conversation

@mizuka123

@mizuka123 mizuka123 commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Description

This change applies only to subfolders that do not have their own saved display settings.

When a subfolder has no saved settings, it now inherits the view type and sort order from the closest ancestor with saved settings. Filter settings are not inherited.

If the user changes the settings within a subfolder, those settings are saved for that subfolder and take precedence over the inherited settings.

Related issues

Fixes #1768

Testing

Tested an App Store flavor debug build on the following setup:

  • Device: Xiaomi TV A Pro 43
  • Jellyfin server version: 12.1
  • Library: A hierarchical recording library stored on a NAS

I changed the view type and sort order at the top level of the library and confirmed that both settings were inherited by untouched subfolders.

Screenshots

N/A - no UI changes

AI or LLM usage

Claude was used to write the changes in CollectionFolderView.kt.

I performed the testing on a physical Google TV device and verified the behavior described above.

The commit also includes a Co-Authored-By: Claude trailer.

This description was written in Japanese and translated with an LLM.

@mizuka123
mizuka123 force-pushed the inherit-parent-view-options branch from 8e58d22 to 39d6404 Compare October 7, 2026 13:47
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DRMW6xWAMqDYZdyKGAFwTE
@mizuka123
mizuka123 requested a review from damontecres October 16, 2026 12:44

@damontecres damontecres left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@damontecres
damontecres merged commit 55960c2 into damontecres:main Oct 16, 2026
2 checks passed
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.

Nested folder Music Videos do not inherit the parent view settings by default

2 participants