Rockbox

  • Status Closed
  • Percent Complete
    0%
  • Task Type Patches
  • Category User Interface
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Jonathan Gordon - 2006-02-14
Last edited by Jonathan Gordon - 2007-05-20

FS#3024 - radio wps

ok, this is XavierGr’s preset patch merged with my hack
to get the wps screen working with the radio..
(also added a tag to show volume in % for those that
want it…)

just a quik thing about the wps… its done very hacky
because the wps loads its info from an id3 tag, so ive
put the radio info into a fake id3.. which means that
some tags might not be as expected if your on the radio
screen…
so…

first thing is the conditional to see if the radio is
being used or not… %?R<[stuff for regular screen]|[stuff for the radio
screen]>

ok, now the radio tags..
%Rf - frequency in MHZ
%Rl - (thats a lowercase L) - minimum frequency.. will
be changeable maybe soon
%RL - max frequency
%Rm - mode.. shows Mode:preset or Mode:Scan
%Rp - shows “p” if you are on a preset (use as a
conditional for the next 2 tags)
%Rpn - current preset name
%Rpi - current preset number
%Rps - shows “s” if its stereo (good for a conditional)
%Rpt - shows “t” if its tuned to a station ok

and thats it… now. to show the volume as a % use the tag %pv%

i cant comment on the preset part of the patch.. but it
merged ok and didnt spit out any warnings.. and seems
to work…

Closed by  Jonathan Gordon
2007-05-20 08:39
Reason for closing:  Out of Date
Jonathan Gordon commented on 2006-02-14 11:17

ok, i have added 2 more files to the patch… radio_wps.patch is just my additions..
radio_radio_presets AFTER WPS.diff is XavierGr’s patch
diffed against my wps changes (so it wont work unless u do
the radio.wps.patch first)
the origonal radio.patch is there which has both done
together

Jonathan Gordon commented on 2006-02-14 11:18

here is the other patch…

Jonathan Gordon commented on 2006-02-14 11:27

grr… tabs are now 4 spaces…

Jonathan Gordon commented on 2006-02-15 12:43

ok, try again… this is without the presets patch.. it all
went to sh!t :’(

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing