FS#5642 - RB hangs when deleting the currently played file

Attached to Project: Rockbox
Opened by Rani Hod (RaeNye) - Monday, 10 July 2006, 07:49 GMT
Last edited by Will Robertson (aliask) - Sunday, 29 July 2007, 23:30 GMT
Task Type Bugs
Category Music playback
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Version 3.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


It might not be a very smart thing to do, but RB hangs when you delete the currently playing file.
The correct behaviour would be to either skip to the next song before deleting (preferred) or to fail to delete the file.

BTW, the playlist contained only one file when I did that. Might not be relevant though.
This task depends upon

View Dependency Graph

This task blocks these from closing
 FS#6556 - Easy Song Delete for IHP120? 
Closed by  Will Robertson (aliask)
Sunday, 29 July 2007, 23:30 GMT
Reason for closing:  Invalid
Additional comments about closing:  Failure to reproduce, no confirmations in over a year.
Comment by Alistair Marshall (amar) - Monday, 10 July 2006, 15:59 GMT
just tryed to recreate on my h300 (tryed with 2 songs one of which was 9 mins 48 sec) and in both cases the song appered deleted yet played to completion without any problems.
Comment by Peter D'Hoye (petur) - Tuesday, 11 July 2006, 15:10 GMT
will depend on the buffering. If the file is buffered completely it won't be a problem.
Comment by tim e (timecop) - Monday, 11 September 2006, 04:44 GMT
obviously two comments above missed hte part about playlist being only one file.
its not the delete operation that froze, its the endless loop resulting in trying to re-play same deleted file once playback finished.
Comment by Alistair Marshall (amar) - Tuesday, 24 July 2007, 18:50 GMT
Just tested this again on my h300, no problems at all
tried with 3 files longest one 19 mins 30 sec all 3 played to the end and song was only track in playlist