Help - Search - Members - Calendar
Full Version: Database Search
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3, 4, 5, 6, 7, 8
alphaex32
I agree. We need a database search panel which shows the results in the playlist window.
NEMO7538
QUOTE(alphaex32 @ Dec 19 2004, 07:28 PM)
I agree. We need a database search panel which shows the results in the playlist window.
*


Yes .... that would be great
anza
Is it just me or are the context menu items (search for same xxx) broken?
Fishy Joe
Is it possible to do a dbsearch for items that don't match the search string? For example, if I searched for 2004 and wanted to find everything not released in 2004.
upNorth
QUOTE(Fishy Joe @ Jan 9 2005, 04:11 PM)
Is it possible to do a dbsearch for items that don't match the search string? For example, if I searched for 2004 and wanted to find everything not released in 2004.
*
You could alternatively use the extended playlist generator with the query:
CODE
NOT DATE IS 2004
foosion
QUOTE(Fishy Joe @ Jan 9 2005, 03:11 PM)
Is it possible to do a dbsearch for items that don't match the search string? For example, if I searched for 2004 and wanted to find everything not released in 2004.
*
In the "match all" and "match one" modes, simply prefix the word that should not be included with "-" (minus sign).
graham_mitchell
Just addin gmy voice to the choir of those who want the results to appear in the playlist smile.gif

FWIW, I think the iTunes search is a great model of how a search should work.

If you want to hear an album, you just need to add to your search string until the only results left are the members of that album, then play the whole album.

Or... you can even search on genre and then play all songs of that genre. Very easy.

The search field should be an integrated panel too. Then we're cookin!
aliumalik
QUOTE(alphaex32 @ Dec 20 2004, 08:28 AM)
I agree. We need a database search panel which shows the results in the playlist window.
*


I also request this...as mentioned above itunes does an excellent job of this and this helps in moving through a huge library
Kalynn
Yeah, a panel would be really nice, with a similar autoplaylist feature to the one albumlist panel has...
madivad
I see no-ones posted here for a while, and I'm new to foobar, but I thought I would add in my suport for a dbsearch panel. I usually hate it when people say: "Hey man, this is a great plugin, but can you fix this..."

But, this IS a great plugin and I do love it, however (there's that word) I would like to see the following:

1. Maybe more than a panel, I would like to see the dbsearch become the main window! (ie, i suppose that's just a big panel, but I would just like to use this as my main window!)

2. Be able to configure the CTRL and SHIFT ENTER keys. I want the default to be adding songs to my playlist, and if I wanted to play it directly, press shift or ctrl. But now, I have 2x add to playlist

3. (Maybe this is already there... but...) A hot key to bring up the search dialog. Is this possible?

Thanks
foosion
QUOTE(madivad @ Mar 31 2005, 03:16 PM)
2. Be able to configure the CTRL and SHIFT ENTER keys.  I want the default to be adding songs to my playlist, and if I wanted to play it directly, press shift or ctrl. But now, I have 2x add to playlist
*
That's already on the to-do list for this component.

QUOTE(madivad @ Mar 31 2005, 03:16 PM)
3. (Maybe this is already there... but...) A hot key to bring up the search dialog. Is this possible?
*
You can add one in preferences under "Core/Keyboard shortcuts".
sergeymen
QUOTE(madivad @ Mar 31 2005, 06:16 AM)
Maybe more than a panel, I would like to see the dbsearch become the main window! (ie, i suppose that's just a big panel, but I would just like to use this as my main window!)


a panel? I've been kinda out of touch with foobar/dbsearch developments. Are you saying you can configure dbsearch to be a panel in foobar? How do you do it? I would love to have it!
madivad
QUOTE(sergeymen @ Apr 1 2005, 11:17 AM)
QUOTE(madivad @ Mar 31 2005, 06:16 AM)
Maybe more than a panel, I would like to see the dbsearch become the main window! (ie, i suppose that's just a big panel, but I would just like to use this as my main window!)
a panel? I've been kinda out of touch with foobar/dbsearch developments. Are you saying you can configure dbsearch to be a panel in foobar? How do you do it? I would love to have it!
and so would I which is why I asked.

This as a main window would certainly be an ultimate. just imagine, having a playlist running (my default running playlist is called "Playing Now" and "Follow Cursor" is set to off. So in my dbsearch 'window/panel' I could be able to just search and press enter to add the found songs onto the end of the cue.

Well that's the end goal anyway.
HiFiRE
The download link http://www.stud.uni-karlsruhe.de/~uzbs/fb2...bsearch-1.2.zip is broken. Is there somewhere else I could pick up this plugin?
foosion
QUOTE(HiFiRE @ Apr 8 2005, 06:10 AM)
The download link http://www.stud.uni-karlsruhe.de/~uzbs/fb2...bsearch-1.2.zip is broken. Is there somewhere else I could pick up this plugin?
*
It seems like there was a problem with the webserver, but it is working now. Just try to download the component again.
Trigger911
I use this almost every song I play haha. I would love if there was a setting that if u middle click or highlight somthing there it will show in the open playlist if its in there. It just starts getting old right clicking scrolling down to highlight every time. But great app i would realy need love in a database search even with out id still use it.
snoxu
QUOTE(alphaex32 @ Dec 20 2004, 04:28 AM)
I agree. We need a database search panel which shows the results in the playlist window.
*


I think it would be cool if this and album list were merged into one thingie somehow. I guess it's up to the people making these plug-ins.
Franklin
Hello,

If I do a search, how can I play the files directly without adding them to a playlist? This would be great.

Greetings
Franklin
foosion
For foobar2000 0.8.3 you need foo_utils and more specifically the "Play" context menu command. For foobar2000 0.9 beta that is not possible.
fabiospark
Is there a way to add more commands to the list for the menus?

I'm particularly interested into being able to add custom queries (same performer, same situation, etc) to the context menu with the ability to link them to keyboard shorcuts.

I added my queries in the config page but I can't see them in the command lists for the menu or the keyboard shorcuts.

------------------

Foosion, as I'm programming my remote controle and enhancing it with Girder mainly through keyboard shortcuts. I made some tests in FB directly with the keyboard and found this behaviour:

1 - launch DB Search - same album (with a shortcut)
2 - press tab key to move the cursor from the pattern box to the result list box
3 - select all the lines in the result list (with a "select all" shorcut)
4 - right click on the selection and click on "add to playlist"

Everything worked ok. But, if I used a shortcut to launch the "edit/add to playlist" command, it didn't work. This prevented me to complete a macro in Girder.

After further testing, I've being able to use the "enter" key (or shift+enter or ctrl+enter) and see it work but I had to play around with Girder's "set focus" and "wait" commands and the only way I could close the DB search window was through an "ESC" key.

Am I doing some or many things wrong?


Thanks.
foosion
QUOTE(fabiospark @ Oct 30 2005, 06:25 PM)
Is there a way to add more commands to the list for the menus?

I'm particularly interested into being able to add custom queries (same performer, same situation, etc) to the context menu with the ability to link them to keyboard shorcuts.

I added my queries in the config page but I can't see them in the command lists for the menu or the keyboard shorcuts.
*

That is only possible in the version for foobar2000 0.9.

QUOTE(fabiospark @ Oct 30 2005, 06:25 PM)
Everything worked ok. But, if I used a shortcut to launch the "edit/add to playlist" command, it didn't work. This prevented me to complete a macro in Girder.
*

Congratulations, you have found a bug in one of the oldest parts of the foo_dbsearch code. tongue.gif
The problem is that any keyboard shortcut that involves one of the keys used in the built-in navigation shortcuts of the result list but not Alt will never be triggered. The keys in question are:
  • Arrow up and Arrow down
  • Page up and Page down
  • Home and End
  • Space
  • A
  • the Application key (the one between the right Win and Control keys, that can be used to open a context menu)
This will be fixed in the version for foobar2000 0.9 beta 11. As I will most likely not update the version for foobar2000 0.8.3, I suggest using a keyboard shortcut that does not include one of the above keys or that includes Alt on the existing versions.
krazy
I believe I've found a small bug:
If you queue up a song in 0.9 b10, bring up dbsearch with default action set to "Play" and double click a song in the search window, it will play the next-queued song instead of the one clicked on.
foosion
QUOTE(krazy @ Nov 1 2005, 04:15 PM)
I believe I've found a small bug:
If you queue up a song in 0.9 b10, bring up dbsearch with default action set to "Play" and double click a song in the search window, it will play the next-queued song instead of the one clicked on.
*

Thanks for reporting. As the "Play" command is implemented in foo_utils, this is actually not a bug in foo_dbsearch. Anyway, a fixed version should be available when (or shortly after) beta 11 goes public.
Seldaek
Hi, I was wondering if it would be possible to search "without accents", meaning i would match i & ï & î, e would match e, ê, é, etc. and reversed too, ï matching i.
I ran into a problem earlier today trying to find something which had an ï in it, and I didn't remember, so I noticed this "problem", which I hope will be fixed someday.
Now I guess I can replace all a/e/i/o/u/n by * to fix it but that would not be very convenient I think.
Thank you.
BlindSeer
QUOTE(Seldaek @ Nov 13 2005, 12:23 PM)
Hi, I was wondering if it would be possible to search "without accents", meaning i would match i & ï & î, e would match e, ê, é, etc. and reversed too, ï matching i.
I ran into a problem earlier today trying to find something which had an ï in it, and I didn't remember, so I noticed this "problem", which I hope will be fixed someday.
Now I guess I can replace all a/e/i/o/u/n by * to fix it but that would not be very convenient I think.
Thank you.
*


You can replace these characters in the "format preset" search strings using the $replace() function. For example, $replace(%title%,é,e,ö,o) will solve the problem for é and ö in a title search.
onthejazz
You mentioned earlier running db_search in version .9, I just did a clean install of the latest beta 12 and then installed db_search 1.20. I keep getting a utf8 error on startup. Any suggestions?
hunted
QUOTE(onthejazz @ Dec 10 2005, 02:33 PM)
You mentioned earlier running db_search in version .9, I just did a clean install of the latest beta 12 and then installed db_search 1.20.  I keep getting a utf8 error on startup. Any suggestions?
*


Sounds like you are using the dbsearch for 0.8.3, which is 1.2.4, the current version for 0.9 is 1.3.1, available at http://foosion.foobar2000.org/beta/
onthejazz
Seems like you know something I didn't. smile.gif

Thanks.
hunted
QUOTE(onthejazz @ Dec 10 2005, 04:48 PM)
Seems like you know something I didn't.  smile.gif

Thanks.
*


the clue was utf8, that is gone in 0.9 smile.gif
anza
QUOTE(hunted @ Dec 11 2005, 09:59 AM)
the clue was utf8, that is gone in 0.9 smile.gif
*


Actually foobar still uses utf8 (and always will), only the file utf8api.dll has been changed and renamed to shared.dll.
33miguel33
Sorry if this has been asked before:

Can I make dbsearch a tab in uie_tabs? If so, how?

thanks.
hunted
QUOTE(anza @ Dec 11 2005, 01:10 AM)
QUOTE(hunted @ Dec 11 2005, 09:59 AM)
the clue was utf8, that is gone in 0.9 smile.gif
*


Actually foobar still uses utf8 (and always will), only the file utf8api.dll has been changed and renamed to shared.dll.
*


I know there is still utf8, what I meant was I could tell the error he was getting was related to utf8api.dll, which is renamed as you said.

Anyways, one thing I liked more about the version for 0.8, was that the format drop down was a combo box not a drop down list box, so you could just put in something like %__replaygain_album_gain% for those times you were searching something miscelaneous, but didn't want to add a preset for it. Was there a reason for changing this?
foosion
Yes, it annoyed me a lot (and AFAIK some users as well) that you could no longer click anywhere on the format dropdown to show the list of available format, but instead had to aim for the arrow button on the right. In the end, I decided to sacrifice a bit of flexibility for convenience.
simmosn
QUOTE(foosion @ Sep 4 2004, 08:55 AM) *
QUOTE
4) Make this plugin available as a panel for UI Columns. Probably most useful if musicmusic adds support for horizontal panels under the playlist. At least to me as I like to show quite a bit of information for each search results.

It won't happen now, but it might happen later. The reason is that a) the ui_extension API still has some weaknesses considering support for single-instance panels and program control over opening panels, and b) dbsearch IMO requires that there can be at most one (identifiable) instance that can be shown on request. The rationale for the latter is that the "search for same" commands require a designated target window that they can modify. This is really rather a design than an implementation problem.

Has anything changed regarding these issues that makes a media library search panel a possibility?
4nt1
couldnt the search results just appear as a new playlist as *search results* and display to that ??
Killmaster
Is there any way to select and keep the default format when using the search? It keeps on switching every time I use 'Search for Same'. I'd rather be able to set it to search 'all your favorite tags' when invoking the search command, instead of the last searched format.
simmosn
My ideal situation would be a panel based search box that displayed all results in a seperate playlist.
Jimbo51
QUOTE(simmosn @ Apr 18 2006, 10:38 AM) *

My ideal situation would be a panel based search box that displayed all results in a seperate playlist.


Yes a panel would be fantastic (are you sick of people requesting it yet? smile.gif). foo_uie_search worked great for 0.83 so i think it must be possible, i'd love something similar for dbsearch, that sends the results to a playlist entitled with the search term.
simmosn
QUOTE(Jimbo51 @ Apr 18 2006, 06:53 AM) *

QUOTE(simmosn @ Apr 18 2006, 10:38 AM) *

My ideal situation would be a panel based search box that displayed all results in a seperate playlist.


Yes a panel would be fantastic (are you sick of people requesting it yet? smile.gif). foo_uie_search worked great for 0.83 so i think it must be possible, i'd love something similar for dbsearch, that sends the results to a playlist entitled with the search term.


I only requested is again because of what I said a couple of posts above. The reasons foosion stated for not having one could have changed with 0.9
Jimbo51
QUOTE(simmosn @ Apr 18 2006, 04:24 PM) *

QUOTE(Jimbo51 @ Apr 18 2006, 06:53 AM) *

QUOTE(simmosn @ Apr 18 2006, 10:38 AM) *

My ideal situation would be a panel based search box that displayed all results in a seperate playlist.


Yes a panel would be fantastic (are you sick of people requesting it yet? smile.gif). foo_uie_search worked great for 0.83 so i think it must be possible, i'd love something similar for dbsearch, that sends the results to a playlist entitled with the search term.


I only requested is again because of what I said a couple of posts above. The reasons foosion stated for not having one could have changed with 0.9


I know that, i mean't that many people have requested a panel since the plugin began, it wasn't aimed at you smile.gif.
picmixer
I wouldn't hold my breath for foosion ever to release a panel version of dbsearch. If anything in that area is gonna happen it will probably have to be some other developer making a seperate component fo this.
simmosn
QUOTE(picmixer @ Apr 18 2006, 07:36 AM) *

I wouldn't hold my breath for foosion ever to release a panel version of dbsearch. If anything in that area is gonna happen it will probably have to be some other developer making a seperate component fo this.

Hmmmm, that doesn't sound too promising sad.gif

QUOTE(Jimbo51 @ Apr 18 2006, 07:32 AM) *

I know that, i mean't that many people have requested a panel since the plugin began, it wasn't aimed at you smile.gif.

Ah right, I understand now smile.gif
Seldaek
The only one I can see is if you're loading the 0.8.3 plugin into foobar 0.9. And as there is no 0.9 version of this plugin, if that's what you're trying I think you can give up for the time being.

Edit: Damn I thought I was crazy when I just read my post again.. but the reason why this doesn't make any sense is because some posts went away in there. Don't know why mine was left behind, any mod who pass by can simply delete it.
mil3s
Here are my thoughts on this really good Media Library search plugin.

First, the stuff I like.
* It's simple to use, finds what you search for and display a list without expandable (treeview) enteries.
* Great options in the Preferences.

What I don't like.
* Toolstyle Window. Normal style please.
* UI elements not spaced properly. To close to each other and the border.
* Statusbar. This is where the search details should be imo. "5 items found. Search took 0.07 seconds."
* Too few options for the doubleclick action. Here is where I would want an option to 'Add To Playlist' or 'Play'.
* 'Search for Same >' shoudn't be at the bottom of the list. That's where the normal rightclick menu is.
* Plugin doesn't respect the option 'Show keyboard shortcut menus'.
Generalverdacht
i´d like to have an option to select the selected dbsearch item directly in the playlist, like its done with the playliste search.
foosion
QUOTE(mil3s @ Apr 25 2006, 07:21 PM) *
* Too few options for the doubleclick action. Here is where I would want an option to 'Add To Playlist' or 'Play'.
Those commands are provided by foo_utils. I do not intend to pointlessly implement them in multiple components.
QUOTE(mil3s @ Apr 25 2006, 07:21 PM) *
* 'Search for Same >' shoudn't be at the bottom of the list. That's where the normal rightclick menu is.
I'm not sure what you mean. If this is about the position of the "Search for Same" submenu in the context menu, well, that's what the context menu editor is for.
QUOTE(mil3s @ Apr 25 2006, 07:21 PM) *
* Plugin doesn't respect the option 'Show keyboard shortcut menus'.
I'll put it on my to-do.

QUOTE(Generalverdacht @ Apr 25 2006, 08:49 PM) *
i´d like to have an option to select the selected dbsearch item directly in the playlist, like its done with the playliste search.
In the context menu of the result list, there is an option "Track focus in playlist". If you activate it, the playlist focus will be set the item that is focused in the result list. To select all tracks in the playlist that are in the result list, first select all results on the use the "Edit/Highlight in Playlist" command from foo_utils.
sPeziFisH
..a panel-version (a la foo_uie_dbsearch) would be really usefull - you don't have to close the search-window with each query in the media libary and you don't have to switch between different windows while acting between playlist and search-window - it's more integrated, the way to your music is more comfortable.

Any chance to get a panel-version by you, foosion ? smile.gif
foosion
No, there will be definitely no panel version from me. Converting the existing code for that purpose would take a lot of effort, and since I wouldn't use a panel version myself at all (it would only waste screen space while I'm not using it, i.e. most of the time), this effort does not seem justified for me.

However, the upcoming release (v1.4) will finally allow all the relevant backend code (data sources, filter modes, background search, even format presets) to be re-used by other components.
Mew
I've got a problem when using database search (latest version as far as i know) from the command prompt with foobar2000 0.9.1.

CODE
%PROGRAMFILES%\foobar2000\foobar2000.exe "/command:database search"

This pops up the "Help/Database Search" instead of "Library/Database Search" which is what I want. huh.gif

How can I fix this, or is one of the mentioned menu entries in need of a new name?
If that's the case, may I suggest "Database Search Help" or something? tongue.gif

Anyway, LOOOVE the plugin. biggrin.gif Great work!
foosion
foo_dbsearch 1.4 beta 2 is available for download from my components page. Please see the Database Search section on this page for details.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.