This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9929 - context menu delete does not work as expected
Attached to Project:
Rockbox
Opened by Peter D. (PeterD) - Thursday, 19 February 2009, 07:34 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 23 December 2009, 08:35 GMT+2
Opened by Peter D. (PeterD) - Thursday, 19 February 2009, 07:34 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 23 December 2009, 08:35 GMT+2
|
DetailsWhile playing an mp3 file a long press of Select (the central button) brings up a menu that includes "Delete". Select delete. Select again for "yes".
The "deleted" file continues to play. I would expect the file to be gone, and the next file to begin playing. |
This task depends upon
Closed by Jonathan Gordon (jdgordon)
Wednesday, 23 December 2009, 08:35 GMT+2
Reason for closing: Not a Bug
Additional comments about closing: it might seem odd, but this is the expected behaviour... rockbox will keep playing untill it runs out of buffered data
Wednesday, 23 December 2009, 08:35 GMT+2
Reason for closing: Not a Bug
Additional comments about closing: it might seem odd, but this is the expected behaviour... rockbox will keep playing untill it runs out of buffered data
Usually it is easier to explain things when the behaviour is; issue a command and it gets executed NOW with *positive feedback* to the user, so that the uncertain doddering user knows that it worked and (more importantly) that the user has done the right thing.
Most people are not geeks. The user interface would be more obvious, and easier to explain if it was not playing phantom files that do not exist.
It would be easy to implement, easier to explain, and not hurt the geeks.
i had the same "problem" as peter, i was confused why the not-existing still plays fine. at that time i didnt know anything about buffering, as most normal users.
and i always checked three times whether the file was really deleted :)
does anyone know what it does when rockbox tries to rebuffer a already deleted file?
I then deleted the entire folder, skipped through a few tracks, which kept playing. Then I guess it hit one that wasn't buffered anymore, and all WPS information turned blank or "(root)" or "[1995] Electric Wizard" (folder name, where normally there is album name) or "07. Electric Wizard.ogg" (filename, where usually there is track title). Trying to skip between songs from this point did nothing. It just stayed on track 7 with the blank WPS. I went into "View Current Playlist", and saw this[1]. I played track 6 (it didn't actually play), and now it's frozen at that screen. The sim's "backlight" goes on and off in response to keypresses/timeout, but the selection bar does not move, and nothing (other than the backlight) appears to happen when clicking or holding any buttons.
I then did retraced this "delete the directory and keep skipping 'til you hit a track in the playlist that isn't buffered so the WPS goes blank", but instead of then attempting to play a file from "View Current Playlist", I went to the file browser and tried playing another, unrelated file, and got the same "button presses do nothing but turn on the backlight" freeze, at this screen[2]. I then did it a couple more times, but doing different things at the last stage. Stopping or pausing playback caused the freeze. Most plugins (of the few I tried) worked fine. MpegPlayer froze at a completely black screen, presumably because it stops playback when it starts up.
[1] http://dl.getdropbox.com/u/84704/rockbox_play_deleted_file.png
[2] http://dl.getdropbox.com/u/84704/rockbox_play_deleted_file_aftereffect.png
If a file has already been buffered to the end and closed, it will play properly. I'm not sure that's a problem. It's easy to skip the track.
Tests done using the sim might be deceptive, because the sim uses host OS file operations which behave differently from Rockbox file operations.
FS#9955bootloader.and i guess there will happen some strange things when unbuffered parts of the non-existing files get overwritten by copying some files.