HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: cwbowron on 2006-06-07 14:43:37

Title: foo_trackfinder
Post by: cwbowron on 2006-06-07 14:43:37
I'm splitting the track finder component of playlist tree into its own component. 

* info: http://wiki.bowron.us/index.php/Foobar2000#foo_trackfinder (http://wiki.bowron.us/index.php/Foobar2000#foo_trackfinder)
* download: http://foobar.bowron.us/foo_trackfinder.zip (http://foobar.bowron.us/foo_trackfinder.zip)
* pretty picture: http://foobar.bowron.us/foo_trackfinder.png (http://foobar.bowron.us/foo_trackfinder.png)

I've re-engineered the way that track finder works, so it will work better for larger sets now.  The menu structure is dynamically created so that large sets will not exceed the available HMENU resources.

I also moved the Track Finder option in the main menu from Library/Playlist Tree to its own entry under View
Title: foo_trackfinder
Post by: roentgen on 2006-06-07 14:54:38
well... nice enough  doesn't seem to break foobar anymore (I'll give you a crash log if want... I never managed to use the old trackfinder )

anyway... changing/adding actions in configuration don't seem to have any effect
I want to find and play ... is it possible?
Title: foo_trackfinder
Post by: cwbowron on 2006-06-07 15:06:36
well... nice enough  doesn't seem to break foobar anymore (I'll give you a crash log if want... I never managed to use the old trackfinder )

anyway... changing/adding actions in configuration don't seem to have any effect
I want to find and play ... is it possible?


It should be possible.  Set one of the actions to "Play".  I'm not sure if that command comes in the standard install or if its part of foo_utils.

Changing the actions is working for me.  I'm wondering if there might be an issue if you have not upgraded to the latest version of playlist tree which has track finder removed from it.
Title: foo_trackfinder
Post by: roentgen on 2006-06-07 15:16:08
Changing the actions is working for me.  I'm wondering if there might be an issue if you have not upgraded to the latest version of playlist tree which has track finder removed from it.

That did the trick ... thanks

But I'd expect that play works even with artists/album menu selected. Just pick some random track from the specified artist/album... so I wouldn't have to go all the way to a specific track. That would mean going thru more than 4 or 5 submenus... and I'd better use quicksearch toolbar instead
Title: foo_trackfinder
Post by: cwbowron on 2006-06-07 15:32:44
But I'd expect that play works even with artists/album menu selected. Just pick some random track from the specified artist/album... so I wouldn't have to go all the way to a specific track. That would mean going thru more than 4 or 5 submenus... and I'd better use quicksearch toolbar instead


You could use one of the items in the edit submenu from foo_utils, such as "Add To Current Playlist and Play".
Title: foo_trackfinder
Post by: roentgen on 2006-06-07 16:02:49
You could use one of the items in the edit submenu from foo_utils, such as "Add To Current Playlist and Play".

well... creating several additional playlists or modifying current playlists isn't my exact desire... I just needed find and play... anyway not a BIG deal

edit:I use Alt+F as a shortcut... and when menu is displayed F is automatically selected (regardless how quickly I realease F key )
Title: foo_trackfinder
Post by: ftboomer on 2006-06-07 20:07:23
WOW!  This is nice, but as always I have a few requests. 

A right-click to open option (don't even know if it's possible)

Cursor follower,  Change to the selection in the playlist and change the Album Art.  *edit*  Figureed it out.  Added a PLAY option in the preferences drop-downs
Title: foo_trackfinder
Post by: xliu5 on 2006-06-07 21:19:06
The following default format strings mix the artists and albums.
Code: [Select]
$upper($left(%artist%,1))|%artist%|%album%|[$num(%tracknumber%,2) - ]%title%
$upper($left(%album%,1))|%album%|[$num(%tracknumber%,2) - ]%title%


By prefixing these two strings with _ and @ (or any other characters you like), you can group the menu items by artists and albums.
Code: [Select]
_$upper($left(%artist%,1))|%artist%|%album%|[$num(%tracknumber%,2) - ]%title%
@$upper($left(%album%,1))|%album%|[$num(%tracknumber%,2) - ]%title%


But if cwbowron can make it an option/setting to show one of the options (just by artists or by albums), that will be better.
Title: foo_trackfinder
Post by: fabiospark on 2006-06-08 20:16:27
A bug (I think) and request.

Bug  =  the "//" comment indicator doesn't seem to work with the format strings.

Request  =  could we have an option to put the "All" selector at the top OR at the bottom of the dynamic menus? It would be nice if we could have two separate settings: one for the leaves level (I like All at the top of a lst of tracks) and one for the other levels (I like it better at the bottom of a list of albums).
Even better would be choosing All just right clicking on any item of the chosen level while having that menu open.

Thanks.
Title: foo_trackfinder
Post by: roentgen on 2006-06-10 18:58:43
That was it? No more replies? I think I've reported a bug back in post #6
Title: foo_trackfinder
Post by: cwbowron on 2006-06-16 17:41:25
Code: [Select]
 Release 2.1.1

    * updated to latest SDK and related fixes
    * faster generation of the underlying tree: 2.19s vs .77s (~7000 files)
Title: foo_trackfinder
Post by: kockroach on 2006-06-16 18:02:56
cwbowron,

I'm getting an error when trying to open the ZIP file.  It says that it is "missing 256 bytes in zipfile".
Title: foo_trackfinder
Post by: cwbowron on 2006-06-16 18:10:16
cwbowron,

I'm getting an error when trying to open the ZIP file.  It says that it is "missing 256 bytes in zipfile".


Thanks... I forget to enable binary mode when I uploaded it... Should be fixed now
Title: foo_trackfinder
Post by: kockroach on 2006-06-16 18:39:20
Works like a charm now.
Title: foo_trackfinder
Post by: q-stankovic on 2006-10-29 12:52:23
I defined all 5 commands for this plugin. But as i use this sweet little tool for many reasons i need more than just these 5 actions. I want to ask for an option that would display the whole context menu under the 5 actions (divided through a seperator)
Title: foo_trackfinder
Post by: nameczanin on 2009-06-07 10:47:02
Hi, do you intend to share your source code? I want to recompile it and debug with my foo_dock.