Author Topic: search should be insensitive to marks  (Read 1151 times)

garretwilson

  • Newbie
  • *
  • Posts: 9
The search field should find titles and such without regard to marks. For non-English words it makes MusicBee hard to use.

For example, let's say I want to find all songs by "Maria Bethânia" (an all-time popular singer of Brazilian roots samba). If I type "maria bethania", nothing comes up; I have to make sure I type "maria bethânia", with the accent (which of course would miss any songs if someone accidentally left the accent off on a song's metadata).

Similarly if I want to find all songs in the genre forró (a popular style of music from the Brazil Northeast), I can't type "forro", I have to type "forró".

MusicBee already searches without regard to case. It should search without regard to marks as well. (MediaMonkey does this correctly, for example.) Doing so is no mystery; it is completely laid out in the Unicode specs; see UTS #10 § 1.1.

Another more efficient approach is to store special search fields in the database already normalized to NFD for example, with the separate mark characters removed. Perform the same normalization on the search text, and then you can efficiently compare the characters without worrying about case or marks. See UAX #15 § 1.2.

However you do this, it needs to be fixed. MusicBee shouldn't assume everyone using it is am American listening to music with only ASCII characters in the metadata.

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34361
i would really appreciate you taking the time to research something before posting and secondly stop filing questions as a bug report

psychoadept

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 10691
Steven, I can't find the "ignore diacritics" setting anymore. It used to be in Tags (2), as shown on the wiki. Did you move it somewhere else?
MusicBee Wiki
Use & improve MusicBee's documentation!

Latest beta patch (3.5)
(Unzip and overwrite existing program files)

phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 9356
Has it been combined with "ignore words" in Sorting/Grouping preferences?
Download the latest MusicBee v3.5 or 3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34361

psychoadept

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 10691
Gotcha, thanks
MusicBee Wiki
Use & improve MusicBee's documentation!

Latest beta patch (3.5)
(Unzip and overwrite existing program files)

garretwilson

  • Newbie
  • *
  • Posts: 9
I apologize for posting a bug report in the wrong forum. It wasn't immediately obvious to me that there were separate sections for questions and bug reports. Frankly most projects nowadays don't even use forum software for bug reports; everyone has pretty must standardized on GitHub or JIRA, which is why I wasn't familiar with the particular process here. Anyway, that's just a suggestion. In the future I'll try to be careful to see which subsection I'm posting to.

I see that this feature has been enabled in MusicBee 3.2, and it is really great!! This means I can finally start using MusicBee as my primary music player. Thank you very much and good luck with the program.