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: FM presets
From: Mike Holden (rockbox_at_mikeholden.uklinux.net)
Date: 2003-05-04


Linus Nielsen Feltzing said:
> Hi all!
>
> I just committed Fm preset handling for the FM radio screen. It uses a
> text file called .rockbox/fm_presets.txt for the storage. The current
> number of entries is 32.
>
> F1 - Radio menu, current choices are "Add preset" and "Delete preset" F2
> - Select a preset
>
> Try it out.
>
> Linus

Do we need to manually create the file? Trying to add a preset gives "No
free preset entries". Creating an empty file doesn't work (using touch
command in Linux) either. Creating a file with a single line "0:dummy"
works fine.

Works pretty much as expected after that, with the following exceptions:

When in the F2 menu, F2 and F3 then behave as in MP3 mode (bring up the
fastkey options for shuffle etc, which is perhaps not what we want in this
screen). F2 should return you back to radio screen without doing anything.
Pressing F3 when on the radio screen does nothing, so it should still do
nothing when in F2 select preset screen.

If you are listening to a preset station, and then manually tune, or seek
to another frequency, the preset name is not cleared unless you tune to
another preset. The name should be cleared as soon as you start to tune
elsewhere.

Additional feature suggestions:
Able to sort list by Name (alphabetical), by frequency, or by user's
preferred order. This would require the ability to re-order the stations
preset list, and would maybe require that a preset number needs to be
added to the playlist file.

-- 
Mike Holden



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa