I personally think that RB needs a decent scheduler that can perform
multiple tasks, including but not limited to FM recording.
My vision is a list of tasks of the type <start/pause/stop>
<playback/recording> of <media/fm tuner/mic/line-in> as well as player
All tasks share common config: due time, recurrence, whether to wake up the
device for it;
In addition, each task type has its own config, e.g., station freq/preset
for fm, BPS quality for recording, etc.
To support it, RB should make use of the RTC alarm feature (present in
PCF50606 and possibly in others).
My 2 cents,
[mailto:email@example.com] On Behalf Of
Sent: Monday, May 08, 2006 11:24 PM
Subject: timed recording w/ FM recorder
I've been really happy with my FM Recorder, loaded with Rockbox 2.5.
Great work, everyone.
I've noticed that no timed recording features seem to exist in either 2.5
or the latest CVS codebase. It'd be nice to turn a rockbox w/ FM recording
capabilities into something like a RadioShark.
I've looked over radio.c, recording.c, and the plugin architecture, and
it looks decently straightforward for me to implement.
Before I do so, I wanted to get feedback from the development community
about how this would best fit into the rockbox architecture, and what
features everyone would want.
There doesn't seem to be anything written about this in the wiki, or in
the feature request area of the bug database.
I propose to do the following:
* Allow scheduled recording:
** record from a given station frequency or preset
** specify start time, stop time, and filename prefix
** allow no repeat, daily, weekdays, weekends, or weekly
** save filenames in the recordings area with name as the given "filename
prefix" followed by a timestamp (for repeats)
* Augment the existing recording facility to allow an automatic cutoff (i.e.
"record now and automatically stop after N minutes" where N can be changed
after you've begun recording) (useful for recording the rest of a show
you're listening to).
This would all be driven from a config file that has all the scheduled
recording times. I'll want to put in a minimal GUI that allows
add/modify/deletion of the scheduled recordings.
I haven't decided whether I should make this part of the base rockbox
(allowing a background "scheduled recording" thread to take control if
you're doing something else and start recording), or if it should be a
plugin that you have to explicitly leave running for it to start/stop
Any comments, concerns, suggestions, or feature requests to bundle in
with these changes are welcome.
Received on Tue May 9 00:56:45 2006