Rockbox Technical Forums

Rockbox Development => Feature Ideas => Topic started by: tari3x on November 07, 2014, 06:38:50 PM

Title: Play again
Post by: tari3x on November 07, 2014, 06:38:50 PM

  I'm keen to have a key to "play from where I played last time" (same position in the track). Would be invaluable for all the dancers out there.

  I'm happy to do the coding, but I would definitely be grateful for some initial guidance through your million-line codebase.
Title: Re: Play again
Post by: __builtin on November 07, 2014, 06:58:27 PM

  I'm keen to have a key to "play from where I played last time" (same position in the track). Would be invaluable for all the dancers out there.


Could you please be more specific? It's best to have a clear idea of what you want to do before you do it. ;)
Title: Re: Play again
Post by: tari3x on November 07, 2014, 07:34:17 PM

   I'd like to add a new control "Play Again" that behaves as follows: when Play or "Play Again" are pressed, remember the current track and position. When "Play Again" is pressed play from the remembered position.
Title: Re: Play again
Post by: saratoga on November 07, 2014, 07:36:20 PM
That is similar to how bookmarks work (remember a place in a song and replay it later), so maybe you could start with that code.
Title: Re: Play again
Post by: tari3x on November 07, 2014, 07:39:58 PM
Sounds like what I want is a lightweight bookmark that is set automatically whenever "Play" is pressed.