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

foo_playlist_tree

Reply #1075
He's splitting the component up. He already released foo_browser and foo_sendtodevice.

foo_playlist_tree

Reply #1076
any chance the playlist tree panel will make it into 0.9?

and is it possible to use the enter key to send items selected in the playlist tree to the active playlist and play it?


I'm in the process of porting the playlist tree panel to 0.9... I may release a beta version this weekend, but the functionality is pretty basic right now...

If you interested in knowing what I am working on and the status of playlist tree, you can find my notes here: http://wiki.bowron.us/index.php/Foobar2000...list_tree_2.x.x
There used to be a link to my website here.


foo_playlist_tree

Reply #1078
Im using an ATI remote wonder plus, and girder to control foobar. i can map the buttons on the remote to the up/down/left/right keyboard keys so i can navigate the tree with my remote, but i cant find anyway to send the selected node to the playlist. is there a keyboard shortcut (preferably the enter key) i can set to do this?

foo_playlist_tree

Reply #1079
Im using an ATI remote wonder plus, and girder to control foobar. i can map the buttons on the remote to the up/down/left/right keyboard keys so i can navigate the tree with my remote, but i cant find anyway to send the selected node to the playlist. is there a keyboard shortcut (preferably the enter key) i can set to do this?


You should be able to bind a shortcut key to "Playlist Tree/Send to Active Playlist" in the context menu, and the tree should process shortcut keys when it has focus.
There used to be a link to my website here.

foo_playlist_tree

Reply #1080
i tested it out on the 0.9 compatable plugin. it works there. just need to wait for a playcount plugin

foo_playlist_tree

Reply #1081
2.0.beta2 is out

Many changes sinces the last beta, and we are approaching a prime time ready release (hopefully).  Please post any bugs you encounter.

The Changelog contains the list of the changes since the last beta, and all the changes that have happened in the 2.x.x series.

I will also take feature requests on new features or features that have not yet made it back into the component.  Requesting a feature that has not yet made it back lets me know that there is still a desire to have that feature. You do not need to request search though, I plan to add that soon.

Thanks.
There used to be a link to my website here.

foo_playlist_tree

Reply #1082
It occurs to me - now that 0.9 has autoplaylist functionality, couldn't you integrate that with this plugin?

I'm thinking that you could make this almost a complete replacement for the main playlist, simply by implementing all of that into this plugin. Here's what I would do:

-Add the ability to be an actual playlist manager, where dragging, renaming, deleting and editing the contents thereof would actually change foobar's playlists.

-Completely integrate your playlist query syntax into the autoplaylist system, so any new queries automatically create a new playlist. Existing playlist locks should behave exactly as they would in the main playlist window, and f_p_t queries should behave as they were, but as autoplaylists of their own.

-I've said this before, but I'll say it again: this case-sensitive behavior is nonstandard and should be dropped. If I don't have to worry about it in any other plugin for Foobar, I shouldn't have to worry about it here.

-One last thing: Would it be excessively difficult to use the standard windows icon set by default? It make it a lot easier for everyone I think; most people rely on Windows' theme anyways to control Foobar's appearance.

foo_playlist_tree

Reply #1083
Thanks cwbowron

- I cant see any difference between grey and sunken, they all look like this to me: http://omoikane.minstrum.net/foobar_wip.png , which is different from grey and sunken for other panels.

- Would it be possible for the double clic to have the same ordering as a drag&drop ? currently a double click "sent to playlist" is ordered by directory structure (from what i can tell) while drag&drop respect the struture of the playlist tree.

foo_playlist_tree

Reply #1084
I am not sure if this feature is already available, but the ability to add a desired file to the playlist queue by middle clicking.

foo_playlist_tree

Reply #1085
It occurs to me - now that 0.9 has autoplaylist functionality, couldn't you integrate that with this plugin?

I'm thinking that you could make this almost a complete replacement for the main playlist, simply by implementing all of that into this plugin. Here's what I would do:

-Add the ability to be an actual playlist manager, where dragging, renaming, deleting and editing the contents thereof would actually change foobar's playlists.

-Completely integrate your playlist query syntax into the autoplaylist system, so any new queries automatically create a new playlist. Existing playlist locks should behave exactly as they would in the main playlist window, and f_p_t queries should behave as they were, but as autoplaylists of their own.

-I've said this before, but I'll say it again: this case-sensitive behavior is nonstandard and should be dropped. If I don't have to worry about it in any other plugin for Foobar, I shouldn't have to worry about it here.

-One last thing: Would it be excessively difficult to use the standard windows icon set by default? It make it a lot easier for everyone I think; most people rely on Windows' theme anyways to control Foobar's appearance.


I'll give you half of your requests in the next release...

I changed the way query results are added so that comparing folder names should be case insensitive so "Beck" and "beck" should go into the same folder.  The folder will be named by which ever file gets there first (based on population sort order).

I also added an option to load the system bitmaps.  It will require you to select the icons in preferences because the default indices wont make sense with the system bitmaps.  If the option is selected, the system bitmaps are loaded, then the playlist tree ugly icons are loaded.
There used to be a link to my website here.

foo_playlist_tree

Reply #1086
Are you going to change the case-sensitivity in Browser too? 'Cause, um, i'd rather you didn't (or made it a check-box option), i kinda like it. :p
~

foo_playlist_tree

Reply #1087
i just found this plug-in and it is just what i was looking for. i was looking for something similar to the dynamic library plugin i use in winamp. i've been using foo_uie_explorer, but it was slow and i couldn't sort files.

quick question, when i add a root folder and drag a bunch of files/folders into it, i click on the root folder in the playlist tree and every file in the root folder including the subdirectories are seen in the playlist view. is there a way so that when i click the root folder, it only shows the files from that folder in the playlist? maybe add an option like, "show files from subdirectories in root folders in playlist", or something like that.

thanks. 


foo_playlist_tree

Reply #1089
I have a bug i think. And i also apparently need help figuring this out (this is the first time i'm using this, i never used it for 0.8x).

There are two bugs.

The first one is the one that Draikin already reported (changing the edge style doesn't work). For what it's worth, the edge style that you use by default (in both Browser and Playlist Tree) is the correct one for my visual style. Only your panels and the album-list panel show up using the correct edge styles, but since none of the other ones (trackinfo, visualisation, albumart) do i'm forced to choose one that looks the same for all of them. :/

The second bug is a pretty trivial one but whatever: The panel correctly detects what font settings i should be using (Calibri, 8-point), but it doesn't detect the correct background colour. Not a big deal, i can just change it, but still. :shrug:


And then aside from that... i can't figure out the panel. I read the tutorial, and it says that i should right-click the root (which i guess is 'Playlist Tree' by default?) to add a new folder. But there's no such option in mine. It just shows the standard context menu (the same as what shows when i right-click in Browser), with the new addition of the Playlist Tree sub-menu.



Am i missing something?


edit:
Oh, i guess i'm just s'posed to use the Library menu for now? :/
~

foo_playlist_tree

Reply #1090
And then aside from that... i can't figure out the panel. I read the tutorial, and it says that i should right-click the root (which i guess is 'Playlist Tree' by default?) to add a new folder. But there's no such option in mine. It just shows the standard context menu (the same as what shows when i right-click in Browser), with the new addition of the Playlist Tree sub-menu.


Some of the information in the Tutorial is out of date with the 2.x.x series for fb2k 0.9.  One of those things is the context menu.  To access the playlist tree specific context menu, hold shift while you right click or middle click on a node. 

For the most up to date reference on how things are working you can try to wade through the Changelog
There used to be a link to my website here.

foo_playlist_tree

Reply #1091
Oh. Yeah, i just saw that. Thanks.

edit:
Um i found another bug.

When i set the double-click option and checked 'Refresh Queries', suddenly an empty scroll area appeared around the panel:



The only way to get rid of it was to restart foobar.
~

 

foo_playlist_tree

Reply #1092
Another possible bug: The 'reverse' check box in the query dialogue doesn't work for me, unless i'm misunderstanding its purpose or something.
~

foo_playlist_tree

Reply #1093
Another possible bug: The 'reverse' check box in the query dialogue doesn't work for me, unless i'm misunderstanding its purpose or something.


It appears to be working as designed.

If you specify a population sort order, the files will be sorted before they are added to the tree by that criteria.  If you click the reverse option, the list will be reversed after it is sorted, then items will be added to the tree.  Its useful if you wanted to make a list of top tracks, etc.

When i set the double-click option and checked 'Refresh Queries', suddenly an empty scroll area appeared around the panel:



The only way to get rid of it was to restart foobar.


Try resizing the panel next time that happens.  I will look into a real fix.
There used to be a link to my website here.

foo_playlist_tree

Reply #1094
Is there a way to get to the PLT context menu just right clicking, without having to use shift?
If not, would you consider getting it back, please? I'd like being able to forget my left hand while using FB.

foo_playlist_tree

Reply #1095
It appears to be working as designed.

If you specify a population sort order, the files will be sorted before they are added to the tree by that criteria.  If you click the reverse option, the list will be reversed after it is sorted, then items will be added to the tree.  Its useful if you wanted to make a list of top tracks, etc.

Hm. OK, i sort of figured out why it wasn't working for me.... I had to uncheck the sort by display name thing. (edit: Never mind what i had here before, conflict with the 0.8 playcount plug-in. Sorry. :p)


And another thing (lol): There's no option, as far as i can tell, to change the icon of the selected leaf. Like i changed the unselected one from the little music note to my own icon, but if i select it it turns back to the music note. Is that right?
~

foo_playlist_tree

Reply #1096
Is there a way to get to the PLT context menu just right clicking, without having to use shift?
If not, would you consider getting it back, please? I'd like being able to forget my left hand while using FB.


There will be.  I added a main menu option to show the context menu and I will be making it so that you can map the right click and right click + shift to whichever action you want.
There used to be a link to my website here.

foo_playlist_tree

Reply #1097
Don't consider it a feature request but just a talk about a feature: I'm not sure it would be useful in the everyday use.

What I'm talking about is having the ability to choose to make  the panels' headers follow the preferences I put in their config page or to show the singles levels of the PLT query I have just selected.
In this second way, as I select a node, I will have its levels individually shown one per panel. This works as a sort of a panels' preset config list.
To make things easier (at least for the user...) there should be an always visible button to toggle among the two behaviours.

Don't know, I'd like to hear some other voice about it....

foo_playlist_tree

Reply #1098
I want to create an average rating for each album and I'm using this format:
$avg(%rating%): %artist% - %album%|%title%

What I get are folders with the songs of an album which have the same rating,e.g.

3.00: ALBUM A (folder contains all songs of this album with rating 3)
4.00: ALBUM A
2.00: Album B
4.00: ALBUM B

Do I have to change the format or is this function not working correct by now?

foo_playlist_tree

Reply #1099
I want to create an average rating for each album and I'm using this format:
$avg(%rating%): %artist% - %album%|%title%

What I get are folders with the songs of an album which have the same rating,e.g.

3.00: ALBUM A (folder contains all songs of this album with rating 3)
4.00: ALBUM A
2.00: Album B
4.00: ALBUM B

Do I have to change the format or is this function not working correct by now?


$avg should be working, but the evaluation needs to be delayed until the item is displayed, not at the time of the initial query, which can be done using quoats, but its gets a little hairier because we want the inner %artist% not not be evaluated until inside the $avg.  Long story short, this might work:

Code: [Select]
'$tag('$char(39)'%artist%'$char(39)')' : %artist% - %album%|%title%


I should be adding the @quote operator into the formatting, but its not there yet.  Once I do, it shouild simplify this a little to:

Code: [Select]
@quote<$tag('%artist%')>
There used to be a link to my website here.