foosion
Dec 16 2003, 04:38
QUOTE(Gul @ Dec 16 2003, 10:54 AM)
feature request : would it be possible to implement a quick-search from the context menu? eg. "Search db for this %artist%" and stuff like that?
I'll see, if I can add this to the current implementation in a clean way. I'd say it is at least 90% possible.
Edit: I'll revise that: It is 100% possible.
Yay! thanks.
foosion
Dec 17 2003, 17:00
foo_dbsearch 1.1.1
- added "Database search/Search for same<x>" commands to context menu
There are entries for directly searching artist, album, title, date and venue (they only show up, if a format preset of that name exists). Another command allows choosing an arbitrary entry.
mixmixmix
Dec 17 2003, 20:11
is it possible to make it so you can just press enter after choosing the song using hte up/down arrows without having to use tab or the mouse ala winamp?
great plugin!
First : Thanks, foosion! Nice to request a feature, and actually have it implemented just the way i imagined it!
Second : How do i use it
Rightclicking something like
Kashmir - Kiss Me Goodbye - The Good life
And searching for album, searches the database for T only, giving me 1589 hits.
[EDIT]
It doesn't only happen on album-search. Whatever i search for, only the first letter is used.
[/EDIT]
foosion
Dec 18 2003, 06:41
QUOTE(Gul @ Dec 18 2003, 08:34 AM)
Second : How do i use it
Rightclicking something like
Kashmir - Kiss Me Goodbye - The Good life
Select a single file, choose "Database search/Search for same artist" (or album, title, ...) from the contextmenu. You can only search for "artist", if you have a format preset called "artist" (or "Artist", character case is ignored here).
QUOTE
And searching for album, searches the database for T only, giving me 1589 hits.
Fixed in 1.1.2.
foosion
Dec 18 2003, 09:19
QUOTE(mixmixmix @ Dec 18 2003, 03:11 AM)
is it possible to make it so you can just press enter after choosing the song using hte up/down arrows without having to use tab or the mouse ala winamp?
This has been discussed before.
I finally started writing an up-to-date help file for this plugin. It is still incomplete, but you can view it
here. The styleshhet is embedded, so you can easily save the page for offline use.
Btw. I'm still searching a nice looking and compatible (across browsers) way to mark the name of menu commands. I'm currently using
CODE
<span class="cmd">bla</span>
and
CODE
.cmd:before {
content: "\"";
}
.cmd:after {
content: "\"";
}
but the :before and :after pseudoformats are not understood by IE, and I couldn't find a nice background color or something similar quickly. Suggestions are welcome.
QUOTE(foosion @ Oct 19 2003, 12:30 PM)
QUOTE(hermit22 @ Oct 18 2003, 09:18 PM)
This plugin's great. But a feature request: could you add an ability to search for a blank field? <snip>
Search in database, set format to ... whatever, doesn't matter for this one. Set the filter mode to "match all" or "match" one (the dropdown box to the right of the pattern field). Now type "-%artist%" in the pattern field. Result shown: All items in database without an artist tag. <snip>
The db_search plugin is great. However, I'm stuck trying to form a query that returns all of the *.flac files that I have with an empty "Genre" field. Mind you, the tag exists, but it is empty. I tried the solution you suggested to hermit22, but I only got *.wav files that don't have a Genre tag at all. I also tried to search with "Format" set to "Genre" and "Pattern" set to " " and that returns files that have a space in the Genre field (like "Alt. Rock") How do I indicate an empty string in the "Pattern" box? More generally, how do I form this query using db_search? Thanks for any help.
Incidentally, these empty Genre fields have occured due to a problem with EAC (v0.9b4) -- if you fill in the "Genre" box with a string that is not in the list box, it doesn't write anything into that field when it makes the *.flac file. Maybe this is fixed in more recent versions?
foosion
Dec 19 2003, 14:44
@Poese:
Your problem is solved rather easily using the "match one" mode. You only need to include +%genre%="" in your pattern. Combined with +%__codec=flac this gives you all the .flac files with an empty, existing genre tag.
Inc3pt
Dec 20 2003, 12:05
QUOTE(foosion @ Dec 18 2003, 07:19 AM)
QUOTE(mixmixmix @ Dec 18 2003, 03:11 AM)
is it possible to make it so you can just press enter after choosing the song using hte up/down arrows without having to use tab or the mouse ala winamp?
This has been discussed before..
I, in fact, was the one who brought it up. Im wondering though, you said that you would need to write a complete configurable hotkeys script, and that would be a pain. Is there
anyway else that this could be possibly done? Id really appreciate it..
*OR*
The basic search that comes with Foobar will go in the playlist to what you searched for, automatically. Thats what I have my default action set as for your search plugin. Is there any easy way to implement that, so that when you type "blah blah" in the background, the playlist automatically jumps to those results?
foosion
Dec 20 2003, 14:02
QUOTE(Inc3pt @ Dec 20 2003, 07:05 PM)
Im wondering though, you said that you would need to write a complete configurable hotkeys script, and that would be a pain. Is there anyway else that this could be possibly done?
None that I know of.
QUOTE
The basic search that comes with Foobar will go in the playlist to what you searched for, automatically. Thats what I have my default action set as for your search plugin. Is there any easy way to implement that, so that when you type "blah blah" in the background, the playlist automatically jumps to those results?
The builtin playlist search has the advantages that it knows the playlist indices of the result items, and can select them easily and efficiently. foo_dbsearch on the other hand doesn't even know these indices when you set the search domain to "Playlist", so it would have to find the result items in the playlist. This means it would inherently be slower than with playlist search, though I don't know when you'd start noticing. Well,
maybe I'll add this and configurable hotkeys during the holidays, but I doubt that. Too many ideas have piled up, and I won't be coding fb2k plugins all the time.
BlindSeer
Dec 20 2003, 16:47
I think the ctrl-enter and shift-enter shortcuts are great additions, but why not add a third? It'd be awesome if ctrl-shift-enter could replace the current playlist with the results, begin play with the first item, and close the database search window.
thanks for all your work on this plugin, foosion.
foosion: your foo_dbsearch is great
I've got 1 request for this cool component at
10 things I want from fb2kin case you guys were lazy, I've typed it here
QUOTE
12) In component 's song list (like foo_dbsearch 's result list), the component should add their own items at top of context-menu (OK, this reuest should go to foosion, but I don't know where he is right now ;-).
ssamadhi97
Dec 25 2003, 11:07
foosion's enjoying a healthy dose of ('net-free) holidays.
Anyway, dbsearch already does what you're requesting.
foosion
Jan 11 2004, 13:49
foo_dbsearch 1.1.3
- added drag&drop of result items (can be disabled)
- internal cleanup and optimization
- sorting can no longer be linked to resultlist string
- reduced performance penalty for using complex resultlist format
- fixed minor bug with tracking item in playlist
anathema
Jan 17 2004, 10:24
hi! beautiful plugin!
do you think you could add window size memory? the window is a little small for me. thanks!
foosion
Jan 17 2004, 10:52
QUOTE(anathema @ Jan 17 2004, 05:24 PM)
hi! beautiful plugin!
do you think you could add window size memory? the window is a little small for me. thanks!
Go to Preferences/Display and check "Remember window positions".
anathema
Jan 17 2004, 12:36
ah, perfect! thank you!
Blinky
Jan 17 2004, 18:33
Ignore me, just being stupid
foosion
Jan 31 2004, 16:55
foo_dbsearch 1.2.0- upgraded to SDK version 0.8
- added support for context menu command hotkeys in the resultlist (marked as [context] under "Preferences->Keyboard Shortcuts")
- fixed "Database search/Search for same..." context menu command
NEMO7538
Feb 1 2004, 03:36
The "Toggle quicklist" option has disappeared since V0.11. Can it be reimplemented ?
IMHO it's better to have all the options hidden once they have been setup
Thanks
foosion
Feb 1 2004, 05:47
QUOTE(NEMO7538 @ Feb 1 2004, 10:36 AM)
The "Toggle quicklist" option has disappeared since V0.11. Can it be reimplemented ?
IMHO it's better to have all the options hidden once they have been setup
The main reason why this option vanished is that it wasn't that easy to implement after 0.11 (a helper class in the SDK changed). Since then, my opinion on the usefulness of this option has changed. I find myself changing the format setting quite frequently, and I can immediately see what format is set.
Would it be possible to implement a standard setting for the search window when starting it with "components/database search". Now, the settings remain as they were in the last search, but i would like to not have to set them back everytime i've done some "special search".
I would like it better if, for example, i could set it to automagically switch to [custom search string] + [match all] whenever i launch the search "without any parameters".
<edit>
While i'm at it : it would also be nice to have CTRL+A select all of the results of the search. Thanks
</edit>
foosion
Feb 2 2004, 17:36
QUOTE(Gul @ Feb 2 2004, 11:59 PM)
Would it be possible to implement a standard setting for the search window when starting it with "components/database search". Now, the settings remain as they were in the last search, but i would like to not have to set them back everytime i've done some "special search".
I would like it better if, for example, i could set it to automagically switch to [custom search string] + [match all] whenever i launch the search "without any parameters".
I'll consider adding this, though I'll probably need a second config page then.
QUOTE
<edit>
While i'm at it : it would also be nice to have CTRL+A select all of the results of the search. Thanks
</edit>
Considered as bug report/investigating.
foosion
Feb 3 2004, 06:59
foo_dbsearch 1.2.1- made Ctrl+A in resultlist work again
foosion
Mar 25 2004, 06:05
foo_dbsearch 1.2.2- actions for Enter, Shift+Enter and Control+Enter are shown in the context menu of the resultlist
- added second config page with options for default settings for the search window
foosion
May 16 2004, 14:40
foo_dbseach 1.2.4- updated default presets (you will have to reset the presets to see the not so important changes)
- internal cleanup
changes in the not-so-publicly-released version 1.2.3:
- added ability to enter arbitrary text (format strings) in format field
- "boolean" filter no longer uses pattern field
- added status bar
- made descriptions of context menu items show in status bar
- made descriptions of filter modes show in status bar
- pattern and format field are disabled, if they are not used by the selected filter mode
bluenet
Jun 19 2004, 08:08
foosion
Jun 20 2004, 12:48
QUOTE(bluenet @ Jun 19 2004, 03:08 PM)
I guess I was a bit lazy about updating that one.
Morgensonne
Jul 2 2004, 20:52
could you make an action "Send To Playlist" (like in album list) which instantly sends the marked files to the actual playlist? i mean send to the actual playlist without the dialog-box. I only can find the action "Send To Playlist...".
it would be great if you for example search for an album and mark all found files and then simply press enter and have it in your actual list.
ssamadhi97
Jul 3 2004, 01:14
QUOTE(Morgensonne @ Jul 3 2004, 04:52 AM)
I only can find the action "Send To Playlist...".
Amazing.
I'd like it if the window could be independant from the main window like the playlist search or the preferences.
That way you can access with global hotkeys.
foosion
Jul 4 2004, 03:00
If you have a global hotkey for database search, you can pop it up while the main window is hidden by pressing the hotkey twice. This will be fixed in the next release of the plugin.
Morgensonne
Jul 4 2004, 03:37
@ssamadhi97:
i'm not blind... but i asked for the option SEND TO PLAYLIST and replace the original playlist content. not to ADD it ot the current playlist. i mean a short enter -> results go to playlist AND foobar starts to play first file. Like in album list.
ciao
@ssamadhi97:
Could you please implement "Add to playlist" as selectable default action for double clicking?
foosion
Jul 5 2004, 13:28
QUOTE(Tri @ Jul 5 2004, 08:16 PM)
@ssamadhi97:
Could you please implement "Add to playlist" as selectable default action for double clicking?

Install foo_utils, the command is called "Edit/Add to playlist".
ssamadhi97
Jul 6 2004, 16:27
QUOTE(Morgensonne @ Jul 4 2004, 11:37 AM)
i'm not blind... but i asked for the option SEND TO PLAYLIST and replace the original playlist content. not to ADD it ot the current playlist. i mean a short enter -> results go to playlist AND foobar starts to play first file. Like in album list.
foosion says that pressing Ctrl+ENTER, ENTER should do exactly that.
- blame him if it doesn't

- 2 keypresses aren't too much to ask, right?
Morgensonne
Jul 6 2004, 16:37
okay... after installing the plugin "foo_utils" i got what i wanted

all fine
lukeprog
Jul 25 2004, 22:38
One small request: That the hotkey for the foo_dbsearch allow you to toggle its visibility (not only make it active), so I don't have to hit the little X every time I'm done with it (or Alt+F4). I'd imagine this isn't too difficult. Would you consider implementing this?
foosion
Jul 26 2004, 06:01
I prefer hitting escape instead of Alt+F4 for closing it, since that's easier IMO. I'll consider including a toggle command in a future release.
lukeprog
Jul 26 2004, 11:46
Oh good idea. Thanks for considering toggle!
One other thing: the most common way I personally use database search is to highlight several tracks and send them to the current (almost always 'Default') playlist, replacing the other tracks. Might there be some way in the future to set 'send to playlist' to automatically do it with certain options (which playlist to send to, whether or not to replace current tracks in playlist), so you don't have to go through an extra screen to do it?
foosion
Jul 26 2004, 13:14
Set "Edit/Send to playlist" from foo_utils as default action and invoke it with Ctrl+Enter, or assign a keyboard shortcut of your liking to "[context] Edit/Send to playlist" (see a few posts above).
lukeprog
Jul 26 2004, 19:50
How do I set edit/send to playlist as the default action?
I tried setting [context] edit/send to playlist to Ctrl+enter but that always closes the dialogue box when I hit Enter.
foosion
Jul 26 2004, 20:08
QUOTE(lukeprog @ Jul 27 2004, 03:50 AM)
How do I set edit/send to playlist as the default action?
Under "Preferences->Components->Database search" set "Default action" to the desired command.
lukeprog
Jul 26 2004, 20:53
Oh, okay, thanks. Yeah, that works, but it still prompts for which playlist to add it to... is there any way to make it skip that? It's not a problem if it's already on the default playlist, but sometimes it's not (usually after I restart the player).
foosion
Jul 27 2004, 04:34
Sorry for confusing that, but the default action is triggered by pressing Enter in the resultlist (as stated in foo_dbsearch_help.html, btw).
lukeprog
Jul 27 2004, 10:43
No, yeah, I got that. I have the default action set to 'send to playlist' just fine, but I'm wondering if there's a way to bypass that extra screen that asks about which playlist to add it to and whether or not to replace and sort the files (because I ALWAYS choose the same options). Can I do that somehow? I want to send the tracks to my Default playlist (my only playlist) and replace the files in the playlist.
lukeprog
Jul 28 2004, 02:16
Yes? No? Maybe so?
foosion
Jul 28 2004, 03:10
QUOTE(lukeprog @ Jul 28 2004, 10:16 AM)
Be sure to use "Edit/Send to playlist" (from foo_utils) instead of "Send to playlist..." (from the foobar core).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.