the new version fixed my issue with a root folder showing up under queries with @refresh<>, thanks.
what is the difference between the population sort order and the display sort order for the queries?
is there an option to make queries not display subfolders and files in the tree unless it is specified in the format field?
i also have a query that displays other albums by the currently playing artist. can i make the query title show "Other albums by %artist%" and "No other albums" if there are no results? i can use @first<%album%> to determine if there are albums in the query but i cant seem to get the tags working correctly.
cwbowron
Jan 26 2006, 13:50
RELEASE 1.7.17
empty filter string lists all items in browser when using playlistgen format
fixed double root node bug when restore search.
new option: SEARCH::"Search using playlist gen format"
i made this query:

but it shows me only the tracks listened between 6 and 9 times when there are tracks listened (and tagged) more than 10 times.
Where's the problem?
Thank you
kockroach
Jan 27 2006, 11:21
Using "1" in your query will pull up everything. Try using "[%play_counter%]", which will only look at songs if they have the %play_counter% tag. I have the following in my Population Sort Order:
CODE
$num(%play_counter%,3)|%artist%|%title%
I also don't have anything in my display sort order.
QUOTE(kockroach @ Jan 27 2006, 11:21 AM)
Using "1" in your query will pull up everything. Try using "[%play_counter%]", which will only look at songs if they have the %play_counter% tag. I have the following in my Population Sort Order:
CODE
$num(%play_counter%,3)|%artist%|%title%
I also don't have anything in my display sort order.
thank you but i already tried it and it don't works
cwbowron
Feb 6 2006, 14:07
I just found out about the website frappr.com and its pretty interesting. I created a map for playlist tree users, because I would find it interesting to see where everybody who uses this is from and have some idea of the number of people who use it...
So if you get a chance, check it out and add yourself to the map... I would appreciate it...
http://www.frappr.com/playlisttreeusersI hope that they wont inundate you with spam or anything...
SoulMan
Feb 7 2006, 05:06
Hello guys,
I am trying to do a new PLT request, and I can't do it

What I want is to have a top 50 of most present titles, sorted by number of tracks. Anyone have an ID?
kockroach
Feb 7 2006, 08:18
What do you mean by present?
fabiospark
Feb 7 2006, 10:20
QUOTE(SoulMan @ Feb 7 2006, 01:06 PM)
Hello guys,
I am trying to do a new PLT request, and I can't do it

What I want is to have a top 50 of most present titles, sorted by number of tracks. Anyone have an ID?
I'm not on my PC so I'm just guessing:
have you tried switching on the item count info on PLT config?
I think this is the way to go (I never used it myself, though) and probably cbowron has included some @item_count function to be used in the sorting boxes too.
Check the changelog file first.
mdhare007
Feb 7 2006, 16:32
Is it possible to match on multiple nodes in a query?
Here's what I'm trying to do:
I define folder "isLive" with a query that says 'comment HAS "Live"'
I define folder "isAlbum" with a query that says 'NOT album MISSING'
I'd like to define a folder "isLiveAlbum" with a query that says "@node<isLive> AND @node<isAlbum>"
It doesn't seem to work. It seems like whatever is returned by the first node statement is what sticks.
The idea here is that if I ever change my definition of "Live" or "Album", I'd like to change it in one place instead of many queries.
Is there a way to do this? Or should I plea for this to be added to the "to-do" list?
Sorry if this has been asked before. I didn't see it.
Thanks-
-Michael
optimuz
Feb 7 2006, 17:10
Is it possible to make playlist_tree read .cue-files? I have a lot of albums wich are mixed together to 1 mp3-file. And with those a .cue-file can be used in foobar for example to get the tracks info, so instead of one track at 120min or so it splits up into all the tracks so it looks like if it were 10 seperate mp3s. But in playlist_tree .cue-files result in "???". Help me out here!
SoulMan
Feb 8 2006, 02:50
kockroach : I mean the title which have the higher count.
I have a lot of Jazz albums, and what I want is to have a direct access to the most played songs, the standards...
cwbowron
Feb 8 2006, 07:27
QUOTE(optimuz @ Feb 7 2006, 06:10 PM)
Is it possible to make playlist_tree read .cue-files? I have a lot of albums wich are mixed together to 1 mp3-file. And with those a .cue-file can be used in foobar for example to get the tracks info, so instead of one track at 120min or so it splits up into all the tracks so it looks like if it were 10 seperate mp3s. But in playlist_tree .cue-files result in "???". Help me out here!

I believe that I have tested with cue files and compressed files in the past. How are the files getting to playlist tree? Are you dragging and dropping them from outside of fb2k or dropping them from the playlist or using them inside a query?
SoulMan
Feb 8 2006, 08:54
This is my actual query :
query : (genre IS Jazz) AND (title IS *)
format : '@format<%_itemcount%>' - %title%|%artist% - %album%
populate sort order : @display
X reverse
Max : 50 folders
But the sort on itemcount don't work...
cwbowron
Feb 8 2006, 09:01
QUOTE(SoulMan @ Feb 8 2006, 09:54 AM)
This is my actual query :
query : (genre IS Jazz) AND (title IS *)
format : '@format<%_itemcount%>' - %title%|%artist% - %album%
populate sort order : @display
X reverse
Max : 50 folders
But the sort on itemcount don't work...
you probably want to use Display Sort Order and use %_name% instead of @display. And the max probably wont work the way it to because I'm not positive (I dont have the source in front of me) but I think the max folders happens before the display sort order takes effect.
SoulMan
Feb 8 2006, 11:54
Yes, but the problem if I use display sort order, is that I can't reverse...
And an other problem is that, I need to format itemcount on two digits, but I've not found the correct syntax.
cwbowron
Feb 8 2006, 12:08
QUOTE(SoulMan @ Feb 8 2006, 12:54 PM)
Yes, but the problem if I use display sort order, is that I can't reverse...
And an other problem is that, I need to format itemcount on two digits, but I've not found the correct syntax.
you might be able to do $num(%_itemcount%,2)
If you need to reverse in the display sort order, just do something like $sub(9999,%_itemcount%)
Stuart60611
Feb 8 2006, 19:20
A suggestion: Adding selectable buttons (something like the history buttons) to go forward and backward through prior selections. For example, when you click on the artist folder, you could click on the backward button and close the folder without having to scroll up many pages to find the artist folder and click it to close. For those of us who have lots of folders and queries open at once, it would be a very convenient way to close a lot of folders ang get to the desired place in one's tree quickly and without having to spend considerable effort finding appropriate folders and queries and manualy close each one. I am aware that you can select the option to close all nodes, but sometimes that is overkill.
SoulMan
Feb 9 2006, 03:20
Ok, thank you cwbowron for your help.
So, now, the problem is wat you was thinking, the Max is done before the display sort, so if I put a max, I don't have what I want, and if I don't my query is extremly long with a lot of 1 time titles...

There is a simple solution to permit this kind of query?
So the working query is :
query : (genre IS Jazz) AND (title IS *)
format : '@format<$num(%_itemcount%,2)>' - %title%|%artist% - %album%
populate sort order : %_name%
display sort order : $sub(9999,%_itemcount%)
cwbowron
Feb 9 2006, 07:30
QUOTE(Stuart60611 @ Feb 8 2006, 08:20 PM)
A suggestion: Adding selectable buttons (something like the history buttons) to go forward and backward through prior selections. For example, when you click on the artist folder, you could click on the backward button and close the folder without having to scroll up many pages to find the artist folder and click it to close. For those of us who have lots of folders and queries open at once, it would be a very convenient way to close a lot of folders ang get to the desired place in one's tree quickly and without having to spend considerable effort finding appropriate folders and queries and manualy close each one. I am aware that you can select the option to close all nodes, but sometimes that is overkill.
If you have expanded a folder, and are browsing its contents you can press the left arrow key to close it and the selection will return to the parent folder.
cwbowron
Feb 11 2006, 11:55
RELEASE 1.7.18
user map nag on first run and user map button on config
fixed "new query" display bug
new option: BROWSER::"Filter presets"
Superunknown
Feb 11 2006, 20:09
Hi,
Using that component, how can I explore a folder excluing subfolders ?
I've got my files into a folder, modern albums are all at the root of this folder, but there's also a subfolder called '[Classical]' with only Classical music, therefore I'd like to seperate both modern and classical music in my playlist tree using a way to read the path of the files and telling to exclude the folders contained in the subfolder '[Classical]' in one case, and excluse all the files not including in '[Classical]' in the other case.
All the best.
kockroach
Feb 11 2006, 20:16
In your queries you could use "NOT genre IS classical" to exclude classical tracks....and "genre IS classical" to only find classical tracks. Or you could use the @drop<"folder path goes here"> function to search a specific directory folder.
Superunknown
Feb 12 2006, 05:41
works perfectly doing NOT $directory(%_path%,2) IS "[Classical]"
thank you very much for your advice !
fabiospark
Feb 12 2006, 06:59
Is there a way to have a keyboard shortcut that does what follows?
1) refresh (option: yes/no) a specific node or tree branch (maybe with a browse window to select it)
2) send (option send/add) the node content to a playlist (option: create new/list of existing ones/etc)
3) maybe with the possibility to apply a filter on fly (option: list of filter presets)
------
It would also be nice to be able to save these "macros" (maybe in a text file) and automatically add them to a macro switcher panel and having them all avalaible for menus and keybord shortcuts.
If somebody thinks that this is already possible (maybe through foo_cheduler or else) pleale let me know. Of course, I'm looking for a way to easily refill a playlist via my ATI remote control.
Thanks.
Superunknown
Feb 12 2006, 10:01
is it normal that my foobar uses 50 Mo since I've put the playlist tree component ? :-(
before it was never more than 12 Mo
Would it be possible to have the @sum function to work in the display as it does in the folder name for a query?
I ask as I would like to have a sum of play count for each genre so the query would be [%play counter%] and the format would be %genre%|@sum<%play counter%>
Oh, and this is a fantastic plugin by the way, thanks very much for making it
cwbowron
Feb 13 2006, 14:02
QUOTE(ledge @ Feb 13 2006, 02:55 PM)
Would it be possible to have the @sum function to work in the display as it does in the folder name for a query?
I ask as I would like to have a sum of play count for each genre so the query would be [%play counter%] and the format would be %genre%|@sum<%play counter%>
Oh, and this is a fantastic plugin by the way, thanks very much for making it

Yes, if I am reading this correctly, I think you can do what you want by doing something like this:
Query: [%play_counter%]
Format: %genre% '@sum<%play_counter%>'|%artist%|%album%|%title%
QUOTE(cwbowron @ Feb 14 2006, 09:02 AM)
QUOTE(ledge @ Feb 13 2006, 02:55 PM)
Would it be possible to have the @sum function to work in the display as it does in the folder name for a query?
I ask as I would like to have a sum of play count for each genre so the query would be [%play counter%] and the format would be %genre%|@sum<%play counter%>
Oh, and this is a fantastic plugin by the way, thanks very much for making it

Yes, if I am reading this correctly, I think you can do what you want by doing something like this:
Query: [%play_counter%]
Format: %genre% '@sum<%play_counter%>'|%artist%|%album%|%title%
Yup, that did it, thanks.
Hopefully an easy one:
When I drop an m3u or fpl from Explorer onto PT (1.7.18) while holding Ctrl I end up with the the new @drop query node labelled with the filename of the m3u file. Underneath this is another node with the same label, and then the third level under this is the leaf nodes labelled with the song titles.
I only want two levels, the @drop query node and the leaf nodes directly under this. I've found I can make this happen manually by editing the newly created query node and changing the Format from @default to %title% but it's a little annoying to have to do this every time I drop a new m3u file. Is there any setting I can make to cause PT to use this layout automatically?
In the options I've set "Default Query Display" to %title% which I thought would achieve what I'm after but doesn't seem to have this effect. The layout I want is exactly what I get if I drop the m3u file without holding Ctrl to get a static node.
Superunknown
Feb 14 2006, 10:06
QUOTE(Superunknown @ Feb 12 2006, 06:01 PM)
is it normal that my foobar uses 50 Mo since I've put the playlist tree component ? :-(
before it was never more than 12 Mo
please tell me how I could make it use lower RAM guys :-(
SoulMan
Feb 15 2006, 11:31
Hello, what you can do is to keep queries unpopulated, you can only doo a refresh on a given query when you need it, and after that to do a "remove/childrens" on it. That is what I do to use less RAM.
cwbowron
Feb 15 2006, 12:28
When the Foobar2000 0.9 SDK goes public, I plan on converting Playlist Tree over to the new SDK. In the process, I want to simplify things for the users while maintaining the core features that make playlist tree so great. I am putting together a Wiki page to list things that I think would be useful and to let users see where I think this is headed. If you have some suggestions please post them on the Playlist Tree forum at
http://bowron.us/smf/index.php?topic=208.0http://wiki.bowron.us/index.php/Playlist_Tree_ImprovementsThanks.
SoulMan
Feb 16 2006, 03:26
Hello cwbowron, can you tell if, when SDK 0.9 will be public, you plan to continue maintaining a playlisttree for 0.8.3 ?
(cause some users can prefer so still using 0.8.3...)
sPeziFisH
Feb 16 2006, 04:11
QUOTE(SoulMan @ Feb 16 2006, 01:26 AM)
(cause some users can prefer so still using 0.8.3...)
...there should be no reason to use 0.8.3 further, maybe for the time while all plugins are compiled against 0.9SDK, but maintaining already valorized progs is still a time investigation which is not neccessary - 0.9 is aimed to suite nowadays needs - modify yourself ...
... this all IMHO

- I know that this opinion may not be yours - just want to help
cwbowron
Feb 16 2006, 07:22
QUOTE(SoulMan @ Feb 16 2006, 04:26 AM)
Hello cwbowron, can you tell if, when SDK 0.9 will be public, you plan to continue maintaining a playlisttree for 0.8.3 ?
(cause some users can prefer so still using 0.8.3...)
I anticipate that when the 0.9 SDK comes out new version will be built only on 0.9 SDK.
SoulMan
Feb 17 2006, 08:24
Ok, and for my last problem, il it possible to add a checkbox proposing to filter after the display sort?
topdownjimmy
Feb 18 2006, 14:58
I'm just now delving into this plugin and am trying to get a handle on query formatting.
One thing I'd like to have is a tree of recently listened-to albums. I'd like to have full albums displayed, so that even if I've only listened to some of the songs from an album, the entire album is present in the tree.
What I use now is this query:
CODE
Query: [%last_played%]
_ foo_playlist_gen format
Format: $if(%album artist%,%album%,%artist%)|%title%
Population Sort Order: %last_played%|%album% X Reverse
Display Sort Order: $sub(99,%tracknumber%)
I know this doesn't work, and in fact, it gives me tracks that haven't been played recently, but that are by the same artist as tracks that
have been played recently.
Any help would be much appreciated.
ryoanji
Feb 19 2006, 07:45
Some comments & thoughts from a big database user
First of all: one million thanks to cwbowron for this plugin, without this i will not be able to use foobar with my collection of archived music. Sincerously, thanks man

Lastly i am gettings things working the way i like thanks to this plugin. I have a pt tree with nodes dragged from the physical folders, and i can very easily update the collection when i add new music just dragging in the proper node the new folder. Excellent. This was impossible with foobar's database explorer, and also i didnīt want a rescan on nodes every time i open foobar and want to listen some music, it causes much work to my external raid 5 unit.
But one of the things that i canīt do with pt is to use queries. This is because it uses the database to scan and it causes those rescans i want to avoid so much. Not a really problem to me, what i get now is enough for my needs.
But there are two main things i am trying to solve and i ask for some help if anybody had similar problems.
I use mostly ape files, and many times i have a (for example) CDImage.ape file and a .cue file. What i get in the tree for this structure is the correct list of files in the album AND an ugly to see file CDimage.ape, that duplicates the tracks when i listen the node. Is there any way to avoid this and similar situations?
On other part, i am trying to use differents columns for different categories of music in the playlist view, for example: 'Compositor' and 'Centuries' for Classical categories, 'Country' for Ethnic category, etc. For this purpose i am trying to use tagz to send the music to the appropiate playlist so that columns_ui can filter the columns properly. I thought something like this as user defined playlist in the 'doubleclick' menu of pt could help:
CODE
$trim($if($strstr(%_path%,Clasico),'Clasica',$if($strstr(%_path%,Rock),'Pop & Rock',$if($strstr(%_path%,Jazz),'Jazz, Blues, Soul',$if($strstr(%_path%,xperiment),'Electronica, Experimental', $if($strstr(%_path%,tnico),'Etnico, Fusiones','Misc'))))))
but i canīt get it work. %_path% is resolved as 'silence__1' or so. Anyone tried something similar? Am i missing anything?
Aditional thoughts about managing big databases will be appreciated

Thanks in advance
cwbowron
Feb 19 2006, 10:27
QUOTE(ryoanji @ Feb 19 2006, 08:45 AM)
On other part, i am trying to use differents columns for different categories of music in the playlist view, for example: 'Compositor' and 'Centuries' for Classical categories, 'Country' for Ethnic category, etc. For this purpose i am trying to use tagz to send the music to the appropiate playlist so that columns_ui can filter the columns properly. I thought something like this as user defined playlist in the 'doubleclick' menu of pt could help:
CODE
$trim($if($strstr(%_path%,Clasico),'Clasica',$if($strstr(%_path%,Rock),'Pop & Rock',$if($strstr(%_path%,Jazz),'Jazz, Blues, Soul',$if($strstr(%_path%,xperiment),'Electronica, Experimental', $if($strstr(%_path%,tnico),'Etnico, Fusiones','Misc'))))))
but i canīt get it work. %_path% is resolved as 'silence__1' or so. Anyone tried something similar? Am i missing anything?
The problem is that the %_path% in question is referring to the path of the folders which dont really have a path... they rigged to use a handle to 1 sec of silence to be able to do the formatting... you might be able to use something like @first<%_path%_> in a folder to get the path of the first file in the folder...
optimuz
Feb 19 2006, 20:10
QUOTE(cwbowron @ Feb 8 2006, 02:27 PM)
I believe that I have tested with cue files and compressed files in the past. How are the files getting to playlist tree? Are you dragging and dropping them from outside of fb2k or dropping them from the playlist or using them inside a query?
I've dragged them into playlisttree from explorer, haven't figured out a way just yet other then that to get files into playlisttree

If i query with an "empty" playlisttree it doesn't give me any result, even though I have them in my database in foobar. Never even thought of dragging files from the playlist

Gonna try out that!
*edit*
Tried to use Playlist->Insert from, and that resultet in "????" also...
Superunknown
Feb 20 2006, 05:00
I'm trying to make an artist browsing query that read the directory path in order to make the difference between LPs and singles (Singles are all put in a subfolder called "[Singles]"), I've made it, but it always returns Singles, why ?
$cut(%artist%,1)|%artist%|$if(@quote<$directory(%_path%,2) HAS Singles>,Singles,LP/EP)|%date% - %album%|$num(%tracknumber%,2) - %title%
By the way, I've got another problem, display and population order are :
%artist%|$num(%date%,4)|$num(%tracknumber%,2)
But for some artists, the albums are not well ordered, for example, I've got :
A
|_ A Perfect Circle
---|_ Singles (first problem, these albums are not in the subdir [Singles] so it should say LP/EP)
-------|_ 2003 - Thirteenth Step
-------|_ 2004 - eMOTIVe
-------|_ 2004 - aMOTION
-------|_ 2000 - Mer De Noms (second problem, should be displayed FIRST)
That's odd, isn't it ? Anyone could help me please ?
Superunknown
Feb 20 2006, 05:39
find a solution for my first problem doing so : $cut(%artist%,1)|%artist%|$if($strstr(%_path%,'[Singles]'),'Singles','LP/EP')|%date% - %album%|$num(%tracknumber%,2) - %title%
but not for the second problem about ordering results
Superunknown
Feb 20 2006, 07:23
none has got troubles to order queries and has a problem such like mine ?
ryoanji
Feb 20 2006, 15:12
QUOTE
The problem is that the %_path% in question is referring to the path of the folders which dont really have a path... they rigged to use a handle to 1 sec of silence to be able to do the formatting... you might be able to use something like @first<%_path%_> in a folder to get the path of the first file in the folder...
Thanks cwbowron, it's strange but it works 50%. Nodes at the same level are sent to different playlists, having all of them the same term that is searched for in the tagz, i've not been able to find a pattern for this behaviour. I'll have to investigate more...
Superunknown
Feb 21 2006, 11:19
I've got a problem, display and population order are :
%artist%|%date%|$num(%tracknumber%,2)
But for some artists, the albums are not well ordered, for example, I've got :
A
|_ A Perfect Circle
-------|_ 2003 - Thirteenth Step
-------|_ 2004 - eMOTIVe
-------|_ 2004 - aMOTION
-------|_ 2000 - Mer De Noms (should be displayed FIRST)
That's odd, isn't it ? Anyone could help me please ?
cwbowron
Feb 21 2006, 12:09
QUOTE(Superunknown @ Feb 21 2006, 12:19 PM)
I've got a problem, display and population order are :
%artist%|%date%|$num(%tracknumber%,2)
But for some artists, the albums are not well ordered, for example, I've got :
A
|_ A Perfect Circle
-------|_ 2003 - Thirteenth Step
-------|_ 2004 - eMOTIVe
-------|_ 2004 - aMOTION
-------|_ 2000 - Mer De Noms
(should be displayed FIRST)That's odd, isn't it ? Anyone could help me please ?
try using %_name% for display order.
Superunknown
Feb 21 2006, 14:49
solved everything !! thank you so much !
SoulMan
Feb 23 2006, 08:14
Hello, I was thinking in something that can be very powerfull, at least, that can solve the queries I actually can't do.
This idea is to add the ability, in top of sortings possibility, filter displayed results. That can permit to display only folders with an itemcount or foldersize higher or lower than n.
cwbowron
Feb 23 2006, 08:23
QUOTE(SoulMan @ Feb 23 2006, 09:14 AM)
Hello, I was thinking in something that can be very powerfull, at least, that can solve the queries I actually can't do.
This idea is to add the ability, in top of sortings possibility, filter displayed results. That can permit to display only folders with an itemcount or foldersize higher or lower than n.
Thats a pretty good idea... There's some technical difficulties to that right now, but it might be easier depending on changes for 0.9...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.