Bongo - Tasks: task #6323, Display track lengths in playlist...
You are not allowed to post comments on this tracker with your current authentication level.
task #6323: Display track lengths in playlist buffers
Submitter: | Daniel Brockman <dbrock> | ||
Submitted: | Fri 29 Dec 2006 08:20:43 AM UTC | ||
Should Start On: | Thu 28 Dec 2006 11:00:00 PM UTC | Should be Finished on: | Thu 28 Dec 2006 11:00:00 PM UTC |
Category: | None | Priority: | 1 - Later |
Status: | In Progress | Privacy: | Public |
Assigned to: | dbrock | Percent Complete: | 70% |
Open/Closed: | Open | Effort: | 0.00 |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2006-12-29 | dbrock | Carbon-Copy | - | Added rfrancoise |
Powered by Savane 3.13-bb6a.
Corresponding source code
Bongo should display the lengths of all tracks inserted into playlist buffers. We could display this information in library buffers as well, but it is more important to have it available in playlists.
This is already partly implemented. Specifically, the display code is implemented: By default, the lengths are nicely aligned to the right, so they all line up vertically.
The problem is that track lengths are usually not available. The only case in which they are currently available is when playing audio CD tracks. In order to know the lengths of file tracks, we would need to call some tool to ask for this information. (Asking for track lengths and asking for tag metadata can probably be done at the same time — there is another entry about tag metadata.)
Another thing that might be nice would be to display the elapsed time in the playlist buffer, and update this number as playback progresses. This requires some changes in the code. Specifically, we need to store a marker pointing to the line containing the currently playing track in the player structure. (Strictly, we could use the current track marker from the playlist buffer, but that seems rather fragile.)
All in all, this is not very difficult once we actually know the track lengths. Romain suggested this so I’m adding him to the CC list. (Again, I hope you don’t mind, Romain.)