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
watusimoto
One annoying "feature" in this otherwise very good plugin occurs when I want to find a listing by typing its name. For example, to find Sonic Youth, I might type "son" and I get to the right area of my playlist. However, if I am looking for The White Stripes, I start typing "The W", but the process stops when I hit the space, and I can only get to the beginning of the "The"s. (Does that make sense??)

Is there a workaround for this, so I can keep typing a name that contains a space?

Thanks!!
MiSP
QUOTE(watusimoto @ Aug 2 2007, 21:26) *

One annoying "feature" in this otherwise very good plugin occurs when I want to find a listing by typing its name. For example, to find Sonic Youth, I might type "son" and I get to the right area of my playlist. However, if I am looking for The White Stripes, I start typing "The W", but the process stops when I hit the space, and I can only get to the beginning of the "The"s. (Does that make sense??)

Is there a workaround for this, so I can keep typing a name that contains a space?

Thanks!!

I encountered this problem, but it disappeared as soon as it had emerged. *shrug*
Kiteroa
I want to get the last played track in a scheme Playlist tree so I can write it to a playlist.

No problem getting back all the tracks sorted by %last_played% date.

I can see how to reverse the order by turning the date into a number and subtracting from 999999999 but how do I restrict the selection to just the latest track?

(I'd also like to do the same in ordinary playlist tree; the maximum track option there will restrict the no. of tracks returned but I can't make it the one I want (latest %last_played%!)

Any ideas??
Kiteroa
Another query:


How do I get the name of the currently playing playlist in Scheme?

Scheisen2000
Hey guys,

i didnt realy had the time to get into this @scheme thing but it seems to be fancy...
maybe you can tell me, if something can be done with it, maybe you even got some code suggestions.

many people like me want to edit their playback queue... you add something like 10 songs to queue and than you recognize that you want to have the song on 8th position on the 3rd...
here is what i do:

I manage my music and playlists with playlist_tree component.
In playlist_tree you can define source as "@queue"
So i created a new playlist_tree query with source set to @queue and a query which is always true:
criteria: "NOT 1 IS 2"
when i now click the "Queue"-query in my playlist tree, it sends the tracks of queue to the defined playlist, than activates the playlist. In my case the name of the playlist_tree auto-send playlist is always the name of the query. Therefore, after doing so, i am editing a playlist named "queue" which contains exactly the queue.
now i reorder the tracks the way i want them, push my "flush queue"-button, do a ctrl+a to select the whole playlist and than "add to playback queue".

now my question... smile.gif
can this flushing and resending to queue be automated with scheme everytime the "Queue" playlist created by the Queue query is changed?
this would give some kind of queue editor, which i think, many people are missing since foobar is around...

Cheers smile.gif
cwbowron
QUOTE(Scheisen2000 @ Aug 11 2007, 04:15) *
now my question... smile.gif
can this flushing and resending to queue be automated with scheme everytime the "Queue" playlist created by the Queue query is changed?
this would give some kind of queue editor, which i think, many people are missing since foobar is around...


Yes, playlist tree scheme queries can run any main menu or context menu function, so to clear the queue, you would use the function (mainmenu-command "Flush playback queue"). You can add tracks to the queue using the scheme function (contextmenu "Add to Playback Queue" list) where list is a list of handles from functions like for-each-db-entry or for-each-playlist-entry
Kiteroa
In case it is any use to anyone, here is my scheme code to make a playlist with all tracks by the now playing artist:

CODE

(let (( field (format-title (now-playing) "%artist%"))
(playlist-index (find-or-create-playlist "Browser" )))
(clear-playlist playlist-index)
(if (> (string-length field) 1)
(for-each-db-entry
(lambda (handle)
(add-to-playlist handle playlist-index))
(string-append "artist HAS " field " OR album artist HAS " field ))
))

MiSP
I think this has been up before, but here it is again: Using %<artist>% crashes foobar. Here's the script I'm trying to use, the %<artist>% thing is almost first on line 2:

CODE
$if(%artist%,
@icon<29>%<artist>%|['['$substr(%date%,1,4)']'] $if2(@icon<11>%album%,@icon<87>-<Unknown album>-)|[$num(%tracknumber%,2) - ]%title%,
@icon<87>-<Unknown artist>-|$if(%album%,@icon<11>%album%|[$num(%tracknumber%,2) - ]%title%,@icon<87>-<Unknown album>-|%title%)
)

I'm currently using %artist% there instead; as mentioned, foobar crashes when I try to use %<artist>%.
wolfsong
QUOTE(wolfsong @ Aug 2 2007, 15:03) *

cwbowron Any other ideas on why this doesn't work?

thanks

BUMP

.ws.
Adi Corrales
Hi everybody! First of all thanks for this wonderful plugin... is one of the many things that makes me use Foobar, and try to use my iPod and everything with it (jejeje is more work, but foobar and this plugin worth it! tongue.gif )

I have a question: I have a lot of compilation albums (soundtracks, compilations, two or three artists albums, etc) That I want to sort as regular albums. I don't like to have a different "category" for compilations.

I'm formating my node in the next way:

$if($not($meta(album artist)),
%artist%|%date% %album%|[$num(%tracknumber%,2) - ]%title%,
%artist% - %album%|[$num(%tracknumber%,2) - ]%title%)

That is, if the album artist field is empty, use artist, but if it is not, use artist-album tag for the nodes.

Now, what I want to know is if is possible that, when I select a compilation artist (show as "artist - album" in the node) the next node shows all the album songs, not only the ones that match the artist, but all that macht the album. I have been trying with $parent, but returns "unidentify function" and in the end, I always get a one song node, that is what I don't want.

I have been using the album name in the node, without artist, but this "hides" many artists from my list (for example: I only have one song by Bob Dylan in my Natural Born Killers soundtrack. If i use the album name, is hard to know that I have, at least, one Bob Dylan´s song...) My idea is that, if I select the Bob Dylan artist node, the next node shows all the Natural born killers album, and not only the Dylan's song...

I hope i'm clear enogh... Thanks for your help and regards.

gob
hey cwbowron, is it possible to display a different font size in a different panel?
msobetzko
I'm having trouble writing what I think should be a simple query.

I have created queries that use playcount and lastplay info to create queries around Played Most, Played Least, Played Long Ago etc.

I wish to exclude files from my catalog (stand up comedy, kids music, etc).

I created a tag called SKIP and added the tag to all files I wish to skip and populated it with a Y.

I did not add the tag to other files (the ones I want to play).

I can write a query (%skip% IS Y) that lists all the files I wish to skip. I can write a query (%skip% NOT Y) that lists all the files I do NOT wish to skip.

But... If I add 'and %skip% NOT Y' to any of my other queries, the query fails and sometimes with odd results. One query that selects files played at least once when the 'and %skip% NOT Y' is appended it selects files that have NOT been played and INCLUDE (not exclusively) files tagged SKIP Y.

Sorry for the long post, perhaps I'm not getting how to include and statements, perhaps my idea of creating a tag is flawed. I'm looking for some advice.

Mike
cwbowron
QUOTE(msobetzko @ Aug 27 2007, 16:48) *

I'm having trouble writing what I think should be a simple query.

<snip>

But... If I add 'and %skip% NOT Y' to any of my other queries, the query fails and sometimes with odd results. One query that selects files played at least once when the 'and %skip% NOT Y' is appended it selects files that have NOT been played and INCLUDE (not exclusively) files tagged SKIP Y.


you need "AND %skip% NOT Y", capital AND. It's case sensitive.
MiSP
QUOTE(MiSP @ Aug 12 2007, 20:17) *

I think this has been up before, but here it is again: Using %<artist>% crashes foobar. Here's the script I'm trying to use, the %<artist>% thing is almost first on line 2:

CODE
$if(%artist%,
@icon<29>%<artist>%|['['$substr(%date%,1,4)']'] $if2(@icon<11>%album%,@icon<87>-<Unknown album>-)|[$num(%tracknumber%,2) - ]%title%,
@icon<87>-<Unknown artist>-|$if(%album%,@icon<11>%album%|[$num(%tracknumber%,2) - ]%title%,@icon<87>-<Unknown album>-|%title%)
)

I'm currently using %artist% there instead; as mentioned, foobar crashes when I try to use %<artist>%.

Quoting myself here, because I have the answer. It seems all will be OK if you first make a variable with %<artist>%, like here (only the first few functions are relevant in this discussion):

CODE
$if(%artist%,$puts(ar,%<artist>%)
@icon<29>$get(ar)|['['$substr(%date%,1,4)']'] $if2(@icon<11>%album%,@icon<87>-<Unknown album>-)|[$num(%tracknumber%,2) - ]%title%,
@icon<87>-<Unknown artist>-|$if(%album%,@icon<11>%album%|[$num(%tracknumber%,2) - ]%title%,@icon<87>-<Unknown album>-|%title%)
)

Notice that I have $puts(ar,%<artist>%) on the first line, and $get(ar) on the second line instead of %<artist>% (or just %artist%).

Also, it works this way:
CODE
$if(%artist%,
@icon<29>$put(ar,%<artist>%)|['['$substr(%date%,1,4)']'] $if2(@icon<11>%album%,@icon<87>-<Unknown album>-)|[$num(%tracknumber%,2) - ]%title%,
@icon<87>-<Unknown artist>-|$if(%album%,@icon<11>%album%|[$num(%tracknumber%,2) - ]%title%,@icon<87>-<Unknown album>-|%title%)
)

Here I define the variable and use it directly ($put instead of $puts).

Now, for the big one: Why does it work these ways, and not the first one, cwbowron?
msobetzko
QUOTE(cwbowron @ Aug 27 2007, 13:52) *

QUOTE(msobetzko @ Aug 27 2007, 16:48) *

I'm having trouble writing what I think should be a simple query.

<snip>

But... If I add 'and %skip% NOT Y' to any of my other queries, the query fails and sometimes with odd results. One query that selects files played at least once when the 'and %skip% NOT Y' is appended it selects files that have NOT been played and INCLUDE (not exclusively) files tagged SKIP Y.


you need "AND %skip% NOT Y", capital AND. It's case sensitive.


I just tried that and I am still having no luck. Here is my exact query.

NOT "$substr(%last_played%,1,7)" GREATER 2000-01 AND %skip% NOT Y

My goal in this query is to list songs that I have never played (and are not marked skip).

wolfsong
QUOTE(wolfsong @ Aug 2 2007, 15:03) *

cwbowron Any other ideas on why this doesn't work?

thanks

BUMP

.ws.

msobetzko
QUOTE(msobetzko @ Aug 27 2007, 16:58) *

QUOTE(cwbowron @ Aug 27 2007, 13:52) *

QUOTE(msobetzko @ Aug 27 2007, 16:48) *

I'm having trouble writing what I think should be a simple query.

<snip>

But... If I add 'and %skip% NOT Y' to any of my other queries, the query fails and sometimes with odd results. One query that selects files played at least once when the 'and %skip% NOT Y' is appended it selects files that have NOT been played and INCLUDE (not exclusively) files tagged SKIP Y.


you need "AND %skip% NOT Y", capital AND. It's case sensitive.


I just tried that and I am still having no luck. Here is my exact query.

NOT "$substr(%last_played%,1,7)" GREATER 2000-01 AND %skip% NOT Y

My goal in this query is to list songs that I have never played (and are not marked skip).


I got it fixed. Just a subtle difference. I had to use NOT %skip% IS Y in all instances and it works. biggrin.gif
cwbowron
QUOTE(wolfsong @ Aug 30 2007, 12:10) *

BUMP


CODE
;;; Create a tree with 5 gigs of music, rated greater than 3
(let ((total-size 0)
      (max-size (* 1024 1024 5 1000)))
  (for-each-db-entry
   (lambda (handle)
     (let ((size (get-file-size handle)))
       (if (< (+ size total-size) max-size)
       (begin
         (add-node
          handle
          (list
           (format-title
        handle
        "%artist% - %title%")))
         (set! total-size (+ total-size size))))))
   "rating GREATER 3"
   "$rand()"))
wolfsong
QUOTE(cwbowron @ Aug 31 2007, 11:40) *

QUOTE(wolfsong @ Aug 30 2007, 12:10) *

BUMP


CODE
;;; Create a tree with 5 gigs of music, rated greater than 3
(let ((total-size 0)
      (max-size (* 1024 1024 5 1000)))
  (for-each-db-entry
   (lambda (handle)
     (let ((size (get-file-size handle)))
       (if (< (+ size total-size) max-size)
       (begin
         (add-node
          handle
          (list
           (format-title
        handle
        "%artist% - %title%")))
         (set! total-size (+ total-size size))))))
   "rating GREATER 3"
   "$rand()"))


Woohoo! It works now. Thanks!
Mar2zz
I am using Foobar for a short while now, and use playlist tree mainly for adding tracks to queue. I am trying to make an Album Top 25. Maybe my request is too exotic, but i cant get it working.

My best album is in my opinion the album with the highest score on trackplaycount + trackrating + albumrating.
This score i can make visible with the following code in format;

CODE
@quote<@format<$num($add($sum('%rating%'),$sum('%play_count%'),$avg('%album rating%')),3)>> - %album artist% - %album%|%artist% - %title%


In criteria i use NOT album rating MISSING, but that is not a good criteria. For an album with a high score on trackplaycount and trackrating it should also be possible to get a top25 listing. Sadly, a criteria that checks all folders and tracks makes the refresh query hang for a few seconds. Maybe its possible to make criteria that allready filters albums with a high score?

another problem i have is with sorting and maximize.
The sorting is completely random when i want to reverse it. Only sort by display name works, but that sorts down from low score to high, i want that reversed. For sorting i tried to use several codes, but none works.
Maximize gives me a completely random set of albums. Scores get mixed, it shows not the best 25 albums, but 25 random albums. I tried to maximize by 25 folders. That doesnt work.
Here is a screenshot
IPB Image
Screenie

I hope someone will have an answer to this problem. or maybe another query that almost does the same stuff. thx in advance
the in sound from way out
Hi all,

First, thanks for this powerful component.

I'm new to it, trying to guess a few queries here and there.

What I haven't been able to do so far is to display the total number of files in a node (next to a dynamic folder name).
Something like :

Genre (5559)
+ Classical (123)
+ Jazz (5436)


Thought the tag %_itemcount% would do it, but it didn't.

Any clue?

Greetings
Mar2zz
put this in label behind your query name:
Example:
CODE
Genre (@format<%_itemcount%> tracks>)


And in format:
CODE
%genre% (@format<'%_foldercount%' albums, '%_itemcount%' tracks>)|%artist% - %album%|
%track% - %title%


becomes:
Genre (5559 tracks)
+ Classical (10 albums, 125 tracks)
+ Jazz (25 albums, 212 tracks)
+ etc.
the in sound from way out
Thx for the reply. smile.gif I get better how it works now. With your code I get the itemcount behind the query name.

But for some reason, it won't work with nods. The panel stops creating nods as soon as I add (@format<'%_foldercount%' albums, '%_itemcount%' tracks>) behind %genre%. Instead, it displays the genre of each selected tracks, without any folder (or item/folder count for that matter). Maybe a problem of syntax, I have no idea.

Mar2zz
You are right, somehow the () in front and at end mess up. When you use <> instead of () it wil work ok (i use <> all the time, i thought changing it to () wouldnt make a difference, so i didn't test it, sorry). the code will be this:

CODE
%genre% <@format<'%_foldercount%' albums, '%_itemcount%' tracks>>|%artist% - %album%|
%track% - %title%


this gives you:
Genre (5559 tracks)
+ Classical <10 albums, 125 tracks>
+ Jazz <25 albums, 212 tracks>
+ etc.
the in sound from way out
QUOTE(Mar2zz @ Sep 6 2007, 06:17) *

You are right, somehow the () in front and at end mess up.
That was it! I fixed it with :

CODE
'('@format<'%_itemcount%'>')'

Works fine now. Thank you for your help. smile.gif
Melomane
QUOTE(cwbowron @ Aug 2 2007, 20:27) *
I put up a new version today.

Biggest improvement is that I added two scheme functions that let you ask for input when the query gets refreshed. This allows you to create a generic query that will prompt you for input. See the bottom of the post for an example.

ChangeLog:
QUOTE

* don't ask about the user map.
* new scheme functions that allow interaction:
o (prompt-user-string "foo") - prompts the user for input. Returns a string. "" for cancel.
o (prompt-user-list "foo" ("option 1" "option 2" ... "option n")) - prompts the user to select from given options - returns zero-based index of selection. -1 for cancel.


Example of prompting query:
CODE

(let ((tags (list "artist" "album" "title")))
(let ((n (prompt-user-list "Tag:" tags)))
(when (>= n 0)
(let ((criteria (prompt-user-string "Criteria:")))
(display criteria)
(when (> (string-length criteria) 0)
(for-each-db-entry
(lambda (handle)
(add-node
handle
(list (format-title handle "%artist%")
(format-title handle "%album%")
(format-title handle "%title%"))))
(string-append (list-ref tags n) " " criteria)))))))




nothing displayed!

cwbowron
QUOTE(Melomane @ Sep 8 2007, 08:58) *
nothing displayed!


What ui component are you using? Was there an error message displayed on the console?
Melomane
columns
->"reference to undefined identifier: prompt-user-list"

edit: sorry, i haven't use latest dll
reking
Help. I can't stand this anymore, I want to change double click in the playlist tree to expand/collapse, but there is no such option in the configuration window. Yet I've seen people talk about it. What am I doing wrong?

I have the latest version from http://wiki.bowron.us/index.php/Playlist_Tree
MiSP
QUOTE(reking @ Sep 8 2007, 21:47) *

Help. I can't stand this anymore, I want to change double click in the playlist tree to expand/collapse, but there is no such option in the configuration window. Yet I've seen people talk about it. What am I doing wrong?

I have the latest version from http://wiki.bowron.us/index.php/Playlist_Tree

I can't do this either. It's not a feature I've been missing, but now as you say it, there's nothing wrong implementing it (after all, it's the way all other UIs work).
vader897
I am trying to make a dynamic playlist of all the file of one file type. I have tried using the following things in the criteria box but each time the playlist is just returning every item in my database.

$ext(%_path%) IS mp3
$ext(_path) IS mp3
$ext(path) IS mp3

I am a little confused as to why the criteria box doesnt use %% for the syntax when referring to tags. I got $ext(%_path%) IS mp3 from the example queries wiki page.

Thank you for your guidance.
-vader897
odyssey
I have a quite large library (almost 20000 entrys) and with Playlist Tree plugin loaded, everytime I do anything in a playlist (start play/add or remove files etc) it hangs 1-2 sec. This is VERY annoying, since it doesn't matter how small a playlist I edit.

Is it because I enabled refresh in one of my querys? I doubt it's nessesary to refresh the library ALL THE TIME ?!?!?
MiSP
QUOTE(odyssey @ Oct 3 2007, 19:30) *

Is it because I enabled refresh in one of my querys?

Yep. Do as I do - map the refresh function to F5, so that you can press F5 whenever you want to update the playlist tree.
Dave_Scream
$if(%album artist%,$puts(ar,%<album artist>%),$puts(ar,%<artist>%))
$get(ar)|%album%|%title%

i read that <%tag%> is not working... but this "lambda" request language is very hard-to-find for me...

please, can someone explain to me, how i can realize this function with that difficult query language?
MiSP
QUOTE(Dave_Scream @ Oct 7 2007, 15:54) *

$if(%album artist%,$puts(ar,%<album artist>%),$puts(ar,%<artist>%))
$get(ar)|%album%|%title%

i read that <%tag%> is not working... but this "lambda" request language is very hard-to-find for me...

please, can someone explain to me, how i can realize this function with that difficult query language?

$put(ar,%<album artist>%) makes a variable called ar, sets it to %<album artist>% and returns that value. $puts(ar,%<album artist>%) (think "put silent") does the same, but does not return the value (i.e. it only makes the variable). You can call that variable later using $get.

In other words: Using $put(ar,%<album artist>%) is the same as using just %<album artist>%, except it works. smile.gif

You can also use the $puts command first thing in the script for every tag you want to do it with, and call them later using $get, but it's easier just using $put and putting it where you'd else want it (you can still call them later anyway).

By the way, the $if check at the beginning is pointless - using %album artist% returns the album artist tag if present, otherwise returns the artist tag (and then goes on to a few more if artist isn't found either).


So, to sum it up - the script you're looking for is probably this:

CODE
$put(ar,%<album artist>%)|%album%|%title%


Easy as pie. smile.gif
Dave_Scream
QUOTE(MiSP @ Oct 7 2007, 14:24) *

$put(ar,%<album artist>%) makes a variable called ar, sets it to %<album artist>% and returns that value. $puts(ar,%<album artist>%) (think "put silent") does the same, but does not return the value (i.e. it only makes the variable). You can call that variable later using $get.

In other words: Using $put(ar,%<album artist>%) is the same as using just %<album artist>%, except it works. smile.gif

You can also use the $puts command first thing in the script for every tag you want to do it with, and call them later using $get, but it's easier just using $put and putting it where you'd else want it (you can still call them later anyway).

By the way, the $if check at the beginning is pointless - using %album artist% returns the album artist tag if present, otherwise returns the artist tag (and then goes on to a few more if artist isn't found either).


So, to sum it up - the script you're looking for is probably this:

CODE
$put(ar,%<album artist>%)|%album%|%title%


Easy as pie. smile.gif


thank u for help, but i know this.

in previous post my script was:

$if(%album artist%,$puts(ar,%<album artist>%),$puts(ar,%<artist>%))
$get(ar)|%album%|%title%

but ive tryed and these schemes:

1. %<album artist>%|%album%|%title%
2. $if($meta(%album artist%),%<album artist>%,%<artist>%)|%album%|%title%
3. $if($meta(%album artist%),puts(ar,%<album artist>%), puts(ar, %<artist>%) $get(ar)|%album%|%title%
shure it works, but not all releases are in list!

i readed somewhere that in playlist tree %<tag>% is not working, but this mechanism can be realized by special query language...

but this is very hard-to understand... so if anyone can halp me with this, please help.
---
i need query script for this query (in simple form): %<album artist>%|%album%|%title%
cwbowron
QUOTE(Dave_Scream @ Oct 7 2007, 17:13) *
i need query script for this query (in simple form): %<album artist>%|%album%|%title%


Set the source to @scheme and the format to:

CODE
(for-each-db-entry
(lambda (handle)
(for-each
(lambda (album-artist)
(add-node
handle
(list album-artist
(format-title handle "%album%")
(format-title handle "%title%"))))
(meta-list handle "album artist"))))
Dave_Scream
QUOTE(cwbowron @ Oct 8 2007, 07:06) *


aha! thank you it works!

but how i must change this script if i want to use %<artist>% instead of %<album artist>% if the last is empty?
i feel that i must change somethink it this place?
CODE

   (for-each
    (lambda (album-artist)    


because this is dont work:
CODE

(for-each-db-entry
(lambda (handle)
   (add-node
    handle
    (list (format-title handle "$if($meta(%album artist%),%<album artist>%,%<artist>%)")
      (format-title handle "%album%")
      (format-title handle "%title%")))))
2Pacalypse
are there any good tutorials for this? i want a most played & a recently added script
cwbowron
QUOTE(Dave_Scream @ Oct 8 2007, 10:54) *
but how i must change this script if i want to use %<artist>% instead of %<album artist>% if the last is empty?


CODE
(for-each-db-entry
(lambda (handle)
(for-each
(lambda (artist-or-album)
(add-node
handle
(list artist-or-album
(format-title handle "%album%")
(format-title handle "%title%"))))
(let ((album-artist-list
(meta-list handle "album artist")))
(if (null? album-artist-list)
(meta-list handle "artist")
album-artist-list)))))
MiSP
Like 2Pacalypse asked: Are there any good tutorials for this scripting language? Preferably focused on foobar2000 use?
Dave_Scream
QUOTE(cwbowron @ Oct 8 2007, 14:41) *

QUOTE(Dave_Scream @ Oct 8 2007, 10:54) *
but how i must change this script if i want to use %<artist>% instead of %<album artist>% if the last is empty?


CODE
(for-each-db-entry
(lambda (handle)
(for-each
(lambda (artist-or-album)
(add-node
handle
(list artist-or-album
(format-title handle "%album%")
(format-title handle "%title%"))))
(let ((album-artist-list
(meta-list handle "album artist")))
(if (null? album-artist-list)
(meta-list handle "artist")
album-artist-list)))))




wohoho! it works! thanks! when i click on the whole query folder... playlist get file list with many duplicates... i know this is because 1 track can be in many nodes... well this is not important.

but this query language is VERY hard!! and not transparent!
иге I feel how it powerfull!

i look at tutorial... and i note this functions:
(for-each-node-entry node-name fn)
(get-file-size handle) => returns size in bytes

and for example with previous query can I transform it and make some query, which will show summary size of every node?:

for example:
artist (size of all child nodes)
-label(size of all child nodes)
--album(size)
-label(size of all child nodes)
--album(size)

is this realizeable too? if it is not much simply for u then just say "yes" and all smile.gif
virus_found
Sorry for a noobish question, but...
I'm new to playlist_tree (never used any "browsers" like albumlist either). But i'm quite adequate to TAGZ.
So: how do i make my playlist tree look and function the same way as the standart Playlist Switcher? smile.gif But with one exclusion, i don't want to create and use hundreds of playlists (before that, i used one static (handmade) playlist for each %artist% folder in my library). But i want to use only ONE dynamic playlist connected to Playlist Tree. For ex: when i leftclick on an item in the tree, this playlist is filled with songs, appropriate to a criteria. When i click on another item, it's filled with other songs smile.gif
I'm sure, it's a simpliest thing wink.gif
Help is greatly appreciated
ps: sorry for poor english
Mishail
QUOTE
But i want to use only ONE dynamic playlist connected to Playlist Tree.

Use the Library playlist as I do.
2Pacalypse
When I add files to my media library I tag them with a timestamp in %ADDED% can someone please tell me how to sort a query by the newest %added% ie recently added playlist.
virus_found
QUOTE
Use the Library playlist as I do.

Useful solution, thnx a lot
Zhosh )
~*McoreD*~
Hi, how do you get this working in foobar2000 under default UI? I can't seem to figure out how to insert a new UI Element where I'd like to, and use Playlist Tree as that element. Thanks for your great work.
david_dl
columns_ui panels and UI elements are completely incompatible.
~*McoreD*~
QUOTE(david_dl @ Oct 27 2007, 08:40) *

columns_ui panels and UI elements are completely incompatible.


david_dl, thanks! so does that mean I can't use playlist_tree in the Default UI under 0.9.5? Ouch.
poisonborz
Hola... Newbie question - Installed Playlist Tree (all the files in the right place), clicked library/playlist tree menu, but none of the menu buttons work... I click "new folder", "file/open", nothing happens... (upd: i thought my problem could be like the one stated above with default ui... but it's the same with columns ui..)
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.