Help - Search - Members - Calendar
Full Version: album list feature request
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
sergeymen
Hello.

I have a feature request for the album list component.

The following concerns files that have tags with multiple fields of the same name, i.e. two PERFORMER fields. Currently, the album list component displays such files as a separate entity in the tree. For example, if you have some files with PERFORMER=madonna, some with PERFORMER=elton john, and some with PERFORMER=madonna and PERFORMER=elton john, album list (when set up to arrange by artist) will display three headers:
  • madonna
  • elton john
  • elton john, madonna

is it possible to have album list display entries that have both PERFORMER=madonna and PERFORMER=elton john under both of the performers? In other words, is it possible to have album list display titles that were performed by two performers under each performer's entry. In that case, the example above would look like
  • madonna
  • elton john

When clicking on elton john, the user would find all tracks performed by him, regardless of whether he performed them by himself or with madonna.

I feel that this would be a useful tool for managing large music collections, and for easily creating playlists.

Thanks for your great software.
Curi0us_George
There's no pretty way to add that, because then you'd end up with entries for "Elton,", "John", and "Madonna". It would be difficult (or rather, impossible) to implement a String Tokenization scheme which could properly recognize all the different name delimeters, and some people would then complain that they want it back the way it was.

Can you not accomplish what you want by adding additional "performer" entries? i.e. instead of just "Elton John, Madonna", add "Elton John" to its own entry, and "Madonna" to its own entry, and leave the original. I think you'll get what you're asking for then.

edit: No, that won't work. It just strings together the two field to make one.

Peter, you might want to change that behavior. I never use the albumlist, but obviously some people do, and that's really not very useful behavior. (Or doesn't seem so to me.)
Curi0us_George
Well, here's a sort of custom Albumlist. It'll do what you want.

http://gelaed.com/resources/cplusplus/foo_...list.custom.zip

It's a quick fix, though, so it's definitely not perfect. "[[%album%]" is the same as "[%album%]" or "%album%]]]]". "[%artist%%title%]" would search for "artist%%title" metadata. However, in any of the "odd" cases, it'll just drop back into the old behavior.

Also, if you have field longer than 1024 characters (or rather, bytes), they will be truncated. (Though of course, this won't modify the actual database entries.)
sergeymen
QUOTE(Curi0us_George @ Apr 19 2003 - 05:15 AM)
Can you not accomplish what you want by adding additional "performer" entries?  i.e. instead of just "Elton John, Madonna", add "Elton John" to its own entry, and "Madonna" to its own entry, and leave the original.  I think you'll get what you're asking for then.

edit: No, that won't work. It just strings together the two field to make one.

This is precisely what I'm talking about. As I tried to explain in the original message, I do have files that have both PERFORMER=elton john and PERFORMER=madonna.

What I was asking for was the ability to change the behaviour that you referred to, where the two fields are stringed together, and not treated as separate entities. I, on the other hand, would like to see the file appear under both madonna and elton john.
Curi0us_George
I know. I misinderstood what you were asking for. The modified albumlist I posted will fo just what you asked for, though.
Peter
QUOTE(sergeymen @ Apr 19 2003 - 07:05 PM)
QUOTE(Curi0us_George @ Apr 19 2003 - 05:15 AM)
Can you not accomplish what you want by adding additional "performer" entries?  i.e. instead of just "Elton John, Madonna", add "Elton John" to its own entry, and "Madonna" to its own entry, and leave the original.  I think you'll get what you're asking for then.

edit: No, that won't work. It just strings together the two field to make one.

This is precisely what I'm talking about. As I tried to explain in the original message, I do have files that have both PERFORMER=elton john and PERFORMER=madonna.

What I was asking for was the ability to change the behaviour that you referred to, where the two fields are stringed together, and not treated as separate entities. I, on the other hand, would like to see the file appear under both madonna and elton john.

albumlist originally worked that way, but it got changed because people kept asking for title formatting stuff in hierarchy
kjoonlee
Could the original behaviour be restored to albumlist, as a toggleable option?

edit: as a check box for "Bunch up contents of identically named comment fields within same file" maybe.
sergeymen
Yes, I agree. That would be perfect!
Melomane
QUOTE(sergeymen @ Apr 19 2003 - 08:22 PM)
Yes, I agree. That would be perfect!

That would be still more perfect with presets same as CLI encoder...

presets contain behaviour, tree & sorting stings.
new preset can be created and old ones deleted from config.
a dialogue box to chose preset directly in album list windows.

rolleyes.gif
Curi0us_George
The source is available if you guys really need those features,
musicmusic
Kind of off-topic, but I was meaning to ask you Curious George (or anyone else) about a sort of "jump to letter" plugin.

The thing I miss in foobar is the ability to directly type into the playlist and jump to that letter, (or song as you type more).

I realise this wouldn't be a good idea because of the keyboard shortcuts, so an window with keyboard shortcut like playlist search would be ideal (though there would be no need for the results pane).

The idea is you would call up the window, type a letter (e.g. F) and the playlist would scroll to where the entries begin with that letter (and highlight the first entry), you could type more if you want and it would scroll more specifically. It would not be any kind of search, and it wouldn't really be useful if you use some wierd sort.

The reason for it is it makes navigating my playlist (entire audio collection, 1500 files) easier, rather than scrolling or page up/down. Im not sure where I've seen this typing directly into a list before, but I know I have quite a few times.

I just thought I'd ask, if it can't be done with the SDK (would the scrolling be a problem?) then consider it a feature request for foobar..
Curi0us_George
Not a bad idea. I can't promise I'll do it, but I might if I get some free time.
musicmusic
QUOTE(Curi0us_George @ Apr 21 2003 - 01:19 AM)
Not a bad idea.  I can't promise I'll do it, but I might if I get some free time.

Thanks wink.gif
Melomane
QUOTE(Curi0us_George @ Apr 20 2003 - 03:53 PM)
The source is available if you guys really need those features,

If the guys express a request it is probably that they dont know to make . (I cannot certainly ! )

But as users they can say what they wish.

What do not want to say that some will do it.

biggrin.gif
Curi0us_George
QUOTE(musicmusic @ Apr 20 2003 - 04:20 PM)
QUOTE(Curi0us_George @ Apr 21 2003 - 01:19 AM)
Not a bad idea.  I can't promise I'll do it, but I might if I get some free time.

Thanks wink.gif

foo_playlistfind smile.gif

http://www.hydrogenaudio.org/forums/index....=100#entry87004
ndrake
Curi0us_George, thank you for that plugin. You have somehow made foobar even more indispensible. I am wondering, though, would it be possible to change the functions of some shortcuts in the program? Could there be a shortcut to close the find window and begin playing the highlighted song? It isn't that important as it only saves a keystroke, but if it simple to implement it might be a nice idea.

I love your plugin, thanks again.

--
edited because I'm an idiot and forgot that the ESC button exists.
Curi0us_George
I'll add something for that. smile.gif

P.S. Are you using the mini window or the regular window?
Curi0us_George
ndrake, here you go. smile.gif

foo_playlistfind 0.6.b11.003
http://gelaed.com/resources/cplusplus/foo_...laylistfind.zip
QUOTE
[0.6.b11.003]
Added: "Search only from front of entry strings" option
Added: "Close Playlist Find and play currently focused" keyboard shortcut
Added: Now passes unhandled keyboard messages to the main Foobar window
ndrake
Thank you so much, that shortcut is perfect! Your plugin is just so damn useful it should be included in the normal install for foobar.

I am having problems with the new behavior of passing unhandled keyboard messages to the main window, though. I have many single letter keys assigned to foobar shortcuts (default z,x,c,v, among others), and when I type any of those characters into the playlist find window they activate the respective shortcuts in foobar. So when I try to search with a string containing 'z', whatever is currently playing stops. Is this intended?

Thanks a lot for working on this, it has been #1 on my wishlist for foobar, but as my technological know-how is lacking compared to many on this forum I was never inspired to register.
Curi0us_George
QUOTE(ndrake @ Apr 26 2003 - 05:57 PM)
Thank you so much, that shortcut is perfect!  Your plugin is just so damn useful it should be included in the normal install for foobar. 

I am having problems with the new behavior of passing unhandled keyboard messages to the main window, though.  I have many single letter keys assigned to foobar shortcuts (default z,x,c,v, among others), and when I type any of those characters into the playlist find window they activate the respective shortcuts in foobar.  So when I try to search with a string containing 'z', whatever is currently playing stops.  Is this intended?

Thanks a lot for working on this, it has been #1 on my wishlist for foobar, but as my technological know-how is lacking compared to many on this forum I was never inspired to register.

No, that's not intended. I'll try to get that fixed in just a moment.
Curi0us_George
Should work properly now.

foo_playlistfind 0.6.b11.004
http://gelaed.com/resources/cplusplus/foo_...laylistfind.zip
QUOTE
[0.6.b11.004]
Fixed: No longer passes characters such as 'v' to the main window.
ndrake
Well, I certainly am being difficult sad.gif

There are still other keypresses that activate shortcuts ('s', for example, activates the meta search - I think that is a default setting). Could the passing of keypresses to foobar be an option?
Curi0us_George
My bad. I realize what I did. I fixed part of it (it works properly when ctrl is pressed), but not all of it.

I'll get a patched version up soon. (I'm in the process of fixing the arrow keys.)
Curi0us_George
foo_playlistfind 0.6.b11.005
http://gelaed.com/resources/cplusplus/foo_...laylistfind.zip

It should be fixed now. Give it another try.
ndrake
Everything is wonderful as far as I can tell. Great work smile.gif I really appreciate it, and am sure many others do as well.
sergeymen
QUOTE
albumlist originally worked that way, but it got changed because people kept asking for title formatting stuff in hierarchy


So, zZzZzZz, do you think adding an option to construct the heirarchy either way is a possibility for a future release of Foobar's albumlist?
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.