IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Biography Server query string help
Gapkiller
post Sep 28 2013, 13:52
Post #1





Group: Members
Posts: 169
Joined: 7-May 06
From: Germany
Member No.: 30526



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.

This post has been edited by Gapkiller: Sep 28 2013, 13:54
Go to the top of the page
+Quote Post
marc2003
post Sep 28 2013, 14:09
Post #2





Group: Members
Posts: 4862
Joined: 27-January 05
From: England
Member No.: 19379



$ifequal works with numbers. you want $strcmp...

CODE
$if($strcmp(%album artist%,Various Artists),%artist%,%album artist%)

Go to the top of the page
+Quote Post
Gapkiller
post Sep 28 2013, 18:17
Post #3





Group: Members
Posts: 169
Joined: 7-May 06
From: Germany
Member No.: 30526



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
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th December 2014 - 15:51