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 224114 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Database Search

Reply #200
Oh, doh! It works perfectly now. THANKS!!

Database Search

Reply #201
But there is no way to send a song to a specific playlist as default action, isn't it?

I would like to doubelclick on a song and have added it in the default playlist and let it be played.

Regards, Lars

Database Search

Reply #202
Yeah that would be great

Database Search

Reply #203
so, i have a brief feature request that i've been hoping would be added by natural process for a while.. but yeah...

what would really be awesome is if there was a switch where one could make the dbsearch window close after an action is performed or after about 3-5 seconds of activity (an either/or type affair).  whenever i use the dbsearch window, i usually just want to play a track, or see if something is there. other than that, it just sits there being big and stuff

while on the topic, it would also be nice if the 'play' action could be targeted at a specific playlist.. i'm one ot those users that keeps a playlist full of everything in the database.

man, that would be awesome.

Database Search

Reply #204
Awesome plugin
It's helped me properly tag and organise my collection in just an hour

One thing though, 'Track focus in Playlist' only seems to outline the track on the playlist it's in, and not actually highlight or switch to that playlist.

Maybe i'm expecting it to do something it's not meant to, but i thought this would work like the 'Playlist/Highlight playing Item' feature of fb2k 

Regardless, would it be possible to add 'Track focus in Playlist' as a default search action?
_
psy.

Database Search

Reply #205
Half-hearted DB Search API request:
I think it would be useful if other components had access to the searching engine, something vaguely similar to the interface foo_playlistfind allows. A developer could create an instance of some dbsearch service with a specific domain and filter, and then query the service with strings to search for.

I think it makes sense for foobar to have a single database searching engine, rather than have each plugin author create their own. Especially considering the concept of domains. I understand that would probably be a lot of work to implement, and I'm not sure how much it would get used, but I thought I'd suggest it all the same.

Database Search

Reply #206
@l.s and shovet:
IIRC there is a plugin that adds commands to the context menu to directly send tracks to any existing playlist. Sorry, but I don't remember the exact name.


@herr klang:
Here's a short explanantion to prevent misconceptions about the "natural development process" for this plugin: progress on this plugin involves a) an urgent need to add or fix something, or b) me having greater amounts of free time. I will add your request to my list of things that might me implemented. However, my current priority (as far as development of this plugin is concerned) is cleaning up the preferences and completing the documentation.


@psynapse:
Quote
Awesome plugin
It's helped me properly tag and organise my collection in just an hour

Nice to hear that.

Quote
One thing though, 'Track focus in Playlist' only seems to outline the track on the playlist it's in, and not actually highlight or switch to that playlist.

And that's the only thing it's meant to do. Details about this and other options will be included in the soon completed documentation.


@Phi:
To be honest, I've already had that idea myself, but never found the time and motivation to do it. After several internal code cleanups, it should now be fairly easy to promote the search engine class to a service. However, I would like to know how much interest in this exist, before I invest time in doing these changes .

Database Search

Reply #207
Quote from: foosion,Aug 18 2004, 10:51 PM

@l.s and shovet:
IIRC there is a plugin that adds commands to the context menu to directly send tracks to any existing playlist. Sorry, but I don't remember the exact name.

Yes, there is. Thanks for the info:

http://members.lycos.co.uk/musicf/?#Send_to_playlist

It sends a song to a specific playlist, that is choosen by order.

A better sollution in my eyes would be a selection by the name of the playlist.  And it woun't solve the problem, that the added song is not played.

Perhaps you can add some thing like this some day to your fo_utils pluging 

Regards, Lars

Database Search

Reply #208
What i'd really like is to be able to display albums as single entries in the results list. Is it possible to do this currently?


Also what's happening with the sdk/source?

Database Search

Reply #209
Quote
A better sollution in my eyes would be a selection by the name of the playlist. And it woun't solve the problem, that the added song is not played.

Perhaps you can add some thing like this some day to your fo_utils pluging

I'll think about it. Of course, you can also implement it yourself, and send me the changes.


Quote
What i'd really like is to be able to display albums as single entries in the results list. Is it possible to do this currently?

No.

Quote
Also what's happening with the sdk/source?

The foo_dbsearch sources are closed until I decide otherwise. The interfaces usee by the plugin will stay publicly available and will likely even be extended.

Database Search

Reply #210
Quote
I'll think about it. Of course, you can also implement it yourself, and send me the changes.


Thank's.

If I would be able to do this, I had allready tried to do something about it. But with my lacking abilitities... 

Regards, Lars

Database Search

Reply #211
I'm not sure how much further you want to develop this plugin, as it's more than good enough already, but I'll share my ideas/requests anyway:

1) A checkbox to "auto update" search on track change.
Reason: I often use this plugin to see if I have other versions of the same track, either by the same artist or by others. Currently I have assigned a keyboard shortcut to do a search with the playing track as input. One anoyance is that I can only make a shortcut for "Search for same..." and have to pick my own custom preset from the list over and over. My preset uses %title% as pattern, but ignores everything in parenthesis (as they often contain "(live)", "(feat..)" and such). Here is the whole preset:
Code: [Select]
$trim($if(%title%,$if($greater($strchr(%title%,'('),1),$substr(%title%,0,$sub($strchr(%title%,'('),1)),%title%)))
The option to make a "direct" shortcut without the "Search for same.." detour, would be useful if you don't like the "auto update" thing.

2) A "focus" feature that works for all playlists, not only the active one. Would be useful in combination with "search all playlists". If present on multiple playlists, just pick the first one or something.

3) Add "Play track" as a "Default action". Most useful if 3) is implemented, but nice even for a single playlist.

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.


These are all features I would find useful, so if one or more of them can be accomplished already, please enlighten me.

I guess all of these combined could be a plugin on its own. As a panel showing a list of similar tracks only, no dropdown lists or anything.

I know so many feature requests at once probably isn't very motivating, but pick the ones you find useful, if any at all. If you decide not to implement any of these, I would still like to thank you for this great plugin, and all your work with foobar in general.

Btw: I didn't reread the this thread, and it's been a while, so I'm sorry if I have duplicated any previous requests.

 

Database Search

Reply #212
Quote
I'm not sure how much further you want to develop this plugin, as it's more than good enough already, but I'll share my ideas/requests anyway:

I always have some ideas how to improve this plugin, but I prefer to let those ideas mature before making major changes.

Quote
1) A checkbox to "auto update" search on track change.

I'll think about it. With the inclusion of a new API to control the search dialog in the next version, this could even be implemented in a separate plugin.

Quote
The option to make a "direct" shortcut without the "Search for same.." detour, would be useful if you don't like the "auto update" thing.

Queued for (current version+2).

Quote
2) A "focus" feature that works for all playlists, not only the active one. Would be useful in combination with "search all playlists". If present on multiple playlists, just pick the first one or something.


Quote
3) Add "Play track" as a "Default action". Most useful if 3) is implemented, but nice even for a single playlist.

Also queued for (current version+2) - or rather the ability to reassign the mapping of Ctrl+Enter and Shift+Enter in addition to only Enter.

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.

Quote
I guess all of these combined could be a plugin on its own. As a panel showing a list of similar tracks only, no dropdown lists or anything.

Indeed.

Quote
I know so many feature requests at once probably isn't very motivating, but pick the ones you find useful, if any at all. If you decide not to implement any of these, I would still like to thank you for this great plugin, and all your work with foobar in general.

Thanks.


For you and everyone interested in this plugin, here's some information regarding my plans for this plugin. Some of this has already been said in different places, and is repeated here to form a more complete picture.
  • next release: complete user guide, reworked configuration dialog (will retain configuration compatility), dbsearch control API
  • release after next release: improved configuration dialog (will break configuration compatility), perhaps API for leveraging the search engine
  • sometime in the future: propagating changes in the searched domain to the result list (for example removing entries from the results when they are removed from the database), setting playlist focus and selection for "search playlist" and "search all playlists"
I am also considering to remove the ability to type an arbitrary string in the format field in the search dialog, as I virtually never use it myself. Instead it annoys that I have to click on the arrow, when changing the format with the mouse. Well, that isn't decided yet, and I'll consider feedback from anyone who uses this plugin. (Though I'll probably ignore statements like "Why not make it an option? I don't use that feature, but it could be useful.")

Database Search

Reply #213
Waiting for the ui_extension API to mature a bit sounds reasonable.

I might have a go at a small "similar tracks" plugin myself some time. I guess that would require your "mini SDK", but the link to foo_dbsearch_mini_sdk-1.2.zip on your plugins page is broken. Should I use/look at foo_dbsearch_mini_sdk-0.11.zip instead?

Quote
I am also considering to remove the ability to type an arbitrary string in the format field in the search dialog, as I virtually never use it myself. Instead it annoys that I have to click on the arrow, when changing the format with the mouse. [a href="index.php?act=findpost&pid=239462"][{POST_SNAPBACK}][/a]
IMHO that's a very good idea

Database Search

Reply #214
Quote
I might have a go at a small "similar tracks" plugin myself some time. I guess that would require your "mini SDK", but the link to foo_dbsearch_mini_sdk-1.2.zip on your plugins page is broken. Should I use/look at foo_dbsearch_mini_sdk-0.11.zip instead?

If all you want to do is search the database for tracks similar to the one currently playing, you are probably better off coding this from the scratch, as the parts of dbsearch that would make your job easier (particularly the backgrounded search loop) aren't exposed to other plugins yet. The services in the dbsearch SDK are merely a means of allowing uniform access to filter implementations and data sources ("domains"). Nevertheless I should ensure that the download links on my page are working.

edit: foo_dbsearch_mini_sdk-1.2.zip wasn't uploaded for some unknown reason. Fixed.

Database Search

Reply #215
Hi!

I don't know if this has been asked in the past, but how about re-styling the UI of the search-window to be more scalable like the main window with "ColumnsUI". In special I thought about introducing columns...  Anyway: Great work on this component - I love it!


Thanks!
Moon
"If there 's no soul in the computer's music, it's because nobody put it there." - Björk.

Database Search

Reply #216
Quote
I don't know if this has been asked in the past, but how about re-styling the UI of the search-window to be more scalable like the main window with "ColumnsUI". In special I thought about introducing columns...

I currently don't have plans in that direction.

Quote
Anyway: Great work on this component - I love it!

Your welcome.

Database Search

Reply #217
"Press column header to sort results" would be nice 
[span style='font-size:8pt;line-height:100%']You answered Moonwhaler's request before I finished writing...[/span]

Another thing, how about adding color support. Something I like about foobar, is the ability to make it easier to read by using colors. It would also blend in more nicely with the rest.

Database Search

Reply #218
Quote
Another thing, how about adding color support. Something I like about foobar, is the ability to make it easier to read by using colors. It would also blend in more nicely with the rest.

What colors do you mean? For the edit boxes and the dialog background?

Database Search

Reply #219
Quote
Quote
Another thing, how about adding color support. Something I like about foobar, is the ability to make it easier to read by using colors. It would also blend in more nicely with the rest.

What colors do you mean? For the edit boxes and the dialog background?
[a href="index.php?act=findpost&pid=239498"][{POST_SNAPBACK}][/a]
Sorry, I should have explained it better. I was talking about supporting color codes in the "Display" formatting string (TAGZ).

A simple example:
Code: [Select]
FFFFFF|FFFFFF%artist% 00FFFF|00FFFF%title% 0000FF|0000FF%album%


As I've said earlier, I like to display quite a bit of information about the search results. Currently it shows: artist, title, album, tracknumber, rating, play counter, length, playlist name and some codec info. I guess some would consider this information overkill, but I find it useful. Anyway, it would be alot easier to read this info if I could add some colors to it, that's all.

Database Search

Reply #220
Seems like you haven't tried using color codes.  Support for color codes was added to foo_dbsearch a little over 14 months ago, thus making it the first third party component with that feature AFAIK.

Database Search

Reply #221
Quote
Seems like you haven't tried using color codes.  Support for color codes was added to foo_dbsearch a little over 14 months ago, thus making it the first third party component with that feature AFAIK.
[a href="index.php?act=findpost&pid=239507"][{POST_SNAPBACK}][/a]
OMG!
          a good time to use them all.

I was actually afraid of this being the case, so i tried adding some colors before I posted. Don't know what went wrong.

What I can't understand though, is how I missed this feature in the first place. I remember when you first released this plugin and I made myself a nice formatting with colors. When it was ready I realized that it didn't support colors, so I removed them. That's the way it has been ever since, but now I can add some colors to the formatting I made earlier today.

At least it was easy to please me this time. 


14 months is such a looong time...

Database Search

Reply #222
could someone tell me what plugin i need so that i can double click on a searched item so that it will add it to the current playlist with the full version on foobar200 in properties you go to database search --> defualt action and select something like Edit/?
which will complete what i need, i currently use the lite version and can't find the plugin

any help?

Database Search

Reply #223
You are looking for foo_utils, the command is called Edit/Add to playlist.

Database Search

Reply #224
Would it be possible to add support for %_isplaying% in the display string?
It would be nice to make the current track stand out, when searching for similar tracks.

Please don't tell me this is an old feature too.  [span style='font-size:8pt;line-height:100%']Ok, I would like to know, even if it is...[/span]