Summary: | Show Total running time of selection/playlist | ||
---|---|---|---|
Product: | [Applications] juk | Reporter: | Davide Ferrari <vide80> |
Component: | general | Assignee: | Scott Wheeler <wheeler> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | CVS diff with the total time label |
Description
Davide Ferrari
2003-11-08 17:28:20 UTC
Created attachment 3585 [details]
CVS diff with the total time label
This adds a QLabel to the status bar, containing the total time of the entire
playlist. Whenever the count of the playlist changes, it emits a timeChanged
signal so that it is updated when itens are added/removed.
Thank you very much! :) Thanks. It works well here except if you're using hierarchical playlist. On startup it shows the total playing time for whole playlist, but you can't see it anymore without restarting JuK again.. With hierarchical playlist, it seems to work pretty well, as long as you don't add any new file to the collection list. If you do, the time for this new added file won't be displayed until you restart JuK. If this is the behavior you got, I've got a fix right here: - Edit playlist.cpp, line 460 and change "item->tag()->current()" to "item->tag()" CVS commit by wheeler: Somewhat modified patch from Ismael Orenstein to add the total time in the playlist to the status bar. CCMAIL:67598-done@bugs.kde.org M +4 -1 juk.cpp 1.165 M +13 -0 playlist.cpp 1.171 M +5 -0 playlist.h 1.102 M +3 -1 playlistsplitter.cpp 1.148 M +5 -0 playlistsplitter.h 1.91 M +32 -9 statuslabel.cpp 1.20 [POSSIBLY UNSAFE: printf] M +3 -1 statuslabel.h 1.12 |