Rockbox mail archive
Subject: Re: Resume 10 Secondes before created bookmark...
From: Carsten Tschach (Carsten_at_tschach.com)
Well...if searched the sources a bit and decided to substract 10 secondes in the
Before the snprinf I do the following:
if (id3->elapsed < 10000) id3->elapsed=10000;
id3->elapsed = id3->elapsed - 10000;
So if I play a song, wait a bit, press stop the auto bookmark is created. If I
then went to Menu-> Bookmarks -> List Bookmarks I see my last son with a
Time-Label of 10 secondes before I stopped. This would in my eyes be exactly
what I want...
But...If I than start to play the song again Rockbox resumes the play, but much
earlier than I've told him and than was show in the bookmark.
Any other ideas?! Seems like the recent bookmark is cached somewhere else?!
Carsten Tschach wrote:
> I'm looking for a way to implement a short replay...which means if I'm
> playing a title, press stop and a bookmark is automaticly created. If I
> resume this song later, I want to start 10 secondes before the position
> I was before...
> Which is the best funktion to implement this feature?!
> Bye, Carsten
Page was last modified "Jan 10 2012" The Rockbox Crew