Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Biography Server query string help (Read 1161 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Biography Server query string help

Hi,

In the "artist field to be queried" field, I want to do:

$ifequal(%album artist%,Various Artists,%artist%,%album artist%)

It's not working. Does anyone know a better solution?

Thanks in advance.

Biography Server query string help

Reply #1
$ifequal works with numbers. you want $strcmp...

Code: [Select]
$if($strcmp(%album artist%,Various Artists),%artist%,%album artist%)


Biography Server query string help

Reply #2
Thank you Marc2003!
Exactly what I needed.

Also thank you for all the work you do here. It's been a long time since my last visit and you are still here
providing support for the users and regularly update your scripts which are essential to my config.
Highly appreciated