Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: AsusFreak on November 16, 2010, 07:10:48 AM

Title: FM Signal Strength
Post by: AsusFreak on November 16, 2010, 07:10:48 AM
Hi.
I saw the new %tr tag in r28559.

I tried it and
Code: [Select]
%tr dBuVworked fine.

Then I tried the following:
Code: [Select]
%?tr<5|15|25|35|45|55|65|75>or
Code: [Select]
%?tr<+|++|+++|++++|+++++|++++++|+++++++|++++++++>The normal user might not want to see some boring values but might want to see some graphics...

And this one fails, why? As I understood it right Cowon's D2 has 8 steps from 5 to 75. So why doesn't it work this way?

By the way: does Ipod Video have FM? If it does not: will this cause a failure of the FM Screen?

Any thoughts?
Title: Re: FM Signal Strength
Post by: mc2739 on November 16, 2010, 11:55:15 AM
By the way: does Ipod Video have FM? If it does not: will this cause a failure of the FM Screen?

From CustomWPS#FM_Radio_tokens (http://www.rockbox.org/wiki/CustomWPS#FM_Radio_tokens):

Quote
%tp  Does this target have a radio? If it doesn't, the "true" branch of this conditional is completely ignored so you don't need to worry about tags which are not recognized on non radio targets.
Title: Re: FM Signal Strength
Post by: AsusFreak on November 16, 2010, 04:23:22 PM
Thanks, mc.
You are right - RTFM. Sorry.  :-[

But the other question still stays. Anybody with a hint? ???
Title: Re: FM Signal Strength
Post by: AlexP on November 16, 2010, 04:37:57 PM
Yes, it hasn't been implemented yet.  Hopefully soon.
Title: Re: FM Signal Strength
Post by: AsusFreak on November 17, 2010, 09:16:34 AM
Thanks AlexP - so I'll wait for it.
Title: Re: FM Signal Strength
Post by: JdGordon on November 17, 2010, 08:06:19 PM
stupid shitty skin code!
I got tr working as a conditional last night but it isnt working as a bar so hasnt been comimted yet :/
Title: Re: FM Signal Strength
Post by: JdGordon on November 18, 2010, 06:48:38 AM
it is now in svn
Title: Re: FM Signal Strength
Post by: AsusFreak on November 18, 2010, 10:31:39 AM
Thanks, JdGordon,

working perfectly.