Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: RE: timed recording w/ FM recorder

RE: timed recording w/ FM recorder

From: RaeNye <raenye_at_netvision.net.il>
Date: Tue, 09 May 2006 01:53:02 +0200

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
shutdown.
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,
R.

-----Original Message-----
From: rockbox-dev-bounces_at_cool.haxx.se
[mailto:rockbox-dev-bounces_at_cool.haxx.se] On Behalf Of
rockbox-dev_at_bcarnes.homeip.net
Sent: Monday, May 08, 2006 11:24 PM
To: rockbox-dev_at_cool.haxx.se
Subject: timed recording w/ FM recorder

Hey all,

   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
recording.

   Any comments, concerns, suggestions, or feature requests to bundle in
with these changes are welcome.

   Brian
Received on 2006-05-09

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy