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



Database Search

Reply #303
Ah, okay. Some components do not have a proper description (in the feed) at the moment, and foo_dbsearch 1.4 beta is not contained in there at all.

Database Search

Reply #304
I really like foo_dbsearch, thanks foosion for the update !

I found the following things to optimize:

foo_dbsearch:

Typo at:  search dialog > Finding-Mode ('Find all words','Find any word' etc.):

'fnid parshe' --> 'find parshe'  or 'find parse' , don't know

BTW Can you give an explanation about this mode (ok, I guess, you'll update the online-help if there's time)

foo_dbsearch-Demo-Toolbar:

I've got  the demo-toolbar within a horizontal splitter and resizing of any toolbar is nearly impossible, there's heavy flickering (even though it is thought as an API-demo)

  NEMO7538's should add your 'by typing'-behaviour (or should change to the dbsearch_API at all, if there are advantages), than we would have the ultimate search-toolbar.

foo_dbsearch 1.4beta 2, foobar 0.9.2beta4 & ColumnsUI 0.1.3 beta 1v5 here.

Database Search

Reply #305
'fnid parshe' --> 'find parshe'  or 'find parse' , don't know

BTW Can you give an explanation about this mode (ok, I guess, you'll update the online-help if there's time)
As I've said before (even in this thread, I think), this is somewhat of an easteregg. You'll have to reorder the letters get the real name, and that is more or less what this mode does as well. If this is still to cryptic, well, I plan to update the help file tomorrow.

I've got  the demo-toolbar within a horizontal splitter and resizing of any toolbar is nearly impossible, there's heavy flickering (even though it is thought as an API-demo)
Well, yes, it is only an API demo, and no, I haven't tested it anywhere except in the toolbar area.

Database Search

Reply #306
should it be find phrase
yay for blues clues

Database Search

Reply #307
should it be find phrase
yay for blues clues


Curiously, searching for "tmie" gives the same results as searching for its anagram "time" (titles with "time" or with "*time*").

Database Search

Reply #308
foo_dbsearch 1.4 beta 3 is available for download from my components page.

This version adds the "Query" filter mode which allows you to use playlist generator query syntax. There are some minor fixes and API changes as well, so if you use the toolbar demo, please update that as well. Also, the online help has been updated. The descriptions of the word based search modes are still missing; I plan to add them later today.

Database Search

Reply #309
Hi,
I miss an option in the "format presets - search for the same" preferences dialoge.
Something like a option to select the format pattern.
Example:
Up to now "search for the same artist" uses format: artist only
But sometimes it would be really useful to use "search for the same artist" with the "all your favourite tags" format to find e.g. not only "vitalic" as artist but also "...vitalic remix" in title tag.

Is this something for 1.4 final?

Database Search

Reply #310
After a search with the demo toolbar, it seems I can't delete the 'Database search results' playlist.

Database Search

Reply #311
Hi,
I miss an option in the "format presets - search for the same" preferences dialoge.
Something like a option to select the format pattern.
Example:
Up to now "search for the same artist" uses format: artist only
But sometimes it would be really useful to use "search for the same artist" with the "all your favourite tags" format to find e.g. not only "vitalic" as artist but also "...vitalic remix" in title tag.

Is this something for 1.4 final?
If I understand you correctly, you want two formatting scripts for each format preset: one that is used in the search window as it is now, and a second one that is used by "Search for Same" to generate the pattern. I have not decided yet, if I will add this.

As a workaround, you could use the Query mode introduced in the latest beta. If you use the standard Artist preset with the Query mode, you will get all tracks that contain the name of the selected artist in any tag. If you want to search only the ARTIST and TITLE fields for the artist's name, you could set a new preset with the following script:
Code: [Select]
artist IS "%artist%" OR title IS "%artist%"
Since the Query mode does not use the format from the preset, but "Search for Same" generates the pattern using it, you will get a query in the pattern where the actual artist name is inserted.

Note that the choice of the filter mode is shared for all format presets with "Search for Same".

After a search with the demo toolbar, it seems I can't delete the 'Database search results' playlist.
This is an intended effect for the demo toolbar; the result playlist will be removed when you remove the toolbar. I was testing the ability to prevent the deletion of a playlist with a playlist lock. I probably won't bother to remove this for the demo toolbar, but there might be a more polished, non-demo version of it in the future.


Database Search

Reply #313
Try this: Set the filter mode to "Query" in the Search for Same settings. You will not be able to restrict the search to a given set of fields; instead it will search all metadata fields. It might also yield weird or no results, if the generated pattern contains elements that have special meaning in the query syntax, but otherwise this should do pretty much what you want.

Database Search

Reply #314
Great, I got it worked!
This Query does exactly what I wanted
Code: [Select]
artist IS "%artist%" OR title HAS "%artist%"


But I'm not able to set filter mode to "Query" in Search For The Same settings of beta3 

Database Search

Reply #315
But I'm not able to set filter mode to "Query" in Search For The Same settings of beta3 
My bad. Search for Same offers only filter modes that use both the format and the pattern fields. I will change that for beta 4.

Database Search

Reply #316
Database search toolbar isn't working for me 
Working with columnsUI.
ok, so i installed the database search and database search toolbar interface.
The normal database search works just fine,
but when i search with the toolbar it dosen't show results in the playlist (clear playlist)

foobar 0.9.2, db search 1.4 beta 3

Any ideas?

Database Search

Reply #317
foo_dbsearch 1.4 beta 4 is now available for download. Search for Same does no longer require a filter mode that uses the format preset and the pattern, now one of them is enough, so it now is possible to use the Query mode with Search for Same. Some minor changes in "Find all words", "Find any word", and "Find most words". Finally, the online help has been updated with descriptions of all included filter modes.

Any ideas?
Unfortunately not.

Database Search

Reply #318
Is it possible to implement Play as the "Default Action" without having to have foo_utils installed?
</signature>

 


Database Search

Reply #321
Duplicating code: the implementation of the "Play" command is not horribly complicated, but it's not a one-liner either.

Complicating code: Every part of foo_dbsearch that deals with this would need an extra code path to distuingish between built-in commands and regular context menu commands.

I like to spend my time more productively than that.

Database Search

Reply #322
Apologies if this has been requested before, is it possible to show the entire contents of the database (or playlist dependant on context/choice) when the search is blank (i.e when nothing has been typed, or everything deleted)?  Alternatively it would be nice to have a button to show all songs in the database (or playlist dependant on context/choice).

Otherwise this is an excellent plug-in.


Database Search

Reply #324
Hi foosion,

Just one question, it's possible to autosend the generated search results in a playlist (like quick search toolbar)? I really like the fact that you can setup custom search in your plugin under the query mode, which brings a lot of possibilities, and it'll be great if the results could be sent automatically to a new playlist.

Thanks.