After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 575955 - human-readable duration times in the media library
human-readable duration times in the media library
Status: VERIFIED FIXED
Product: pitivi
Classification: Other
Component: User interface
Git
Other Linux
: Normal blocker
: 0.13.1
Assigned To: Alessandro Decina
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-19 13:20 UTC by Jean-François Fortin Tam
Modified: 2009-05-14 14:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch that solves the problem (3.07 KB, patch)
2009-03-21 18:46 UTC, Jean-François Fortin Tam
none Details | Review

Description Jean-François Fortin Tam 2009-03-19 13:20:14 UTC
In the media library, we get stuff like this as the "duration" of clips: "00m48s". This is not pretty.

I suggest, in the case of the media library (and wherever you may see fit elsewhere where the duration/timecode doesn't vary much), to use formatting like this:

- "8 seconds"
- "2 minutes and 33 seconds"
- "1 hour and 44 minutes"

Of course this will be slightly more work for translators, but it will look much more polished.
Comment 1 Jean-François Fortin Tam 2009-03-19 15:04:05 UTC
Another place where this should be used: the progress bar in the rendering dialog.
Comment 2 Jean-François Fortin Tam 2009-03-21 18:46:31 UTC
Created attachment 131094 [details] [review]
patch that solves the problem

comments welcome
Comment 3 Alessandro Decina 2009-05-12 13:34:17 UTC
commit a87bbc1712bc62914be72559bc60bb6d7a1f44d9
Author: Alessandro Decina <alessandro.d@gmail.com>
Date:   Tue May 12 15:12:23 2009 +0200

    Use better formatting for durations in sourcelist and encodingdialog.
    
    Based on a patch from Jean-François Fortin Tam <nekohayo at gmail dot com>.
    Fixes #575955.