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: foo_uie_quicksearch (Read 665081 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_uie_quicksearch

Reply #350
Could you turn off the delay when searching in playlists AND autosearch is turned on? Or do you think it is necessary there as well (as in database search)?

I would love to have that delay turned off too.

Right now is more or less like it was before, just without having to press enter.

foo_uie_quicksearch

Reply #351

One bug though:  When I type in "darkest hour", the name appended to the playlist only shows "darkest hou"  It doesnt allow any more letters for this combination of letters for some reason.

This strange bug should be fixed now (happenned with search strings of length 12 and 26).
Can you please redownload from first post and confirm? Thanks.



Excellent.  I can confirm it's fixed.
- FLAC/200GB external
- AAC 128 vbr/local
- iPod Nano 2G 8GB

foo_uie_quicksearch

Reply #352
When using query TITLE HAS "So in lov", I get "Someone in love" as well as "So in love" as a result.  Would it be possible to have quotes treated as full strings in extended mode, please?  People can always use ANDs.

foo_uie_quicksearch

Reply #353
The extended syntax is managed by foobar SDK since 0.9 so I have no way to change it except reverting to the source code I had in 0.8, which is not in my plans at the moment.

foo_uie_quicksearch

Reply #354
Could you turn off the delay when searching in playlists AND autosearch is turned on? Or do you think it is necessary there as well (as in database search)?
I would love to have that delay turned off too.
I may implement some sort of configuration for the delay ... down to zero.
Bug: When the mouse is moved quickly over the toolbar the little 'down-arrow' stays red. Maybe a call to TrackMouseEvent and looking out for WM_MOUSELEAVE would help here?
Should be fixed now. please redownload from first post.

foo_uie_quicksearch

Reply #355
I can't enable this toolbar in any way? Right clicking, inside Colums_ui layout, ...

This is the screenshot of my enabled components ... am I missing something that keeps this toolbar from appearing?



foo_uie_quicksearch

Reply #357
Ok. Did so. It works now, but Albumart and Track Info stopped working instead O_O

Got it to work.

foo_uie_quicksearch

Reply #358
Version 2.8 is out. See first post for details and download.

foo_uie_quicksearch

Reply #359
when will 1.5 be out

foo_uie_quicksearch

Reply #360
Version 2.8 is out. See first post for details and download.


You really deliver on the goods!
This plugin is awesome.  Thanks for the quick updates and actully listening to the requests
- FLAC/200GB external
- AAC 128 vbr/local
- iPod Nano 2G 8GB

foo_uie_quicksearch

Reply #361
A new version 2.8 has been uploaded with minor changes (Prefs/Help page reorg). Please redownload from first post.

foo_uie_quicksearch

Reply #362
when will 1.5 be out
Done ! Check first post.
Note:I don't envision much changes or new functionalities now beyond versions 2.8 & 1.5. Thanks to report any bug that I will try to fix promptly.

foo_uie_quicksearch

Reply #363
May be a "logical" problem:

- Turn autosearch on.
-
  • set focus to search results

    When you type and after the plugin presents the first results, you can not go on typing because the floating window has lost the focus.

foo_uie_quicksearch

Reply #364
May be a "logical" problem:

- Turn autosearch on.
-
  • set focus to search results

    When you type and after the plugin presents the first results, you can not go on typing because the floating window has lost the focus.
Thanks for reporting. "Set focus" is supposed to be inactive when autosearch is selected (unless you use the enter key). Should be fixed if you redownload from first post. (please confirm).

foo_uie_quicksearch

Reply #365
tHanks for reporting. "Set focus" is supposed to be inactive when autosearch is selected (unless you use the enter key). Should be fixed if you redownload from first post. (please confirm).
I can confirm it works as expected now.

What do you think about the idea of "close floating panel when successful"? ...as mentioned here...

foo_uie_quicksearch

Reply #366
Well ... you can use the Escape key instead?

foo_uie_quicksearch

Reply #367
I downloaded version 1.5. It reports itself as version 1.4.


foo_uie_quicksearch

Reply #368
I downloaded version 1.5. It reports itself as version 1.4.
It is indeed V1.5 ... i just forgot to update the version number. You may redownload now if you want the real version #.

foo_uie_quicksearch

Reply #369
I am slightly puzzled. Could someone tell me what foo_search_ex is, and why I am credited for its creation?


foo_uie_quicksearch

Reply #371
I am slightly puzzled. Could someone tell me what foo_search_ex is, and why I am credited for its creation?
Well ....  here is the whole story
As you may or may not know, foo_uie_quicksearch was initially built from foo_uie_search source code (although most of the source has probably disappeared now, except maybe the core search loop), in which I found the following :

Code: [Select]
#define foo_uie_search_NAME "Extended Search Toolbar"
#define foo_uie_search_VERSION "+ 001"
DECLARE_COMPONENT_VERSION(
foo_uie_search_NAME,
foo_uie_search_VERSION,

"columns_ui toolbar for searching database, playlist and selection.\n"
"based on foo_search_ex by musicmusic.\n\n"
"Author: musicmusic, MisterP\n"
"Version: + 001\n"
"Date: " __DATE__
);

#include "resource.h"
#include "config.h"

enum
{
PATTERN_ONE,
PATTERN_ALL,
PATTERN_EXACT,
PATTERN_BOOL,
};
etc. etc. .....

And I just added my name in the first place without questionning the previous credits that Mister P made.
Now during the early development stage of foo_uie_quicksearch I also downloaded this from somewhere ... which is still in my 0.8.3 components source directory ....
[blockquote] [/blockquote]

So yes there was once a foo_search_ex ... and I suspected you were the author as this seems an ancestor of foo_dbsearch. So I thought Mister P made a mistake and changed the credit from musicmusic to you.
I apologize to you and musicmusic if credit is improperly granted, and as you already know I have found a lot of valuables examples in you components (foo_history for example).
Just let me know what/how you would like me to mention the credits and I will change them immediately.

foo_uie_quicksearch

Reply #372
It seems crediting other people for my work is becoming a new trend around here. And foo_search_ex is not the only case:
Quote
tboehrer (playlist gen syntax)
Microsoft Windows: We can't script here, this is bat country.

foo_uie_quicksearch

Reply #373
It seems crediting other people for my work is becoming a new trend around here. And foo_search_ex is not the only case:
Quote
tboehrer (playlist gen syntax)
Well I must apologize again but i borrowed the extended syntax from foo_playlistgen_ex


And foo_playlistgen_ex/common.cpp contains only the following :
DECLARE_COMPONENT_VERSION("Playlist generator - Extended","1.3.2","Extended version of Foobar's Playlist generator\n\ntboehrer");

... while playlist_gen itself does not contain any author information so I did not know you invented the syntax yourself. I will correct asap.

Edit : Now who should I credit for playlist_search_ex? You (Peter), Foosion? MusicMusic? As i am a little confused, please have a look at this code :
Code: [Select]
unsigned pattern_type = cfg_search_pattern_type;
ptr_list_t<char> substrings;
if (pattern_type == PATTERN_ONE || pattern_type == PATTERN_ALL)
{
const char *ptr = pattern;
while(*ptr)
{
while(*ptr==' ') ptr++;
const char * start = ptr;
while(*ptr && *ptr!=' ') ptr++;
if (ptr>start)
{
substrings.add_item(strdup_n(start,ptr-start));
}
}
}
unsigned n, found = 0;
for(n=0;n<count;n++)
{
g_results[n]->handle_format_title(temp,cfg_search_format,0);
bool val = false;
switch(pattern_type)
{
case PATTERN_ONE:
{
uStringLower(temp_lower,temp);
unsigned sub;
val = false;
for(sub=0;sub<substrings.get_count();sub++)
{
if (strstr(temp_lower,substrings[sub])) {val = true; break; }
}
}
break;
case PATTERN_ALL:
{
uStringLower(temp_lower,temp);
unsigned sub;
val = true;
for(sub=0;sub<substrings.get_count();sub++)
{
if (!strstr(temp_lower,substrings[sub])) {val = false; break; }
}
}
break;
case PATTERN_EXACT:
val = !stricmp_utf8(pattern,temp);
break;
case PATTERN_BOOL:
val = !temp.is_empty() && strcmp(temp,"?");
break;
}
if (val)
{
found++;
if (IsUnicode() || found < 0x8000)
{
g_results[n]->handle_format_title(temp,cfg_search_display_format,0);
uSendMessageText(list,LB_ADDSTRING,0,temp);
}
}
mask.set(n,val);
}
g_results.filter_mask_del(mask);
substrings.free_all();
and let me know so that I can fix this embarassing situation.
Edit(2) : Please also note that ntboehrer is not mentionned in my versions for 0.9 as I use the SDK helpers for extended search syntax.

foo_uie_quicksearch

Reply #374
To the best of my current knowledge, I did update the toolbar info like this :
[blockquote]Powerfull toolbar for searching database and playlist(s)
Author : Nemo7538
Derived from original work by Peter Pawlowski and contributions from Holger Stenger (aka Foosion), Mister P, tboehrer.
Version: xxxx
Date: xxxxxx[/blockquote]


Please do advise if this is not appropriate. Thanks.