adamb10
May 19 2006, 19:16
I put the DLL in my components dir. How do I activate it? I looked in the documentation but found nothing.
Thanks.
first of all, you need to have the latest columns UI installed. then you need to go into the preferences and setup the playlist tree in a sidebar or something. once you do that you should have the playlist treein the wondow. there should be example queries in there. you can create new ones by right clicking in the empty space.
if you want to load a .col file you already have, just right click in the empty space and click select file and load.
Fractal_Mortality
May 20 2006, 07:42
Cwbowron... Any plans to reincorporate the Playlist Tree Browser?
I loved the way you create sortable columns (%artist%|%tracknumber%|%title%) in a way that's not really possible with Foo Browser.
adamb10
May 20 2006, 09:58
QUOTE(gob @ May 19 2006, 22:37)

first of all, you need to have the latest columns UI installed. then you need to go into the preferences and setup the playlist tree in a sidebar or something. once you do that you should have the playlist treein the wondow. there should be example queries in there. you can create new ones by right clicking in the empty space.
if you want to load a .col file you already have, just right click in the empty space and click select file and load.
How do I add it to the sidebar? I see the playlist tree has a little sub menu in prefs.
Sorry for being a n00b here.
lav-chan
May 20 2006, 10:27
There is no side bar in the new Columns UI.
Is this plugin more efficient than Explorer Tree or Album List panels?!
lav-chan
May 20 2006, 17:07
More efficient than Explorer Tree, i would say. I switched from that when i realised that PLT actually did what i wanted a lot better.
I don't know about Album List, though, they're not really designed for the same thing (although you certainly could re-invent the wheel in PLT if you wanted to).
I'll give it a try so
finalcut
May 21 2006, 19:49
hey is it possible to have the playlist in other way then by artist?
I want it sort by folder instead
I have tried anything that came into my mind without success.
Here is how my windows explorer structure is:
f:\music
in music I have \Pink Floyd\
and then in my pink floyd folder, I got all albums named [1977] Pink floyd - name of the album
All I want is to have a playlist that look in my f:\music folder and then only show all the stuff there!
is it possible?
what is the $avg() function used for? is it possible to use $avg to get the average rating of tracks within a subfolder?
also, with the new version, drop queries no longer work for me... do the files have to be in the DB?
j conky
May 22 2006, 06:31
QUOTE(gob @ May 21 2006, 23:14)

also, with the new version, drop queries no longer work for me... do the files have to be in the DB?
I had this problem as well. I changed the format to @default and everything worked just fine. I am not sure why though. Also, my query is for a folder with files not in the DB.
cwbowron
May 22 2006, 07:00
QUOTE(gob @ May 22 2006, 00:14)

what is the $avg() function used for? is it possible to use $avg to get the average rating of tracks within a subfolder?
also, with the new version, drop queries no longer work for me... do the files have to be in the DB?
No, the files shouldnt have to be in the library...
I just tried a drop query and it was working for me:
I having a bit of trouble getting a query to show the count of folders under each entry. my query is as follows...
CODE
%label% '('%_foldercount%')'|$if2(%album artist%,%artist%)|%album% '('%date%')'|$num(%tracknumber%,2) - $if($strcmp(%album artist%,Various Artists),%artist% - ,)%title%
and it gives this result instead of the number of albums in each folder

what am I doing wrong?
blah, my database file got corrupted after such query
CODE
artist IS Byrds AND (tracknumber LESS 12 OR title IS We'll Meet Again)
maybe a feaky one, but it's to avoid bonustracks from byrds records. It worked, but after foobar restart every query after this one is.. well, mostly gone.
further investigation showed that:
CODE
artist IS Byrds AND (tracknumber LESS 12 OR title HAS Again)
works without database corruption
cwbowron
May 23 2006, 13:17
QUOTE(ledge @ May 22 2006, 18:43)

CODE
%label% '('%_foldercount%')'|$if2(%album artist%,%artist%)|%album% '('%date%')'|$num(%tracknumber%,2) - $if($strcmp(%album artist%,Various Artists),%artist% - ,)%title%
what am I doing wrong?
I think you should be able to get what you want using:
CODE
%label% '(@format<%_foldercount%>)'|...
finalcut
May 23 2006, 15:05
hey I have only one search that is listed by directory structure. For a reason I ignore, some of my folders show my songs twice! I nuked the database and rebuild it but I still have the same problem.
Any idea what it could be?
QUOTE(cwbowron @ May 24 2006, 07:17)

QUOTE(ledge @ May 22 2006, 18:43)

CODE
%label% '('%_foldercount%')'|$if2(%album artist%,%artist%)|%album% '('%date%')'|$num(%tracknumber%,2) - $if($strcmp(%album artist%,Various Artists),%artist% - ,)%title%
what am I doing wrong?
I think you should be able to get what you want using:
CODE
%label% '(@format<%_foldercount%>)'|...
that did the trick, thank you.
QUOTE(cwbowron @ May 22 2006, 09:00)

QUOTE(gob @ May 22 2006, 00:14)

what is the $avg() function used for? is it possible to use $avg to get the average rating of tracks within a subfolder?
also, with the new version, drop queries no longer work for me... do the files have to be in the DB?
No, the files shouldnt have to be in the library...
I just tried a drop query and it was working for me:
thats pretty much exactly how i have it. it worked up till the newest release, i was using "$puts(tree,$replace(%path%,\,|))$replace($get(tree),F:|Music|New Albums|,)" as the format. with the newest version of the plugin, this will result in an empty query. if i use @default as the format, i get the directory structure, but there are no audio files...
i tried shift-draging the folder into the playlist tree, it seems to work, i get a query like what you posted, but still, i just get the directory structure in the tree, but no audio files..
lav-chan
May 23 2006, 23:45
Uncheck the 'hide leaves' thing?
yup. leaves are not hidden anywhere else. not only do the leaves appear, but i cant even add them to the playlist when i double click on the query.
like i said, underneath the query i can see the folders that the files are in, but no leaves.
files that are in the library do not have this problem. they work properly with @drop queries.
cwbowron
May 24 2006, 06:23
QUOTE(gob @ May 24 2006, 02:31)

yup. leaves are not hidden anywhere else. not only do the leaves appear, but i cant even add them to the playlist when i double click on the query.
like i said, underneath the query i can see the folders that the files are in, but no leaves.
files that are in the library do not have this problem. they work properly with @drop queries.
If it doesnt have any leaves then the files are getting picked up as playable types... Take a look at your console output under View->console and see if there are any warning messages...
finalcut
May 24 2006, 08:21
ok I found out why some of my folders were having songs in double. It's because of the m3u file! Is it possible in the criteria to not add the .m3u file in the database?
cwbowron
May 24 2006, 08:45
QUOTE(finalcut @ May 24 2006, 10:21)

ok I found out why some of my folders were having songs in double. It's because of the m3u file! Is it possible in the criteria to not add the .m3u file in the database?
Are they in @database queries or in @drop queries?
finalcut
May 24 2006, 09:17
QUOTE(cwbowron @ May 24 2006, 09:45)

QUOTE(finalcut @ May 24 2006, 10:21)

ok I found out why some of my folders were having songs in double. It's because of the m3u file! Is it possible in the criteria to not add the .m3u file in the database?
Are they in @database queries or in @drop queries?
@drop but nevermind, I've deleted all m3u files!
but there is something I dont understand. Why every time I open foobar, I have to load my playlist?
Otherwise, I get the default one including the By Artist sorting...
cwbowron
May 24 2006, 09:23
QUOTE(finalcut @ May 24 2006, 11:17)

but there is something I dont understand. Why every time I open foobar, I have to load my playlist?
Otherwise, I get the default one including the By Artist sorting...
Start up foobar2000, then in the planel, right click somewhere not on any item. Select "Select File And Load" and it will load that file and from then on it will read and write to that file when exiting and loading....
I've also added "Ignore nested playlists in @drop queries" to my list of feature requests. It was something that was available on 1.7.x but has been temporarily dropped...
QUOTE(cwbowron @ May 24 2006, 08:23)

QUOTE(gob @ May 24 2006, 02:31)

yup. leaves are not hidden anywhere else. not only do the leaves appear, but i cant even add them to the playlist when i double click on the query.
like i said, underneath the query i can see the folders that the files are in, but no leaves.
files that are in the library do not have this problem. they work properly with @drop queries.
If it doesnt have any leaves then the files are getting picked up as playable types... Take a look at your console output under View->console and see if there are any warning messages...
i checked the console when i tried adding these files and there were no errors for the mp3 files that should have loaded, and the flac files gave this error msg:
"could not enumerate tracks (Unsupported format or corrupted file) on:
F:\Music\New Albums\The Who - Discography\01. The Who Sings My Generation\05. Much Too Much.flac"
i dragged the folder to a new playlist and all the files loaded in the playlist. they aee playing ok, there seems to be nothing worng with the files.
then i decided to select all these files and reloaded info from all the files. i refreshed the drop query and all the files are loaded. but these files are not in the database, when new files get dropped in there they will not load in the tree untill i reload info from them.
Gapkiller
May 25 2006, 17:40
Hi,
Iīm new to playlist - tree and i only want to have 2 queries...
1. By directory (like album list does)
2. By played ( 50 most played songs)
Could anyone please post this 2 queries as screenshots so that i can figure out how that works?
in PLT, how can I set format that hide nodes greater than nestlevel 3?
ex.
root
-music(nestlevel1)
--anime(nestlevel2)
---animation1(nestlevel3)
----album1(nestlevel4) <---﹁
----album2(nestlevel4) <--- ----- i wanna hide these nodes greater than nestlevel 3
I'm just come from other country, so my english is not pretty good, hope somebody know what I mean above.
q-stankovic
May 28 2006, 14:49
Just write @hidden2 in that part of your format that represents the fourth nestlevel! There is a small bug that displays the +/- buttons in front of the parent node but Chris already putted it on the list of known bugs.
QUOTE(q-stankovic @ May 28 2006, 14:49)

Just write @hidden2 in that part of your format that represents the fourth nestlevel! There is a small bug that displays the +/- buttons in front of the parent node but Chris already putted it on the list of known bugs.



Is the format I write correct?
and Is the result normal for current version?
q-stankovic
May 29 2006, 07:34
Why don't you use the format line inside the Edit box for queries?
Gapkiller
May 30 2006, 04:54
QUOTE(Gapkiller @ May 25 2006, 17:40)

Hi,
Iīm new to playlist - tree and i only want to have 2 queries...
1. By directory (like album list does)
2. By played ( 50 most played songs)
Could anyone please post this 2 queries as screenshots so that i can figure out how that works?

Please ...
it woulde be very nice if someone could do that because i donīt get the clue even by searching this thread.
Pyjama mental
May 30 2006, 10:16
QUOTE(Gapkiller @ May 30 2006, 04:54)

Please ...
it woulde be very nice if someone could do that because i donīt get the clue even by searching this thread.
For the 1, it seems to be :
CODE
$replace(%_path%,\,|)
in the format box, but for the second question, I'm interested too... I've tried
CODE
rating GREATER 1
(for the best rating, but it'll be the same for the most playing) as the criteria, but don't know how to sort properly (descending order)... I suppose it has something to do with the "population order" box, but don't succeed...
cwbowron
May 30 2006, 11:19
I posted some examples of how to accomplish a by directory list and a most played query on the example page:
http://wiki.bowron.us/index.php/Foobar2000...t_Tree:Examples
Gapkiller
May 30 2006, 16:31
QUOTE(cwbowron @ May 30 2006, 11:19)

I posted some examples of how to accomplish a by directory list and a most played query on the example page:
http://wiki.bowron.us/index.php/Foobar2000...t_Tree:Examples
Thank you very much!!!!!!!!
QUOTE(Pyjama mental @ May 30 2006, 10:16)

QUOTE(Gapkiller @ May 30 2006, 04:54)

Please ...
it woulde be very nice if someone could do that because i donīt get the clue even by searching this thread.
For the 1, it seems to be :
CODE
$replace(%_path%,\,|)
in the format box, but for the second question, I'm interested too... I've tried
CODE
rating GREATER 1
(for the best rating, but it'll be the same for the most playing) as the criteria, but don't know how to sort properly (descending order)... I suppose it has something to do with the "population order" box, but don't succeed...
thx u cwbowron!!
It's work for me !!
q-stankovic
Jun 1 2006, 05:44
Because the variable for multiple tags in pt doesn't use the field remapping i tried to write a little string that achieves the same like this what worked for old pt 1.7.xx: $if(%album artist%,#album artist#,#artist#)
I thought this simple string does the job: $if($meta(album artist),%<album artist>%,%<artist>%)
But the string just gives me back the values of the album artists. It seems that the third part ("else") isn't used.
A bug?
Currently there is no way in Broser or PT to realize that what in Album List is simply done by "%<album artist>%"
cwbowron
Jun 1 2006, 06:13
QUOTE(q-stankovic @ Jun 1 2006, 07:44)

Because the variable for multiple tags in pt doesn't use the field remapping i tried to write a little string that achieves the same like this what worked for old pt 1.7.xx: $if(%album artist%,#album artist#,#artist#)
I thought this simple string does the job: $if($meta(album artist),%<album artist>%,%<artist>%)
But the string just gives me back the values of the album artists. It seems that the third part ("else") isn't used.
A bug?
Currently there is no way in Broser or PT to realize that what in Album List is simply done by "%<album artist>%"
you might try %<album artist,artist>%
q-stankovic
Jun 1 2006, 06:21
I will try!
But wouldn't then the values of %artist% been displayed even if there is a value for %album artist%?
cwbowron
Jun 1 2006, 06:22
QUOTE(q-stankovic @ Jun 1 2006, 08:21)

I will try!
But wouldn't then the values of %artist% been displayed even if there is a value for %album artist%?
yeah, i didnt think about that..
q-stankovic
Jun 1 2006, 06:23
Am i right if i say that you don't like the new field remapping?
cwbowron
Jun 1 2006, 07:13
QUOTE
Release 2.0.9
Bug Fixes
* fixed bug in @drop<> queries that are not in default format. bug was introduced by my test for file existance to stop crash.
* increased line buffer to 1024 characters instead of 256. I think this may have been causing some issues.
* enter / space now know the calling node - fixes issues with playlist names
* fixed bug in $sum
New Features
* option to turn off default queries - makes it easier to modify your layout in columns ui
topdownjimmy
Jun 1 2006, 07:32
Is it possible to create a query whose subfolders are the playlist files in a given directory?
For example, I have a directory full of playlist files, and I would like to see them each listed as branches of a query node, looking something like this:
CODE
--.m3u playlists
--randommix.m3u
+-01. track 1
+-02. track 2
+-someotherplaylist.m3u
+-stillanotherpls.pls
Christopher suggested I use a @drop<> source, but that just creates subfolders based on artist (or whatever display string I use), rather than creating individual folders for the contents of each .m3u playlist file.
cwbowron
Jun 1 2006, 07:43
QUOTE(topdownjimmy @ Jun 1 2006, 09:32)

Is it possible to create a query whose subfolders are the playlist files in a given directory?
For example, I have a directory full of playlist files, and I would like to see them each listed as branches of a query node, looking something like this:
CODE
--.m3u playlists
--randommix.m3u
+-01. track 1
+-02. track 2
+-someotherplaylist.m3u
+-stillanotherpls.pls
Christopher suggested I use a @drop<> source, but that just creates subfolders based on artist (or whatever display string I use), rather than creating individual folders for the contents of each .m3u playlist file.
It looks like the @drop queries are a little different right now than in 0.8.3, so this doesnt look possible right now, but I am going to look into it..
i cant get the drop query to work at all. unless the files are actually loaded in the media library. i even tried a new foobar configuration and used just columns UI and playlist tree. @drop queries do not work if the music isnt in the library; the files are unaccessable. the directory structure is still maintained in playlist tree but the files are not there. also, it seems the format must be set to @default for anything (even the empty directory structure) to display at all.
cwbowron
Jun 2 2006, 06:17
QUOTE(gob @ Jun 2 2006, 02:40)

i cant get the drop query to work at all. unless the files are actually loaded in the media library. i even tried a new foobar configuration and used just columns UI and playlist tree. @drop queries do not work if the music isnt in the library; the files are unaccessable. the directory structure is still maintained in playlist tree but the files are not there. also, it seems the format must be set to @default for anything (even the empty directory structure) to display at all.
The issue with having to use @default format for @drops should have been fixed in 2.0.9.
I'll look into the other issue.
QUOTE
Release 2.0.9
Bug Fixes
* fixed bug in @drop<> queries that are not in default format. bug was introduced by my test for file existance to stop crash.
* increased line buffer to 1024 characters instead of 256. I think this may have been causing some issues.
* enter / space now know the calling node - fixes issues with playlist names
* fixed bug in $sum
New Features
* option to turn off default queries - makes it easier to modify your layout in columns ui
today i opened my foobar, i changed something in the layout, without touching playlist_tree settings, but after a restart all my queries had been deleted.
so i made them again but first of all they don't auto refresh anymore when a new track starts and if i click on redraw tree the label get right but the leaves are about an album that i listened before!

that's the query:

Thank you
Generalverdacht
Jun 2 2006, 11:01
i have another question: is it possible to have a query with albumgain missing? i tried it out, but didnt work.
q-stankovic
Jun 2 2006, 11:54
Cwbowrons account is suspended until monday so that he can't give any replies anymore. Look into his forum:
http://bowron.us/smf/index.php?topic=235.0
cwbowron
Jun 2 2006, 19:54
QUOTE(q-stankovic @ Jun 2 2006, 13:54)

Cwbowrons account is suspended until monday so that he can't give any replies anymore. Look into his forum:
My suspension has been lifted.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.