Rockbox mail archive
Subject: Re: Queue function
From: Jack Peel (jhp_at_cypress.com)
Seems to work fine on my archos, but that was just an inital try, I will
try to beat it up more later.
One thing that would be nice is that if you are playing a playlist, for it
to check and see if the song that you queued up is in the playlist and
temporarily remove it. That way if I want to play a song that is on
the playlist "now" I don't have to worry about it showing up later.
(I'm using this for break music during a show, and I get requests
from time to time). I don't know how the "current" playlist code
organizes the data so this may not be easy, but if it is it would be
It also appears that your patch is broken again with the new CVS,
or I don't know how to run patch (either is quite likley). It seems
to have a problem patching apps/applimits.h for MAX_QUEUED_FILES.
I edited it in by hand and it seems to build fine.
Hardeep Sidhu wrote:
>I posted a queue function patch to the sourceforge tracker a couple of weeks
>ago but haven't received much feedback. If any of you have some spare time
>and are interested, please try it out and let me know what you think.
>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 queuing to work.
>- Some of the peak meter settings have been moved out
>of rtc so that the queue resume index can be stored.
Page was last modified "Jan 10 2012" The Rockbox Crew