Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: iPodFoo on September 04, 2006, 07:08:00 PM

Title: Alternate text with album art???
Post by: iPodFoo on September 04, 2006, 07:08:00 PM
Hi.

What i want to do is have the tracks bitrate, filesize and Hz rate be displayed in sequence of 4 seconds each. But I need 2 sets, one set is aligned left against the album art for when album art is available, and one without, so the track info becomes centered a 'la apples ipod. (Hope that makes sense).

Ive been trying the following:

%?C<%t4%m|72|172|%al(%fbKbps);%t4%m|72|172|%al(%fsKb);%t4%m|72|172|%al(%ffKHz)|%m%ac%t4(%fbKbps);%m%ac%t4(%fsKb);%m%ac%t4(%ffKHz)>

Currently it seems to just cycle through them, and displays the first set of the argument ok, but then displays the other argument set with "|" and ">" included which Im sure is a clue! Do i need to rearrange the order of the tags or something?

Im using Senab rockbox build 31/8/06 on Nano.

Many thanks for any help.
Title: Re: Alternate text with album art???
Post by: MrMEC on September 04, 2006, 09:43:35 PM
Your cover art conditional needs to be within each cycle, if that makes sense.  I haven't tested this, but I took a look at your code and I'm thinking this should work:

%?C<%m|72|172|%al%t4(%fbKbps)|%ac%t4(%fbKbps)>;%?C<%m|72|172|%al%t4(%fsKb)|%ac%t4(%fsKb)>;%?C<%m|72|172|%al%t4(%ffKHz)|%ac%t4(%ffKHz)>
Title: Re: Alternate text with album art???
Post by: iPodFoo on September 05, 2006, 07:53:53 AM
Cool. That seems to be working! Cheers for that.

Im trying out another problem which I have posted for, but nobodys come up with an answer yet. Any chance you could have a look?

http://forums.rockbox.org/index.php?topic=6113.0

Many thanks.