Rockbox

Tasklist

FS#6338 - Playlist playing time

Attached to Project: Rockbox
Opened by Stephane Doyon (sdoyon) - Thursday, 16 November 2006, 03:01 GMT
Last edited by Thomas Martitz (kugel.) - Sunday, 05 June 2011, 11:43 GMT
Task Type Patches
Category Playlists
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.8.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This patch enables calculating the total duration of a playlist,
indicating elapsed and remaining time, and other stats.

It helps answer some of life's deeper questions like:
-Shall I say up late and finish this book tonight?
-Do I have enough reading meterial for this trip?
-How much more of this boring book is there left?
-How much disk space would I save if I deleted the chapters I've already
read?

Requires  FS#6159  and  FS#6323 .

The function acts on the currently playing playlist. It is accessed from
the playlist submenu of the onplay context menu. It's labeled "Playing
time".

It patiently goes through each file of the playlist, opening it and
getting themetadata. For an audio book I have here with 42files, it
takes ~6-7seconds (with directory cache enabled). It then shows a screen
with these info:
-cumulative elapsed time and total duration, elapsed percent,
-remaining time,
-track number and total tracks,
-total disk storage size, played and remainig storage size.
-average track size,
-average bitrate.

That's it.
Closed by  Thomas Martitz (kugel.)
Sunday, 05 June 2011, 11:43 GMT
Reason for closing:  Out of Date
Additional comments about closing:  There doesn't seem to be interest in this anymore. Open a new task if this is wrong.
Comment by Dan (Skyly) - Thursday, 16 November 2006, 17:41 GMT
It would be cool if this information was accessible when customising the WPS.
Comment by valiant (moose) - Tuesday, 24 July 2007, 01:33 GMT
Hi!

That's really cool- a very nice feature. Is it spoken?
Comment by Stephane Doyon (sdoyon) - Friday, 14 September 2007, 05:11 GMT
Here's an updated version.

BTW yes it definitely is spoken!
Comment by Stephane Doyon (sdoyon) - Tuesday, 18 September 2007, 02:42 GMT
Sync'ed.
Comment by Sofian Babai (sofianbabai) - Tuesday, 02 October 2007, 00:20 GMT
wow! nice feature thank you ! I especially like the infos displayed in a list.
Comment by alex wallis (alexwallis646) - Saturday, 22 December 2007, 17:30 GMT
for some reason the patch can't patch english.lang one of the hunks fails.
Comment by alex wallis (alexwallis646) - Wednesday, 10 June 2009, 11:12 GMT
I have had Stephane Doyons permission to post a resynced version of this patch, since the last version on the tracker, the patch provides more useful information such as elapsed and remaining time for an individual track not just a playlist.
and it also provides information on average bit rate, how much space a given folder takes up that is being played, as well as other things that people might not find so interesting.
However I use this feature extensively, and as I am blind its the only way for me to get information about the state of a currently playing track or playlist.
Enjoy, and hope people find it useful this works with current svn code, at time of writing r. 21240.
I would love to see this get committed in one form or another eventually.
The patch is split into two files the update for english.lang and the actual code. So obviously you will need both patches in order for it to work.
Please note I did not resync this, Stephane Doyon did the actual resync, I am just posting this in hopes people will find it useful.
Comment by alex wallis (alexwallis646) - Wednesday, 10 June 2009, 11:14 GMT
For some reason the actual code didn't attach, so I am posting it now in this comment.

Loading...