Rockbox Technical Forums

Rockbox General => Rockbox General Discussion => Topic started by: Edil on November 19, 2008, 03:47:27 PM

Title: An issue with resume playback
Post by: Edil on November 19, 2008, 03:47:27 PM
Hi there,

lately I had been using my player just to listen to a lot of podcasts. I'm noticing this problem where I turn it off and when I turn it on back it starts at the right played time but with the wrong file. The more files you have in a particular directory the worst the problem but mostly it starts with the second file in the directory. For example you have:

gt20070309
gt200703010
gt200703011
gt200703012
.
.
.
gt200703013
gt200703014
gt200703015
gt200703016

and you turn off the player with gt20070309 at 5:13, when you turn on the player it starts at 5:13 but on the second or any other random file.

any ideas?

Thanks!

Edil


P.D. I was thinking using bookmarks but the problem is that when you are on the run you just want to turn off the device as quickly as possible to turn it on lately and continue listening your podcast.
Title: Re: An issue with resume playback
Post by: JdGordon on November 19, 2008, 07:49:01 PM
this will happen if the files in the folder change between restarts.
Title: Re: An issue with resume playback
Post by: fallout33 on October 14, 2009, 06:43:41 AM
this will happen if the files in the folder change between restarts.

Now, one year later I am wondering if this behavior will be changed in the near future?

Can't the resume function be treaded like a single bookmark?
So, instead of storing the numeric position in the list of files, could you save the path of the file?
Title: Re: An issue with resume playback
Post by: Llorean on October 14, 2009, 10:53:21 AM
The "resume" position is a playlist resume, not a single file resume (unless there's only one file in the playlist at the time) and folder playlists are handled in such a way that they're based on the current state of the folder.

This means removal of files from the folder will cause changes to the playlist next time you resume.