Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#10891 - Jump to time

Attached to Project: Rockbox
Opened by Peter Lecky (lecky) - Sunday, 03 January 2010, 16:17 GMT+2
Task Type Patches
Category Themes
Status Unconfirmed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Private No

Details

This small patch adds a "jump to time" function to wps context menu. After clicking on jump 2 time item user, can specify time in mmmss format E.G:
- 130: jump to 1:30 in currently playing track
- 90: jump to 1:30 in currently playing track (shorter version of previous example)
- 1529: jump to 15:29
- 12345: jump to 123:45 (2 hours, 3 mins, 45 seconds)

I use it to easily transfer "last played position" time from computer to rockbox. Can be useful for audio books listeners.
   j2time.patch (2.2 KiB)
 apps/onplay.c          |   41 ++++++++++++++++++++++++++++++++++++++++-
 apps/lang/english.lang |   14 ++++++++++++++
 2 files changed, 54 insertions(+), 1 deletion(-)

This task depends upon

Comment by Peter Lecky (lecky) - Monday, 04 January 2010, 00:09 GMT+2
Update:
- Edit now contains elapsed time in currently playing track
- time must be typed in format hhmmss (hours added) E.G:
- 10510 = 1:05:10
- 510 = 5 minutes and 10 seconds
- 90= 90 seconds
- 9000 = 90 minutes
   jump2time.patch (2.7 KiB)
 apps/onplay.c          |   57 ++++++++++++++++++++++++++++++++++++++++++++++++-
 apps/lang/english.lang |   14 ++++++++++++
 2 files changed, 70 insertions(+), 1 deletion(-)

Comment by harry tu (bookshare) - Sunday, 07 February 2010, 17:47 GMT+2
But 510 can also be interpretted as 510 seconds (8 minutes 30)
Comment by Peter Lecky (lecky) - Sunday, 07 February 2010, 17:58 GMT+2
Interpretation depends on number of digits. If you type 2 digits then your input will be interpreted as seconds. If you type three digits then interpretation wil be: first digit are minutes and next 2 digits are seconds. May be that this kind of interpretation is little bit confusing. I can forbid shortcuts like 99 seconds = 133 if it really is.
Comment by Peter Lecky (lecky) - Monday, 29 March 2010, 17:13 GMT+2
Updated patch (no significant changes)
   jump2time.diff (2.7 KiB)
 apps/lang/english.lang |   14 ++++++++++++
 apps/onplay.c          |   57 ++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 70 insertions(+), 1 deletion(-)

Comment by alex wallis (alexwallis646) - Tuesday, 13 July 2010, 20:36 GMT+2
Hi, could this patch please be updated to the latest revision? As I would like to try it but it appears to be out of sync.
Comment by Peter Lecky (lecky) - Saturday, 14 August 2010, 01:40 GMT+2
Done.
   j2time.patch (2.7 KiB)
 apps/onplay.c          |   57 ++++++++++++++++++++++++++++++++++++++++++++++++-
 apps/lang/english.lang |   14 ++++++++++++
 2 files changed, 70 insertions(+), 1 deletion(-)

Comment by Marek Salaba (salaba) - Saturday, 21 August 2010, 14:47 GMT+2
It is great function.
Please integrated it.
Salaba
Comment by Andy Smith (ufo) - Saturday, 06 November 2010, 13:56 GMT+2
Been longing for this function for years - so fed up waiting on something so simple which was overlooked - hope it gets implemented in next revision!
Comment by Marek Salaba (salaba) - Monday, 09 May 2011, 10:48 GMT+2
Please integrated it someone.

Loading...