This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#3024 - radio wps
Attached to Project:
Rockbox
Opened by Jonathan Gordon (jdgordon) - Tuesday, 14 February 2006, 10:56 GMT+1
Last edited by Jonathan Gordon (jdgordon) - Sunday, 20 May 2007, 10:39 GMT+1
Opened by Jonathan Gordon (jdgordon) - Tuesday, 14 February 2006, 10:56 GMT+1
Last edited by Jonathan Gordon (jdgordon) - Sunday, 20 May 2007, 10:39 GMT+1
|
Detailsok, 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... |
This task depends upon
Closed by Jonathan Gordon (jdgordon)
Sunday, 20 May 2007, 10:39 GMT+1
Reason for closing: Out of Date
Sunday, 20 May 2007, 10:39 GMT+1
Reason for closing: Out of Date
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
here is the other patch...
grr... tabs are now 4 spaces...
ok, try again... this is without the presets patch.. it all
went to sh!t :'(