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

Display length of show/movie in hour minute format (like web client) #3878

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

noahvogt
Copy link

Display length of show/movie in hour minute format

Changes
Currently the length of shows/movies shown in FullDetailsFragment.java is in minutes only, or to say as a regex [0-9]+ min. With my changes, it now shows in the format [0-9]+h [0-9][0-9]?m. Note that the minutes are not zeropadded (displaying eg 2h 02m instead of 2h 2m) as this is the way the web client does it as well.

For more consistency with the main web client, I decided to just change it instead of adding an option so that the user can switch between both display methods. But if that's prefered, I can change it before resubmitting.

Issues
Fixes #2806

@jellyfin-bot jellyfin-bot added the merge conflict Conflicts prevent merging label Aug 12, 2024
@jellyfin-bot jellyfin-bot removed the merge conflict Conflicts prevent merging label Aug 12, 2024
Copy link
Member

@nielsvanvelzen nielsvanvelzen left a comment

Choose a reason for hiding this comment

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

Don't modify translation files (values-xx folders) directly. Those are automatically managed by our translation tool.

@noahvogt
Copy link
Author

As requested, in 88ad0e0 I reverted the translation files, so this PR won't change them directly.

Co-authored-by: Niels van Velzen <[email protected]>
Copy link
Member

@nielsvanvelzen nielsvanvelzen left a comment

Choose a reason for hiding this comment

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

Code doesn't compile

@nielsvanvelzen
Copy link
Member

Hey @noahvogt, are you still interested in finishing this pull request? it's currently waiting for you to address my comment above.

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.

Display length of show/movie in hour minute format
3 participants