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
Searching for specific accented characters?, is it possible?
Kilu
post Mar 14 2009, 17:39
Post #1





Group: Members
Posts: 36
Joined: 1-May 05
Member No.: 21811



Case in point, I try to search for "" on my active playlist, but it ignores the accent and finds all other "n" letters as well. The Query Syntax Help file that comes with the player says that "When using the simple search, any latin characters are matched regardless of their accents, e.g. foo will match foo as well as f or fo" which explains that, but it also implies that by using advanced search I could somehow make it search only that accented character. I tried title HAS , but that didn't give me desired results either, still find all n letters in the title field.

So, is it possible to specifically search for this accented character?


--------------------
made of radiation
Go to the top of the page
+Quote Post
smkk
post Mar 14 2009, 18:16
Post #2





Group: Members
Posts: 603
Joined: 18-November 07
Member No.: 48839



"$strstr(%title%,)" PRESENT
Go to the top of the page
+Quote Post
foorious
post Mar 15 2009, 12:04
Post #3


troll / ban evasion


Group: Banned
Posts: 244
Joined: 22-April 08
Member No.: 52991



IMO foobar should work this way :

- If we type "espana" il will look for "espana" and also for "espaa"
- BUT if we care to type "espaa" it should only look for "espaa" (or "espa", "spaa", "spa", etc.) but not for "espana" anymore.


In other words, I think there should be a difference between the umlaut/accented chars and the standard ones :

- Any standard ascii char should have a list of corresponding umlaut/accented chars to look for (e.g. "a" -> "a", "", "", etc.). This already works within foobar AFAIK.
- BUT any umlaut/accented char should restrict the ongoing search to strings containing exactly that specific char. (e.g. "" -> foobar will look only for "", not for "e" anymore)

Do you agree with this ? smile.gif
Go to the top of the page
+Quote Post
Kilu
post Mar 17 2009, 11:37
Post #4





Group: Members
Posts: 36
Joined: 1-May 05
Member No.: 21811



QUOTE (smkk @ Mar 14 2009, 20:16) *
"$strstr(%title%,)" PRESENT

That worked, thanks! smile.gif


--------------------
made of radiation
Go to the top of the page
+Quote Post
foorious
post Mar 17 2009, 18:21
Post #5


troll / ban evasion


Group: Banned
Posts: 244
Joined: 22-April 08
Member No.: 52991



To foobar devs : any thoughts on my previous post ? (can foobar's search behaviour be modified accordingly / will it be in a next release ?)
Go to the top of the page
+Quote Post
Yirkha
post Mar 28 2009, 16:19
Post #6





Group: FB2K Moderator
Posts: 2359
Joined: 30-November 07
Member No.: 49158



Added to feature proposals list.


--------------------
Full-quoting makes you scroll past the same junk over and over.
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 - 12:52