Oh man I hate that formatting so, so, so much...
As if the syntax wasn't already virtually impossible to read, we decided to add whitespace and indentation and the ability to split statements. Fun.
But I digress...
Anyway, yes. This is possible.
You could even make it respect the user's wishes, if you liked. With something like:
# Conditional Elements
# /* Check the current state of the status bar setting to see what the
# * user wants to do. */
%?St(statusbar)<%we%Vd(STATUS_BAR_ENABLED)|%wd%Vd(STATUS_BAR_DISABLED)>
...using the STATUS_BAR_* viewport (or, whatever you'd like to call them) identifiers later in the theme to govern which viewport(s) are displayed in either case.
Remember that viewports can share identifiers, so you can use one identifier to call any arbitrary amount of viewports.
As for displaying a placeholder image for the album art in the event that no art is available, yes. This is also possible.
Something like:
# /* Preload image(s) for use later */
%xl(ALBUM_ART_FALLBACK,0,0)
# /* Album art */
%Vl(ALBUM_ART,0,0,100,100,-)
%Cl(0,0,100,100,c,c)
%?Cd<%Cd|%xd(ALBUM_ART_FALLBACK)>
If I haven't covered either point in enough detail for you, or have been too vague, or you would like to pick my brains on another topic, feel free to do so.
I am perhaps more easily available to consult with
on our IRC channel where I am known by the same username. My locale is +12GMT.
[Saint]