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 712589 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

foo_playlist_tree

Reply #1175
Tks, but it's for the 0.83 !

foo_playlist_tree

Reply #1176
yeah but you can just take a look at the file and adapt it. It is really easy

foo_playlist_tree

Reply #1177
cwbowron:  i almost managed to resolve my problem about E:/ still appearing using $replace(%_path%,E:\bands\,,\,|) by using
$if($strcmp($left(%_path%,9),E:\bands\),$replace($substr(%_path%,10,$len(%_path%)-9),\,|),)

I still have a last problem. the fact that i use a $if() make that if the condition returns false it does nothing which here mean put the track. As a consequence i see well all my directories but after that i see alllll my songs.

Is there a way to tell him not to add the track if condition returns false?
I think i might also use the criteria to do the if but i cant find the syntax rules for playlist generator

foo_playlist_tree

Reply #1178
I am having a problem using the @drop source directive.  What I am wanting to do is to show the contents of my New Music directory.  Inside this directory I have Artist Folder\Album Folder\Files.  I used the following in my query:  @drop<H:\New Music\> for the source.  and @default for the format.  What is produced from this is the tree showing the ARTIST Folder, with the ALBUM Folder under it, but the music files are not included, and consequently, the music files are sent to the playlist. 

What I am getting:
+New Music
  +Artist 1
      Album1

What I am trying to get:
+New Music
  +Artist 1
      +Album1
        File1
        File2

I have been able to get this to work by changing the format to:%artist%|%album%|%filename% but I would really like to have it list the files as they are in the directory, as that would allow me to not have to worry about tagging the files correctly to get them to show.  Am I doing this incorrectly?  Any help would be greatly appreciated.

foo_playlist_tree

Reply #1179
I currently have a simple Top 200 most played tracks query.  What I want to do is cut it in half and have a Top 100 query (1 to 100) and then a Top 101-to-200 query.  Top 100 is easy to do obviously, but I don't know how to stop the Top 101-to-200 query displaying the first 100 tracks.

Is it possible?

 

foo_playlist_tree

Reply #1180
Hey cwbowron

I found next bug, but don't define this is a bug of foo_ui_columns.dll or foo_playlist_tree.dll.

When I change layout of colums (add or hide any panels) I lose last query in my playlist tree.

For example - I add console panels and lose last query, then I create last query again and hide console panels - lose last query. This bug not only with console panel, I see it  with any panels.

foo_playlist_tree

Reply #1181
Hey cwbowron

I found next bug, but don't define this is a bug of foo_ui_columns.dll or foo_playlist_tree.dll.

When I change layout of colums (add or hide any panels) I lose last query in my playlist tree.

For example - I add console panels and lose last query, then I create last query again and hide console panels - lose last query. This bug not only with console panel, I see it  with any panels.

May be the playlist tree panel saves its config only when foobar is closing, so when you change the layout the playlist tree panel reload itself without your query being saved. Not sure but i think that after making a query, if foobar crash the query is lost.

foo_playlist_tree

Reply #1182

Hey cwbowron

I found next bug, but don't define this is a bug of foo_ui_columns.dll or foo_playlist_tree.dll.

When I change layout of colums (add or hide any panels) I lose last query in my playlist tree.

For example - I add console panels and lose last query, then I create last query again and hide console panels - lose last query. This bug not only with console panel, I see it  with any panels.

May be the playlist tree panel saves its config only when foobar is closing, so when you change the layout the playlist tree panel reload itself without your query being saved. Not sure but i think that after making a query, if foobar crash the query is lost.



When I create all querues of my playlist tree I save it and create its backup in another folder. This playlist tree saved on exit from FooBar normally.

I work with this playlist tree on any next start of FooBar and I dont lose its configuration.

Then I start FooBar and only if I change layout of columns - I lose last query in my playlist tree.

foo_playlist_tree

Reply #1183
I am having a problem using the @drop source directive.  What I am wanting to do is to show the contents of my New Music directory.  Inside this directory I have Artist Folder\Album Folder\Files.  I used the following in my query:  @drop<H:\New Music\> for the source.  and @default for the format.  What is produced from this is the tree showing the ARTIST Folder, with the ALBUM Folder under it, but the music files are not included, and consequently, the music files are sent to the playlist. 

What I am getting:
+New Music
  +Artist 1
      Album1

What I am trying to get:
+New Music
  +Artist 1
      +Album1
        File1
        File2

I have been able to get this to work by changing the format to:%artist%|%album%|%filename% but I would really like to have it list the files as they are in the directory, as that would allow me to not have to worry about tagging the files correctly to get them to show.  Am I doing this incorrectly?  Any help would be greatly appreciated.


this is what i use, it just displays the files according to the filenames.
Source:
@drop<F:\Music\New Albums>

Format:
$puts(tree,$replace(%path%,\,|))
$replace($get(tree),F:|Music|New Albums|,)

Population order:
%path_sort%

foo_playlist_tree

Reply #1184
gob, that works perfectly.  thanks so much for your help.

foo_playlist_tree

Reply #1185
Release 2.0.6

New Features

    * Main menu items for:
          o Collapse Tree
          o Track Finder on Current Playlist
    * Local processing of space and enter
          o Renamed "Mouse" preferences to "Mouse and Keyboard"
          o Added options for Space and Enter keys in Mouse and Keyboard preferences
    * Added option to enable/disable keyboard shortcut processing in tree
    * Local Functions / Variables:
          o $parent
          o $hidetext
          o %_displayname% - similar to %_name% but will process away @icon<>, etc.

Bug fixes

    * Track Finder maximum (default 4000)
    * fixed @icon<x> in Library playlist name
    * fixed FAKE node bug (Edit a query before expanding it, click ok)
    * search will now always search the last active tree, not the first tree
    * Proper storage of save / restore filename when shutting down
There used to be a link to my website here.


foo_playlist_tree

Reply #1187
I hope this has not already been asked and answered (I could not find anything)... so if it has, I am sorry.  Is there a way to set how the Libarary Playlist is sorted?  When I click on a query (for example... Decade... 1930) the files get sent to the Library Playlist, but are not sorted in the playlist according to the General Settings of "sort incoming files by:" settings.  I have tried various things, but none of them have worked, so any help would be greatly appreciated.

foo_playlist_tree

Reply #1188
I hope this has not already been asked and answered (I could not find anything)... so if it has, I am sorry.  Is there a way to set how the Libarary Playlist is sorted?  When I click on a query (for example... Decade... 1930) the files get sent to the Library Playlist, but are not sorted in the playlist according to the General Settings of "sort incoming files by:" settings.  I have tried various things, but none of them have worked, so any help would be greatly appreciated.

I dont want to say something wrong but i think that when you choose a query, it is sorted in the playlist as it is sorted on the query. So you have to look a the format in you query.
At least that is what it seems to do here

foo_playlist_tree

Reply #1189
Thanks carmenm, that seems to be what is happening here.  After changing the Population Order, and unchecking "sort by display name" everything works fine.

EDIT - what I said above didn't seem to fix it... I'll try to mess with the query format to see if it will work.  I am a bit confused as to what controls the playlist sorting... i.e. is it the query format, population order, or both, etc.

foo_playlist_tree

Reply #1190
Hmm.  When I updated to latest version (from the 2nd latest) it disappeared from my columns ui layout, and I can no longer add it back in.

NM - Wrong columns ui version.

foo_playlist_tree

Reply #1191
Well, after messing with this some more, I am stumped.  Again, I am sorry if this has been covered somewhere else, and my knowledge of formating is not too great either.  My problem is the display of Various Artists albums and the Artists.  All my VA stuff is tagged with %Album Artist% = Various Artists and %Artist% = "Track Artist".  What I am trying to do is to have all the %Artist% tags (i.e. Track Artist and CD Artist for non-VA albums) show in the Tree.  So, for example if I expand the Tree for Decade, 1930, I would like it to show all the %artist% tags (track artists for VA albums, and artists for non-VA albums).  But, I would also like to have this to be sorted in playlist properly, by sorting by %Album Artist%, instead sorting by %artist%.

Here is what I am getting:

Query Format:
%decade%|%album artist%|%album%|%codec%|$num(%discnumber%,2)|[$num(%tracknumber%,2) - ]%title%

Population Order: @default

This shows up in the Tree as:

+Decade
-1930
+Artist
+Various Artists

This is properly sorted when sent to the playlist.

However when I use this:

Query Format:
%decade%|%artist%|%album%|%codec%|$num(%discnumber%,2)|[$num(%tracknumber%,2) - ]%title%

Population Order: @default

This shows in the Tree as:

+Decade
-1930
+Artist 1
+Artist 2

When this is sent to the playlist, the Various Artists albums are broken in album view because it is sorted by %artist% instead of %album artist%


I have tried changin the Population Order to sort by just %artist% and have the Query Format use the %album artist%, since, on the tutorial page it says that Population Order is the "order to fill the tree."  But this does not seem to work.

Again, I am sorry if this has been covered before.  If anyone can point me in the right direction, that would be wonderful.  Thanks.

foo_playlist_tree

Reply #1192
Well, after messing with this some more, I am stumped.  Again, I am sorry if this has been covered somewhere else, and my knowledge of formating is not too great either.  My problem is the display of Various Artists albums and the Artists.  All my VA stuff is tagged with %Album Artist% = Various Artists and %Artist% = "Track Artist".  What I am trying to do is to have all the %Artist% tags (i.e. Track Artist and CD Artist for non-VA albums) show in the Tree.  So, for example if I expand the Tree for Decade, 1930, I would like it to show all the %artist% tags (track artists for VA albums, and artists for non-VA albums).  But, I would also like to have this to be sorted in playlist properly, by sorting by %Album Artist%, instead sorting by %artist%.


The order of the playlist that is created from Send to Library playlist should be the exact order things are in the tree.

if your tree looks like this:

Code: [Select]
artist1
   album1
      f1
      f2
   album2
      f3
      f4
artist2
   album3
      f5
   album4
      f6


Then the playlist should just basically be a flattening of that to:
f1
f2
f3
f4
f5
f6
There used to be a link to my website here.

foo_playlist_tree

Reply #1193
thank you cwbowron for enabling support for the enter key. new version works great.

foo_playlist_tree

Reply #1194
hi cwbowron,

I must have overlooked an option in the configuration window... can doubleclick on a tree node start playback of selected file/s in it?
(i am using v2.0.6)

Thanks,

Amit.

foo_playlist_tree

Reply #1195
I must have overlooked an option in the configuration window... can doubleclick on a tree node start playback of selected file/s in it?
(i am using v2.0.6)


I set my doube click option to "Edit/Send to current playlist and Play"

which is added to the context menu by foosion's utilities.

I also have a "Play" option in my context menu that is probably from foosion's utilities too that could be used to play an item.
There used to be a link to my website here.

foo_playlist_tree

Reply #1196
Release 2.0.7
Code: [Select]
New Features

    * @limit
    * @hidden - children are hidden and node is show as grayed out
          o example- any album with more than 8 tracks will be hidden
    * @hidden2 - children are hidden and node is not shown
    * do not refresh $playing<> tracks if nothing playing
    * Added back the dialog about the user map
    * Custom item colors - Currently only works for folders and queries
          o selection focus / selection on focus color options
          o @rgb<r,g,b> function - Applies to the entire label
          o preference option: custom colors - This must be enabled for @rgb and the selection color options to work
          o Example to alternate colors on query result folders:
                + @format<@quote<$ifgreater($mod(%_folderindex%,2),0,'@rgb<255,255,255>','@rgb<255,0,255>')>>%album%|[$num(%tracknumber%,2) - ]%title%]%title%
There used to be a link to my website here.

foo_playlist_tree

Reply #1197
Thnak you cwbowron , it s becoming really powerfull!!

foo_playlist_tree

Reply #1198
is this only for 0.8.3?

foo_playlist_tree

Reply #1199
Hi, i'm playing with this 2.0.7 and i have a question:
if a querie returns 0 results, i would like the node not to be shown, so i tried to put this in the format :
@quote<@format<$if($greater(0,%_itemcount%),@hidden2 ,)>>%artist%|%album%|[$num(%tracknumber%,2) - ]%title%
But it doesn't seem to work...
Can you help me please ?
After, i'll try the coulours !!