RU
EN
Main Page
Download
Addons
Forum
Blog
Feedback
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
News:
AIMP v5.30
AIMP Forum
»
AIMP for Windows
»
Skin Editor, Skin Engine
»
Questions
(Moderator:
Tarik
) »
Conditional Labels in a skin for Android
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Conditional Labels in a skin for Android (Read 7623 times)
0 Members and 1 Guest are viewing this topic.
Conditional Labels in a skin for Android
«
on:
August 24, 2020, 08:25:33 »
mortalis
Новичок
Posts: 11
Карма: +0/-0
Hi.
Is it possible to set a conditional text in a
SkinnedLabel
element in the skin editor for Android?
For example, the skin has a label with
Text
set to
'%Artist'
, but when the artist tag of an audio file is empty, the text is empty.
I'd like to show
'Unknown'
in this case.
Thanks.
Logged
Re: Conditional Labels in a skin for Android
«
Reply #1 on:
August 24, 2020, 09:52:20 »
Artem
Администратор
Супермен
Posts: 15808
Карма: +2925/-56
Yes, use the %IF macro:
Code:
[Select]
%IF(%Artist,%Artist,Unknown)
Logged
Re: Conditional Labels in a skin for Android
«
Reply #2 on:
August 24, 2020, 10:23:32 »
mortalis
Новичок
Posts: 11
Карма: +0/-0
Thanks a lot.
Sorry, should've created the topic in the android section.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
AIMP Forum
»
AIMP for Windows
»
Skin Editor, Skin Engine
»
Questions
(Moderator:
Tarik
) »
Conditional Labels in a skin for Android