Help - Search - Members - Calendar
Full Version: foo_playlist_tree
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
Stuart60611
I am having a problem with the current beta. The plugin won't let me on its configuration page access any of the options for selection action, nor doubleclick action. When I select either of these two options no choices are available from the drop down menus. And yes, I have the tree enabled.
Generalverdacht
i´m using the stable version for 8.3 now. very nice plugin thanks for that.
but it always give me the message "plalist.col doesnt seem to be a proper playlisttree-file" or something like when i startup foobar. after that, it works just fine, so no problem expect this strange message. i only edited the .col file which was together with the .dll.

any ideas?
cwbowron
QUOTE(Generalverdacht @ Apr 15 2006, 06:59 AM) *

i´m using the stable version for 8.3 now. very nice plugin thanks for that.
but it always give me the message "plalist.col doesnt seem to be a proper playlisttree-file" or something like when i startup foobar. after that, it works just fine, so no problem expect this strange message. i only edited the .col file which was together with the .dll.


There's probably an extra newline or some other character affecting the parsing.

I switched to a more robust file structure for 2.x.x, so hopefully problems likes this will not happen anymore.

QUOTE(Stuart60611 @ Apr 14 2006, 10:12 PM) *

I am having a problem with the current beta. The plugin won't let me on its configuration page access any of the options for selection action, nor doubleclick action. When I select either of these two options no choices are available from the drop down menus. And yes, I have the tree enabled.


What version of windows are you running?
gob
hey, i have a very simple feature request that will go a long way. can you add in the options a drop down list of actions to perform when the enter key is pressed? just like the double click action. this way you can use devices other than the mouse to work with the tree.
Stuart60611
QUOTE(cwbowron @ Apr 15 2006, 09:20 AM) *


QUOTE(Stuart60611 @ Apr 14 2006, 10:12 PM) *

I am having a problem with the current beta. The plugin won't let me on its configuration page access any of the options for selection action, nor doubleclick action. When I select either of these two options no choices are available from the drop down menus. And yes, I have the tree enabled.


What version of windows are you running?


I am running windows 2000.
vlada
Hi, I have some problems with current playlist tree. The most serious trouble is this: I create some queries using playlist tree and then I save it. After foobar2000 restart it is all lost. But the saved file seems to be O.K. So I think I might have to check somewhere to automatically load the .pts file at sturtup. Have I missed the option?

Another problem is interference between playlist tree and browser. They both use the same playlist called *browser* although in playlist tree configuration is set to use *playlist_tree* playlist.

And now my last question. How can I put 2 conditions in a query? I something like (genre IS rock) AND (%play_counter% EQUAL 0). What is the correct syntax? And why there is genre without "%" signs?

Thank you.
Birk
You can simple use "genre IS rock AND %play_counter% EQUAL 0"

The playlist tree uses the *Browser* playlist because the default selection action is "browse" and not "Playlist Tree/send to library playlist".


I have a request: I use "Playlist Tree/send to library playlist" as action, but I want the playlist be automatic activatet when I select an item (like with the browser).
cwbowron
QUOTE(vlada @ Apr 15 2006, 09:19 PM) *

Hi, I have some problems with current playlist tree. The most serious trouble is this: I create some queries using playlist tree and then I save it. After foobar2000 restart it is all lost. But the saved file seems to be O.K. So I think I might have to check somewhere to automatically load the .pts file at sturtup. Have I missed the option?


You need to right click in the playlist tree panel, but not on any items. You can then select one of the first two options to set up a automatic save and restore file.


QUOTE(Stuart60611 @ Apr 15 2006, 06:55 PM) *

I am running windows 2000.


I will look into it... Does the "Edge Style" option combo box work for you?
Stuart60611
QUOTE(cwbowron @ Apr 16 2006, 10:00 AM) *

QUOTE(vlada @ Apr 15 2006, 09:19 PM) *

Hi, I have some problems with current playlist tree. The most serious trouble is this: I create some queries using playlist tree and then I save it. After foobar2000 restart it is all lost. But the saved file seems to be O.K. So I think I might have to check somewhere to automatically load the .pts file at sturtup. Have I missed the option?


You need to right click in the playlist tree panel, but not on any items. You can then select one of the first two options to set up a automatic save and restore file.


QUOTE(Stuart60611 @ Apr 15 2006, 06:55 PM) *

I am running windows 2000.


I will look into it... Does the "Edge Style" option combo box work for you?


No. It also has the same issue.
spanky1406
QUOTE(cwbowron @ Apr 14 2006, 03:47 PM) *

QUOTE(spanky1406 @ Apr 14 2006, 05:28 PM) *

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
'$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
@quote<$tag('%artist%')>



No it's not working for me, cause I don't get the value but $avg(%rating%)('%artist%').
I will wait for the @quote-function and try it again...
cwbowron
QUOTE(spanky1406 @ Apr 16 2006, 05:10 PM) *

No it's not working for me, cause I don't get the value but $avg(%rating%)('%artist%').
I will wait for the @quote-function and try it again...


Try:
CODE
@format<'$tag('$char(39)'%artist%'$char(39)')'> : %artist% - %album%|%title%
cwbowron
QUOTE(Stuart60611 @ Apr 14 2006, 10:12 PM) *

I am having a problem with the current beta. The plugin won't let me on its configuration page access any of the options for selection action, nor doubleclick action. When I select either of these two options no choices are available from the drop down menus. And yes, I have the tree enabled.


Have you tried selecting the item, then trying to scroll through the list with the arrow keys? This wouldnt be a fix, but it will help me figure out more precisely what the problem is...
carmenm
I am new to playlist tree panel and i was wondering if it was possible to create dynamic playlist name when left clicking on a folder in playlist tree panel.
For example i have a query for my folder soundtracks. I would like that if i open it and left click on "The Rock", it would create a playlist named "The Rock".
Is that possible?

Another question, i would like to have queries that does exactly the same as album list panel in by directory structure view.how can i do that?
vlada
QUOTE(Birk @ Apr 16 2006, 02:29 PM) *

You can simple use "genre IS rock AND %play_counter% EQUAL 0"

The playlist tree uses the *Browser* playlist because the default selection action is "browse" and not "Playlist Tree/send to library playlist".


Thank you for the advice. And what about a playlist with music only. Is there something like "genre IS NOT Speech"? I tried this syntax but it doesen't work. What is the difference between IS and EQUAL, is it somewhere explained? I can not find it.

QUOTE
I have a request: I use "Playlist Tree/send to library playlist" as action, but I want the playlist be automatic activatet when I select an item (like with the browser).


I add my vote for this feature.

And now I have one more problem with playlist_tree and browser. I renamed/moved some of my files, how can I update them? I see duplicate entries for some files and also dead entries. Rescanning the library only added new files, but didn't delete the non-existing ones.

Thank you all for your advices.
foosion
The IS operator compares text, while EQUAL compares numbers. Negation can be achieved by applying NOT to the whole expression, i.e. "NOT genre IS speech".
Stuart60611
QUOTE(cwbowron @ Apr 17 2006, 07:44 AM) *

QUOTE(Stuart60611 @ Apr 14 2006, 10:12 PM) *

I am having a problem with the current beta. The plugin won't let me on its configuration page access any of the options for selection action, nor doubleclick action. When I select either of these two options no choices are available from the drop down menus. And yes, I have the tree enabled.


Have you tried selecting the item, then trying to scroll through the list with the arrow keys? This wouldnt be a fix, but it will help me figure out more precisely what the problem is...


I can using the arrow keys scoll through the choices, but the drop down menu does not work.
spanky1406
QUOTE(cwbowron @ Apr 17 2006, 06:22 AM) *

QUOTE(spanky1406 @ Apr 16 2006, 05:10 PM) *

No it's not working for me, cause I don't get the value but $avg(%rating%)('%artist%').
I will wait for the @quote-function and try it again...


Try:
CODE
@format<'$tag('$char(39)'%artist%'$char(39)')'> : %artist% - %album%|%title%



smile.gif We are getting closer...

Now all my albums are listed, but everyone has the Value 0.00
cwbowron
QUOTE(spanky1406 @ Apr 18 2006, 10:33 AM) *

smile.gif We are getting closer...

Now all my albums are listed, but everyone has the Value 0.00


If you edit one of the album folders, what is its label?
spanky1406
QUOTE(cwbowron @ Apr 18 2006, 08:34 AM) *

If you edit one of the album folders, what is its label?


This one for example:

CODE
@format<$avg(%rating%)('%artist%')> : Bruce Springsteen - The River
carmenm
QUOTE(carmenm @ Apr 17 2006, 08:08 AM) *

I am new to playlist tree panel and i was wondering if it was possible to create dynamic playlist name when left clicking on a folder in playlist tree panel.
For example i have a query for my folder soundtracks. I would like that if i open it and left click on "The Rock", it would create a playlist named "The Rock".
Is that possible?

Another question, i would like to have queries that does exactly the same as album list panel in by directory structure view.how can i do that?

Can someone help me please ???
lav-chan
Question!

Is there any way to reverse only the top-level sorting? e.g., i want to sort by date added, so i check the reverse box and i have it set to show the added date as an item in the tree. But then all the albums and tracks under the dates are reversed too. Can i have just the added date backwards and everything else normal, or is that not possible?

Also, what does the 'sort by display name after populating' thing do? Like all i can get it to do is make them sort in alphabetical order according to the format string... which i don't understand, because if i wanted to do that why wouldn't i just leave the sort box blank.

Oh, and two other things:

- How do i get PLT to sort my library play list correctly? I can't figure out how it's sorting, it's like semi-random. edit: Oh, i guess it's sorting the same way the tree is. Can i make it not do that? (Same problem as my first question, i guess; all my songs in the list are backwards.)

- Is there any way to get the leaves to show only for selected queries? i.e., i want to hide the individual tracks from all my folders except for one. I figured i could just get rid of the last item in the formatting thing (everything after the last '|' thing), but apparently not.
cwbowron
QUOTE(lav-chan @ Apr 19 2006, 01:54 AM) *

Is there any way to reverse only the top-level sorting? e.g., i want to sort by date added, so i check the reverse box and i have it set to show the added date as an item in the tree. But then all the albums and tracks under the dates are reversed too. Can i have just the added date backwards and everything else normal, or is that not possible?


You could use some of the mathematics operators to reverse sort by date added. I dont know what format your date added is in but if for example, you wanted to reverse sort based on tracknumber you could use $sub(999999,%tracknumber%)|...

QUOTE
Also, what does the 'sort by display name after populating' thing do? Like all i can get it to do is make them sort in alphabetical order according to the format string... which i don't understand, because if i wanted to do that why wouldn't i just leave the sort box blank.


Sort by alphabetical order is what it does, with folders higher precedence than leaves.

QUOTE
- Is there any way to get the leaves to show only for selected queries? i.e., i want to hide the individual tracks from all my folders except for one. I figured i could just get rid of the last item in the formatting thing (everything after the last '|' thing), but apparently not.


No this isnt possible. Hiding leaves is an all or nothing thing.
pIv
It is possible today get system time in current beta as in version 1.7.18 ?

I want random select N songs not played today yet.

In ver 1.7.18 I use next query
CODE

$if($strcmp($substr(%last_played%,1,10),$substr(@format<%_datetime%>,1,10)),0,1)
cwbowron
QUOTE(pIv @ Apr 19 2006, 08:53 AM) *
It is possible today get system time in current beta as in version 1.7.18 ?


Not currently.
carmenm
cwbowron could you help me please, i have two little questions:

- i was wondering if it was possible to create dynamic playlist name when left clicking on a folder in playlist tree panel.
For example i have a query for my folder soundtracks. I would like that if i open it and left click on "The Rock", it would create a playlist named "The Rock".

- i would like to have queries that does exactly the same as album list panel by directory structure view.how can i do that?
cwbowron
QUOTE(carmenm @ Apr 19 2006, 09:34 AM) *

- i was wondering if it was possible to create dynamic playlist name when left clicking on a folder in playlist tree panel.


It is not possible with the latest release, but the in next version this will be possible by using %_name% as the library playlist name.

QUOTE
- i would like to have queries that does exactly the same as album list panel by directory structure view.how can i do that?


This might be similar:
IPB Image

you could also use $replace(%_path%,\,|) as the format to get the complete path information.
carmenm
QUOTE(cwbowron @ Apr 19 2006, 07:46 AM) *


It is not possible with the latest release, but the in next version this will be possible by using %_name% as the library playlist name.


Huge, really looking forward to it
QUOTE(cwbowron @ Apr 19 2006, 07:46 AM) *

This might be similar:
IPB Image

you could also use $replace(%_path%,\,|) as the format to get the complete path information.

This is a solution but it doesnt work when on my HD i have something like MArillion/Script For A Jester Tears/Cd1/....

So i could use your second solution which seems good but that way i would have
E
|--bands
|--Marillion
|--Script For A Jester
|--Cd1 .....

and i only would like
|--Marillion
|--Script For A Jester
|--Cd1 .....

So i am thinking that i could do something like first remove "E:/bands/" from %_path% and then do $replace(%_path%,\,|). Do you think it could work ?(cannot test right now cause i m at work)
cwbowron
QUOTE(carmenm @ Apr 19 2006, 10:07 AM) *

So i could use your second solution which seems good but that way i would have
E
|--bands
|--Marillion
|--Script For A Jester
|--Cd1 .....

and i only would like
|--Marillion
|--Script For A Jester
|--Cd1 .....

So i am thinking that i could do something like first remove "E:/bands/" from %_path% and then do $replace(%_path%,\,|). Do you think it could work ?(cannot test right now cause i m at work)


Yes, you can use $right() or $substr() to get you the string without E:/Bands in it. Look at titleformat_help.html in your foobar2000 directory for more info.
Zurman
QUOTE(cwbowron @ Apr 19 2006, 06:10 AM) *

QUOTE(carmenm @ Apr 19 2006, 10:07 AM) *

So i could use your second solution which seems good but that way i would have
E
|--bands
|--Marillion
|--Script For A Jester
|--Cd1 .....

and i only would like
|--Marillion
|--Script For A Jester
|--Cd1 .....

So i am thinking that i could do something like first remove "E:/bands/" from %_path% and then do $replace(%_path%,\,|). Do you think it could work ?(cannot test right now cause i m at work)


Yes, you can use $right() or $substr() to get you the string without E:/Bands in it. Look at titleformat_help.html in your foobar2000 directory for more info.

This is juste great, I had a 5 line long query to simulate a directory structure, now I just have $replace(%_path%,E:\Musique\,,\,|) biggrin.gif

Thank you !
carmenm
QUOTE(cwbowron @ Apr 19 2006, 08:10 AM) *

Yes, you can use $right() or $substr() to get you the string without E:/Bands in it. Look at titleformat_help.html in your foobar2000 directory for more info.

Coool, looking forward to test it this evening


QUOTE(Zurman @ Apr 19 2006, 08:58 AM) *

This is juste great, I had a 5 line long query to simulate a directory structure, now I just have $replace(%_path%,E:\Musique\,,\,|) biggrin.gif

Thank you !

Do not thank me, thanks cwbowron cause he is the one who gave the tip about $replace(%_path%,\,|) tongue.gif
Zurman
QUOTE(carmenm @ Apr 19 2006, 07:15 AM) *

Do not thank me, thanks cwbowron cause he is the one who gave the tip about $replace(%_path%,\,|) tongue.gif

I thank you both cool.gif
Stuart60611
Is it possible to now have two or more playlist tree panels at once? And if so, can one have two or more playlist tree panels in the sidebar?
cwbowron
QUOTE(Stuart60611 @ Apr 19 2006, 12:05 PM) *

Is it possible to now have two or more playlist tree panels at once? And if so, can one have two or more playlist tree panels in the sidebar?


Yep. Just hold down shift when you select the 2nd or more panel...
cwbowron
2.0.3 is out.

http://foobar.bowron.us/foo_playlist_tree.zip

Changelog:

QUOTE
* fixed new folder bug: http://bowron.us/smf/index.php?topic=218.0
* Enabled "Refresh everytime a new track starts" - For refresh $playing() queries - example
* Playlist Tree/New playlist names playlist the name of the source node if the contents come from a tree node, "New" otherwise.
* Search edit box colors are same as trees
* Added collapse tree option to playlist tree panel menu
* basic tree search toolbar - uses playlistgen syntax
* "Redraw Tree" option in playlist tree panel menu - useful if you change default icons
* @quote tag processing in query format string
* Option to remove last library playlist on send. Useful when library playlist name has TAGZ
* Library Playlist name can have tagz
* Option to activate library playlist when sent to
* Mouse actions have their own separate configuration page under playlist tree main configuration
* added middle click, right click and right click + shift options
* added [local] operations to selection actions and double click actions. Most items in the Playlist Tree main menu and local node context menu can be found under [local]
* fixed edge styles
* Main menu options: Selection/foobar2000 context menu and Selection/Local context menu - for your keymapping pleasure
* case insensitive test for add_child_conditional => query results will be added to nodes in a case insensitive manner.
* option:
o Bitmaps: Load Windows Bitmaps - Loads the shell icons
o Requires restart
o You will probably need to change your folder, leaf and query icons becuase I load the system icons first because its much easier that way.
ledge
QUOTE(cwbowron @ Apr 21 2006, 08:33 AM) *


Fantastic! Thank you for getting this out so quickly.
carmenm
Tahnk you Thank you cwbowron, this last build is just amazing. And for the shell icons .... just great ....

foosion
Playlist tree crashes, if bitmaps are enabled and the foobar2000 icon path is wrong (for example because the hardcoded path is different from the actual installation path).
gob
2.0.3 working nicley here. glad to see the refresh feature for new tracks. any chance of enter key support?
unknownllama
The new version works great. Good Work!
pIv
I found next bug.

In version for foobar 0.83 I can place tags as %_size_abbr% in Label Query.

Now this work only if I use @format<%_size_abbr%>. but when I place this in Label Query (Name_of_query @format<%_size_abbr%>) and apply changes, then EDIT again I see in Label Query - "Name_of_query nnK". This "nnK" is last value %_size_abbr%, but not function call.
cwbowron
Release 2.0.3b

* Fixed crash if icon directory does not exist
* Fixed preprocessing away @format in query labels
spanky1406
deleted.

cwbowron was faster with his new release...
cwbowron
QUOTE(spanky1406 @ Apr 21 2006, 08:36 AM) *

deleted.

cwbowron was faster with his new release...


BTW, this format seemed to work... you can modify it for your purposes:

@quote<@format<$avg('%_filesize%')>> %album%|[$num(%tracknumber%,2) - ]%title%
spanky1406
QUOTE(cwbowron @ Apr 21 2006, 06:43 AM) *

BTW, this format seemed to work... you can modify it for your purposes:

@quote<@format<$avg('%_filesize%')>> %album%|[$num(%tracknumber%,2) - ]%title%


Great! It works! Thanks for your help. biggrin.gif
cwbowron
I've seen that there are some tutorials on the web in various languages for non-English speakers. If you have or know of a good tutorial, please let me know the language and the URL and I will add it to the official homepage.

Thanks
Generalverdacht
maybe i missed something, but there arent any pt-related menus when right-clicking in playlist tree for 0.9, are there? must i really use my shortcuts for it, or is there a way to get back to the old pt-menu?
cwbowron
QUOTE(Generalverdacht @ Apr 21 2006, 11:02 AM) *

maybe i missed something, but there arent any pt-related menus when right-clicking in playlist tree for 0.9, are there? must i really use my shortcuts for it, or is there a way to get back to the old pt-menu?


middle click or shift+right click in the default setup.
Generalverdacht
thx
Shade[ST]
Presumably Track Finder is in this DLL ... is there any way a next version could have a toggle for selection / general playlist instead? I could replace my playlist find with this, easily...
YuriPavE
QUOTE(cwbowron @ Apr 19 2006, 08:46 AM) *

QUOTE(carmenm @ Apr 19 2006, 09:34 AM) *

- i was wondering if it was possible to create dynamic playlist name when left clicking on a folder in playlist tree panel.


It is not possible with the latest release, but the in next version this will be possible by using %_name% as the library playlist name.

QUOTE
- i would like to have queries that does exactly the same as album list panel by directory structure view.how can i do that?


This might be similar:
IPB Image

you could also use $replace(%_path%,\,|) as the format to get the complete path information.


Great plugin cwbowron laugh.gif
A quick question, can I sort the directory structure as i see in windows explorer?
Just because my folders are chinese and didnt sort like windows
Thanks!
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.