Support and General Use > Theming and Appearance Customization

%mv tag

(1/1)

afruff23:
I'm trying to incorporate this tag into a wps (specifically a conditonal of it. Here is the pertinent code:

--- Code: ---%wd
%X|bg.bmp|
%Cl|50|146|140|140|
%?mv<%?C<%C|%?Fm<%Vda>>|%?Fm<%Vda>>
%Vl|a|25|160|215|81|-|-|-|
%s%al%?In<%In.>%?It<%It|%Fn>
%s%al%?Ia<%Ia|%D2>
%s%al%?Ik<%Ik.>%?Id<%Id|%D1>
%s%al%?Ig<%Ig >%?Iy<%Iy>
%al%Fbkbps %?Fv<VBR>%ac%Fc%ar%FsKB
--- End code ---

This is the logic of the code:

--- Code: ---Is the volume changing?
       Yes
            Is there album art?
                  Yes
                     Display album art
                  No
                     Display info about the next track if available
       No
            Display info about the next track if available
--- End code ---

If you haven't noticed, the album art and next track info viewport have overlaps in their positioning. What I want the code to do is to display the album art and not display the next track info when the command "display album art" comes up. What actually happens instead is that the next track info is visible beneath the album art.

Llorean:
Why aren't you displaying the album art in a viewport?

afruff23:

--- Quote from: Llorean on October 09, 2008, 10:35:21 PM ---Why aren't you displaying the album art in a viewport?

--- End quote ---

Thanks. I figured that out after some testing. As for why I wasn't displaying it in a viewport, for some reason it worked for my older theme in a different context. If you're curious as to which theme I'm referring to, look for the Next theme for the Gigabeat.

EDIT:
Here is the fixed code if anybody wants it.

--- Code: ---%wd
%X|bg.bmp|
%Cl|50|0|140|140|
%?mv<%?C<%Vdb|%?Fm<%Vda>>|%?Fm<%Vda>>
%Vl|a|25|160|215|81|-|-|-|
%s%al%?In<%In.>%?It<%It|%Fn>
%s%al%?Ia<%Ia|%D2>
%s%al%?Ik<%Ik.>%?Id<%Id|%D1>
%s%al%?Ig<%Ig >%?Iy<%Iy>
%al%Fbkbps %?Fv<VBR>%ac%Fc%ar%FsKB
%Vl|a|0|146|240|14|-|-|-|
%Vl|a|0|241|240|45|-|-|-|
%Vl|b|0|146|240|140|-|-|-|
%C

--- End code ---

Navigation

[0] Message Index

Go to full version