Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tvOS] Fix ItemType Libraries #1423

Merged
merged 4 commits into from
Feb 13, 2025
Merged

Conversation

JPKribs
Copy link
Member

@JPKribs JPKribs commented Feb 7, 2025

Summary

In #1411 we drop the isRecursive flag. This is only a requirement for itemType libraries. I've added it to the bool logic so if the filter.itemType.isNotEmpty then make it recursive. Resolves the issue where these libraries are folders instead of the items. See screenshot.

Screenshot

Fixes:
Simulator Screenshot - Apple TV 4K (3rd generation) - 2025-02-07 at 12 28 01

This only really applies to tvOS.
@JPKribs JPKribs added the bug Something isn't working label Feb 7, 2025
Copy link
Member

@LePips LePips left a comment

Choose a reason for hiding this comment

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

Good catch. I think to more closely match the logic prior to #1411, we should instead set parameters.isRecursive = true by default and in the default implementation of setParentParameters the parameters.isRecursive = true can be removed from there.

@JPKribs
Copy link
Member Author

JPKribs commented Feb 7, 2025

Good catch. I think to more closely match the logic prior to #1411, we should instead set parameters.isRecursive = true by default and in the default implementation of setParentParameters the parameters.isRecursive = true can be removed from there.

These changes should now be in the latest commit. I've tested and the libraries still appear to be correct for both ItemType and standard ParentId.

@LePips LePips merged commit c934ac4 into jellyfin:main Feb 13, 2025
4 checks passed
@JPKribs JPKribs deleted the tvOSRecursiveType branch February 13, 2025 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants