# Foo\_run searches

**URL:** https://community.mp3tag.de/t/foo-run-searches/61708
**Category:** Off-Topic
**Created:** [July 31, 2023, 8:48am UTC](https://community.mp3tag.de/t/foo-run-searches/61708 "2023-07-31T08:48:41Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![flyingmale](https://community.mp3tag.de/user_avatar/community.mp3tag.de/flyingmale/32/8335_2.png) [@flyingmale](https://community.mp3tag.de/u/flyingmale)
#### Post date: [July 31, 2023, 8:48am UTC](https://community.mp3tag.de/t/foo-run-searches/61708/1 "2023-07-31T08:48:41Z")

</div>

Anyone know why this query works fine in Google, Discogs, etc, but not in [45cat.com](http://45cat.com)?  
[https://www.45cat.com/45\_search.php?sq=](https://www.45cat.com/45_search.php?sq=)"%artist% %title%"  
In all the others, the "" are stripped, but 45Cat leaves them in and produces a blank page.  
Interestingly, exactly the same query works fine in MP3tag and the "" are stripped.  
Thanks for any help.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [July 31, 2023, 8:54am UTC](https://community.mp3tag.de/t/foo-run-searches/61708/2 "2023-07-31T08:54:18Z")

</div>

> [@flyingmale](#):
>
> [https://www.45cat.com/45\_search.php?sq=](https://www.45cat.com/45_search.php?sq=)"%artist% %title%"

Because the search query on this site doesn't use double quotes.

If you try it on the 45cat website with the [search page](https://www.45cat.com/45_filter.php) and use the terms ABBA and Waterloo, you get this search query without double quotes.  
`https://www.45cat.com/45_search.php?sq=abba+waterloo`

If you try it with Earth Wind and Fire Be Ever Wonderful, you get this search query:  
`https://www.45cat.com/45_search.php?sq=earth+wind+and+fire+be+ever+wonderful`

It seems, that 45cat is using the double quotes literally. You can try this search example:  
Nat "King" Cole  
and you get this query WITH double quotes as they appear around "King":  
`https://www.45cat.com/45_search.php?sq=Nat+"King"+Cole`

---

<div class="post-metadata">

### Author: ![flyingmale](https://community.mp3tag.de/user_avatar/community.mp3tag.de/flyingmale/32/8335_2.png) [@flyingmale](https://community.mp3tag.de/u/flyingmale)
#### Post date: [July 31, 2023, 4:02pm UTC](https://community.mp3tag.de/t/foo-run-searches/61708/3 "2023-07-31T16:02:43Z")

</div>

That's true and I have tried it without the double quotes. Then, a search for \<Nick Cave - Song title\>, just returns searches for ...

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [July 31, 2023, 8:52pm UTC](https://community.mp3tag.de/t/foo-run-searches/61708/4 "2023-07-31T20:52:44Z")

</div>

I'm not sure that I understand you.  
Does it work if you search for the artist Nick Cave and the song title In the Ghetto  
`https://www.45cat.com/45_search.php?sq=nick+cave+in+the+ghetto`  
or do you only get three dots as result?

If you don't get the expected result, please [show us a screenshot](https://community.mp3tag.de/t/hints-for-asking-support-requests/56190#use-screenshots-to-exemplify-the-issue-2) from your current search definition in Mp3tag.

---

<div class="post-metadata">

### Author: ![flyingmale](https://community.mp3tag.de/user_avatar/community.mp3tag.de/flyingmale/32/8335_2.png) [@flyingmale](https://community.mp3tag.de/u/flyingmale)
#### Post date: [August 1, 2023, 7:50am UTC](https://community.mp3tag.de/t/foo-run-searches/61708/5 "2023-08-01T07:50:45Z")

</div>

OK. My search definition is attached. [https://www.45cat.com/45\_search.php?sq=](https://www.45cat.com/45_search.php?sq=)"%artist% %title%".

 ![image](https://community.mp3tag.de/uploads/default/original/2X/9/958cd3f5eccc9c9d5cd97af42b353ed79aa90a73.png)

This URL [45cat.com/45\_search.php?sq="NICK CAVE AND THE BAD SEEDS Where The Wild Roses Grow"](https://www.45cat.com/45_search.php?sq=%22NICK%20CAVE%20AND%20THE%20BAD%20SEEDS%20Where%20The%20Wild%20Roses%20Grow%22)  
produces a blank, white screen.  
If I remove the quotation marks in that URL, it works fine...  
[NICK CAVE AND THE BAD SEEDS Where The Wild Roses Grow - 45cat Search](https://www.45cat.com/45_search.php?sq=NICK%20CAVE%20AND%20THE%20BAD%20SEEDS%20Where%20The%20Wild%20Roses%20Grow)

 ![image](https://community.mp3tag.de/uploads/default/original/2X/e/e114b9be5fcbd88659e10cb212012de84b40e348.png)  
Thanks for the help.  
Jeff

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [August 1, 2023, 8:51am UTC](https://community.mp3tag.de/t/foo-run-searches/61708/6 "2023-08-01T08:51:39Z")

</div>

Just to be sure:  
You are using Foobar and would like to call the website [45cat.com](http://45cat.com) with the help of `foo_run.dll` to get a search result?

If you change your "Path" in the Foobar Preferences and "Run services" to  
`https://www.45cat.com/45_search.php?sq=%artist% %title%`  
it works fine?

* * *

What has this to do with Mp3tag?

Answer to my own question:  
Florian is also the developer of the Foobar component `foo_run.dll`

> **[Florian's foobar2000 stuff](https://www.mp3tag.de/en/fb2k.html)**
>
> Florian's foobar2000 components

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [August 1, 2023, 9:00am UTC](https://community.mp3tag.de/t/foo-run-searches/61708/7 "2023-08-01T09:00:39Z")

</div>

You can try

`https://www.45cat.com/45_search.php?sq=$replace(%artist% %title%, ,+)`

in foo\_run. The trick is to replace the blanks by something that produces a valid URL.

---

<div class="post-metadata">

### Author: ![flyingmale](https://community.mp3tag.de/user_avatar/community.mp3tag.de/flyingmale/32/8335_2.png) [@flyingmale](https://community.mp3tag.de/u/flyingmale)
#### Post date: [August 1, 2023, 9:15am UTC](https://community.mp3tag.de/t/foo-run-searches/61708/8 "2023-08-01T09:15:36Z")

</div>

That's fantastic, Florian. It works fine. Thank you!
