Hi,
I am modifying the default skin so it fits my needs better.
I would like to have the cover image only displayed when the field1 of the current song is empty. If field1 is not empty I would like to have this value displayed instead.
I have this so far:
<group visibility="get_loaded_song 'Field1' > 0 ? false : true" >
<cover >
<pos x="+7" y="+7"/>
<size width="56-14" height="56-14"/>
</cover>
</group>
This does not work, I guess the "get_loaded_song 'Field1' < 0" expression is wrong.
Can somebody help?
Thanks!
I am modifying the default skin so it fits my needs better.
I would like to have the cover image only displayed when the field1 of the current song is empty. If field1 is not empty I would like to have this value displayed instead.
I have this so far:
<group visibility="get_loaded_song 'Field1' > 0 ? false : true" >
<cover >
<pos x="+7" y="+7"/>
<size width="56-14" height="56-14"/>
</cover>
</group>
This does not work, I guess the "get_loaded_song 'Field1' < 0" expression is wrong.
Can somebody help?
Thanks!
Posté Mon 21 Feb 22 @ 2:05 pm
param_equal `get_loaded_song 'field1'` '' ? on : off
Posté Mon 21 Feb 22 @ 2:19 pm
Fantastic! Thank you!
Posté Mon 21 Feb 22 @ 3:30 pm