Skip to content

feat: Media dropdown add hours to duration format if media is longer than 1 hour#165

Open
5ila5 wants to merge 1 commit intowayle-rs:masterfrom
5ila5:media_dropdown_duration_add_hours
Open

feat: Media dropdown add hours to duration format if media is longer than 1 hour#165
5ila5 wants to merge 1 commit intowayle-rs:masterfrom
5ila5:media_dropdown_duration_add_hours

Conversation

@5ila5
Copy link
Copy Markdown

@5ila5 5ila5 commented May 1, 2026

Media Dropdown shows there digit minute count instead of usual hh:mm:ss format if the media is longer than one hour.

This is a simple fix:

  • If the duration is longer then an hour, we format with hh:mm:ss
  • If the duration is shorter than an hour, we format with mm:ss.

I added this simple fix and an appropriate test case

One could add a setting for this, but I'd think the majority of people would prefer it this way

For Some reason I cannot attach an image right now (no clue why) but it looks like expected. For my test YouTube video shows
3:26:55 / 5:21:07 instead of 212:26 / 321:07

@5ila5 5ila5 changed the title feat: Media dropdown add hours to duration format if media is longer tan 1 hour feat: Media dropdown add hours to duration format if media is longer than 1 hour May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant