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

Ruko app does not display movie titles that start with special characters when filtering via #-Z menu in movies library #1296

Closed
foolsh opened this issue Jun 3, 2023 · 2 comments · Fixed by #1716
Labels
enhancement New feature or request

Comments

@foolsh
Copy link

foolsh commented Jun 3, 2023

Software Versions

  • Jellyfin Server Version: 10.8.10 - on local network
  • Roku Client Version: Version 1.6 - build 6 - on local network

Describe the bug

Ruko app does not display movie titles that start with special characters when filtering via #-Z menu in movies library

How To Reproduce

  1. Add sample/dummy movie file named "Æon Flux (2005)"
  2. Scan library
  3. Go to 'My Media -> {Movies library}'
  4. Notice Æon Flux shows when unfiltered results are presented, at end of list
  5. Filter movies by #-Z
  6. Bug occurs - "Æon Flux" is not returned in any results

Expected behavior

Movies with titles starting with special characters should show under the # filter

@foolsh foolsh added the bug Something isn't working label Jun 3, 2023
@foolsh foolsh changed the title Ruko app does not display movie titles that start with special charters when filtering via #-Z menu in movies library Ruko app does not display movie titles that start with special characters when filtering via #-Z menu in movies library Jun 3, 2023
@michaelcresswell
Copy link

Music libraries have the same issue.

The Roku client matches other clients in this respect though, none have a way of filtering by any special character.

@1hitsong 1hitsong added the upstream The issue is due to a upstream library or project label Feb 19, 2024
@1hitsong
Copy link
Member

1hitsong commented Feb 19, 2024

This is due do to the restrictions provided by the server API. There is no "Starts with Special Character" property. We have 3 options:

  1. Starts with Less Than - catches all letters "before" the passed letter. Numbers and some special characters are deemed before A
  2. Starts with Letter - Direct match. "Title starts with the letter A."
  3. Starts with or Greater - catches the passed letter and all letters or special characters deemed after it. The server deems "Æ" as being after Z.

So the method to fix this is not super straightforward, but doable.

We will need to make 2 API calls. 1 for less than A and 1 for StartsWithOrGreater than Z. We will then iterate over the StartsWithOrGreater results and filter out any where the first char is Z. Combine these two results and return to the client.

@1hitsong 1hitsong added enhancement New feature or request and removed upstream The issue is due to a upstream library or project bug Something isn't working labels Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants