Bugzilla – Bug 596
Display total duration of a playlist
Last modified: 2014-06-04 15:46:46 UTC
I've been directed here by Tech Support. There seems to be no way to display the total duration of a playlist. I'm currently putting together a playlist to cover a 14-hour music session, and without this information I'm working in the dark. The player itself shows "1 of 105", but it would be cool if the player (or web interface, or both) could show the playlist length. Keep up the good work. This product rocks!!!!
The Summary for this bug should be "Display total duration of a playlist" to make searching easier. I'm not "sufficiently empowered" to change it myself. :-(
Can anyone advise me how I would go about enhancing the UI to show this information? The SQL for this is very simple: SELECT (SUM(secs)) AS TotalSecs FROM tracks WHERE id IN (SELECT track FROM playlist_track WHERE playlist=4057) (for playlist 4057). Then the TotalSecs field just needs to be converted into HH:MM:SS. But I have no idea how to change the gui to show this, so I have to do it via a separate PHP script :-(
Dean doesn't work here any more :)
Unassigned bugs cannot have a priority.
Should be feasible in the web UI. Let's see what I can come up with.
Commit a886b428f2ab6459a8b090c5b5bb80185b9e72ea - added the playtime to the Default skin. It's been a while since I've fixed three digit bugs :-)