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 712564 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_playlist_tree

Reply #1250
I put the DLL in my components dir.  How do I activate it?  I looked in the documentation but found nothing. 

Thanks. 

foo_playlist_tree

Reply #1251
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.

foo_playlist_tree

Reply #1252
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.

foo_playlist_tree

Reply #1253
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.

foo_playlist_tree

Reply #1254
There is no side bar in the new Columns UI.
~

foo_playlist_tree

Reply #1255
Is this plugin more efficient than Explorer Tree or Album List panels?!
-foobar2000 + Burrrn + EAC
-HD 80Gb using High QualityVBR MP3s

foo_playlist_tree

Reply #1256
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).
~

foo_playlist_tree

Reply #1257
I'll give it a try so
-foobar2000 + Burrrn + EAC
-HD 80Gb using High QualityVBR MP3s

foo_playlist_tree

Reply #1258
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?

foo_playlist_tree

Reply #1259
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?

foo_playlist_tree

Reply #1260
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.

foo_playlist_tree

Reply #1261
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:
There used to be a link to my website here.

foo_playlist_tree

Reply #1262
I having a bit of trouble getting a query to show the count of folders under each entry. my query is as follows...

Code: [Select]
%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?

foo_playlist_tree

Reply #1263
blah, my database file got corrupted after such query
Code: [Select]
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: [Select]
artist IS Byrds AND (tracknumber LESS 12 OR title HAS Again)

works without database corruption

foo_playlist_tree

Reply #1264
Code: [Select]
%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: [Select]
%label% '(@format<%_foldercount%>)'|...
There used to be a link to my website here.

foo_playlist_tree

Reply #1265
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?

foo_playlist_tree

Reply #1266

Code: [Select]
%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: [Select]
%label% '(@format<%_foldercount%>)'|...



that did the trick, thank you.

foo_playlist_tree

Reply #1267

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..

foo_playlist_tree

Reply #1268
Uncheck the 'hide leaves' thing?
~

foo_playlist_tree

Reply #1269
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.

foo_playlist_tree

Reply #1270
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...
There used to be a link to my website here.

 

foo_playlist_tree

Reply #1271
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?

foo_playlist_tree

Reply #1272
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?
There used to be a link to my website here.

foo_playlist_tree

Reply #1273

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...

foo_playlist_tree

Reply #1274
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...
There used to be a link to my website here.