FS#637 - Queue function

Attached to Project: Rockbox
Opened by Hardeep Sidhu (hardeeps) - Tuesday, 17 December 2002, 09:51 GMT
Last edited by Björn Stenberg (zagor) - Thursday, 09 January 2003, 00:59 GMT
Task Type Patches
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Implements queue function. While playing a playlist
(playlist file as well as dirplay) hold on to "play"
(recorder: "right" also works) for a few seconds on the
track you want to queue and a message will appear
informing you it has been queued. All queued tracks
will be played after the current track finishes. Once all
the queued tracks are finished, the playlist continues
where it left off.

- Resume remembers the queue list and continues
exactly where you stopped (TODO: make this
- The queue list can have maximum of 8 songs at a time
- Once a queued track is completed, it is removed from
the queue list. Previous will take you to the last played
song in the playlist (ie. not the queue list).
- "Repeat one" will work with a queued song, none of
the other repeat settings have any affect.
- The queuelist is saved to disk (/.rockbox/.queue_file --
aka the poor man's playlist). The ".rockbox" directory
must exist for queueing to work.
- Some of the peak meter settings have been moved out
of rtc so that the queue resume index can be stored.
- The mpeg and file changes are standalone and were
only included in the patch because they are needed for
queueing to work correctly.
This task depends upon

Closed by  Björn Stenberg (zagor)
Thursday, 09 January 2003, 00:59 GMT
Reason for closing:  Accepted
Additional comments about closing:  Logged In: YES

Comment by Hardeep Sidhu (hardeeps) - Tuesday, 17 December 2002, 11:36 GMT

My comments, especially in the playlist code, were rather lacking. Uploaded updated diff with more comments.
Comment by Hardeep Sidhu (hardeeps) - Thursday, 19 December 2002, 01:30 GMT

Uploaded queue_function_2.diff. Changes:
- committed the mpeg and file changes and removed them
from the patch
- updated to latest cvs (settings changes)
Comment by Hardeep Sidhu (hardeeps) - Saturday, 04 January 2003, 07:47 GMT

Uploaded queue_function_3.diff which is updated to latest cvs (playlist changes).
Comment by Hardeep Sidhu (hardeeps) - Sunday, 05 January 2003, 03:48 GMT

Uploaded queue_function_4.diff. Changes:
- increased queue limit to 100 tracks
Comment by Björn Stenberg (zagor) - Thursday, 09 January 2003, 00:59 GMT