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: Case-Sensitivity Bug in Album List Filter (Read 636 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Case-Sensitivity Bug in Album List Filter

I recently stumbled upon a bug in the Album List's filter. Capital letters on words seem to make the search case-sensitive. Here's what happened. I searched for

Southern Culture On The Skids

It returned all three albums I have by SCOTS, but for the album "The Electric Pinecones" it only returned one song, "Waiting On You." When I replaced the search with

southern culture on the skids

I got all three albums and all 12 songs from "The Electric Pinecones." The difference is that for two of the albums I used "Southern Culture On The Skids" for the artist name and for "The Electric Pinecones" I used "Southern Culture on the Skids" (blame freedb and laziness on my part for not being consistent). 

At first I thought that this might be limited to only capital O's, but I've since determined it is any capital letter. I determined this by creating two dummy files

My only regret.mp3
My Only Regret (take 2).mp3

Searching for "my only regret" returns both files. Searching for "my Only regret" or "my only Regret" only returns the latter file (all searches without quotation marks).

If the search is truly case-insensitive, all of these searches should be equivalent.

I'm running foobar2000 v1.6.6 on Windows 10 Home.

Re: Case-Sensitivity Bug in Album List Filter

Reply #1
You have asymmetric search switched on. Preferences->Advanced, search for "search".

Asymmetric search means that "motorhead" will return everything with "Motörhead" but not the other way around. If you want more hits, use minuscules. If you want more precision, type precisely.

Re: Case-Sensitivity Bug in Album List Filter

Reply #2
Thank you! I had no idea about asymmetric search, or whether I checked the box or if it is checked by default. So many moving parts in foobar! :)

I normally would have typed the search using all lowercase letters, but in this case I did a cut and paste from the Selection Properties window to the filter box (which I often do).