|
Rockbox mail archiveSubject: Re: Resume from deleted filesRe: Resume from deleted files
From: Robert Hak <rhak_at_ramapo.edu>
Date: Sat, 12 Apr 2003 16:15:36 -0400 (EDT) Don't resume at all. Using the next file just pushes the problem off. What if there is no next file? What if that file is missing? If they changed the disk, the current song is no longer valid. Just my 2 bits On Sat, 12 Apr 2003, Linus Nielsen Feltzing wrote: Robert Hak wrote: > Perhaps the way to handle it is instead of trying to store the file name, > we store the update time of the file? Figure, any new file/changed file > should 1. have a different time and 2. not be resumed from because it has > changed. We store the file name, but we only use the path and the index when we resume. The only question is what to do when the file can't be found. 1) Don't resume at all 2) Try another file /Linus +-- --- --- --- --- --- --- --- --- --- --- --- --- --+ | Robert E. Hak < http://phobos.ramapo.edu/~rhak > | "...I will call into the past, far back to the begining of time, and beg them to come and help me at the judgement. I will reach back and draw them into me. And they must come, for at this moment I am the whole reason that they have existed at all." - 'Cingque', "Amistad" Received on 2003-04-12 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |