Help - Search - Members - Calendar
Full Version: foo_playlist_tree_mod
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
fbuser
Here is a modified version of foo_playlist_tree which is compatible with fb2k 0.9.5.3 or later. Because cwbowron asked me to change the name of the component it is now called foo_playlist_tree_mod.

You can find it here.

Because it uses the new search filter API introduced with fb2k 0.9.5.3, this version or later is required.

Here are the changes for version 3.0.6.0:
  • compatible with foobar2000 0.9.5.3+
  • global titleformat function $treenode() is no longer available
  • playlist tree specific titleformat functions and variables in search box are no longer available
  • fixed bug: empty search in search box crashes foobar2000

Note: Because of renaming the component you have to reconfigure the component's preferences but the queries are preserved.
aliendesaster
Oh my god, great!

Although I got used to fast foobar startup times tongue.gif (query output was large)
smkk
ColumnsUI onry i guess since it doesnt seem work with DUI. Give me back my 4 minutes.
odyssey
QUOTE(smkk @ Jul 13 2008, 02:52) *

ColumnsUI onry i guess since it doesnt seem work with DUI. Give me back my 4 minutes.

SDK for 3rd party components for DUI has not yet been released, so forget anything but the default components for now!
topdownjimmy
Thank you! Playlist Tree is essential for my setup.
Canar
Glad to see this component is back. I don't use Columns UI any longer, but this component has functionality that you can't get in Default UI.
shakey_snake
...Nor do I, but I'm glad to see this component is still being developed.
bubbleguuum
I may use CUI again just for this...
aliendesaster
@fbuser
Do you maintain this component from now on or did you just intend to port it? There is a rather long list of bugs and feature requests (http://www.bazquux.com/wiki/Foobar2000:Playlist_Tree).
fbuser
I ported this component mainly for my own needs, but I had in mind publishing it here on HA. I have some ideas for some small new features, which I plan to implement first. But it will take some longer, because I have little spare time and it's always difficult to work with foreign code. Later I may have a deeper look on the lists of features and bugs, which are all non-critical bugs.
scars
Hi,

nice Job, now i dont get an error while starting foobar 2k smile.gif

But I got a question, i hope someone can help me...
ive tried to use a query for my albums, that updates itself if ill add new albums to the folder...

for example this is the folder:

CODE
Albums
+Artist
|   +Album1
|   |       Song1
|   |       Song2
|   |      
|   +Album2
|                +CD1
|                 |      Song1
|                 |      Song2
|                +CD2
|                        Song1    
|                        Song2
|
|      
+Artist2
    +Album1
    |       Song1
    |       Song2
    |      
    +Album2
        Song1
        Song2


So if i use this folder with the @drop command the songs are listet but without their subfolders

CODE
Albums
Song1
Song2
Song1
Song2
Song1
Song2
Song1
Song2


Is it possible that he also shows the subfolders in Playlisttree ?

thanks smile.gif
Zetto
The one thing i missed most after switching to >0.9.5.3 was "Playlist Tree".
Wonderful, we now have it back. DAUMEN HOCH !
HAL_
I'm using playlist tree in order to generate automatic bests of (by genre, artist, year and so on)
It do very well the job but for the artists best of, I want to add a filter and I don't know how :

Today I use :
source :
@database

Criteria :
%rating% GREATER 2

Format :
%artist%|%rating% - %title%

But a lot of artists have only 1 song in their best of and I prefer display only those who have at least 2 songs

Is it possible to add this filter (at least 2 entries in a node) ? unsure.gif
fbuser
Look here. So you can use
CODE
@quote<@format<$ifgreater(%_itemcount%,1,,@hidden2 )>>%artist%|
%rating% - %title%

As it is mentioned in the link above, it only works, if 'Sort by display name after populating' is checked. For me it seems to be a bug and not a feature. But I have to look deeper into the code to find it out.

Edit: I just noticed, that the link don't scroll to the post the link should point at. It is post 1777. Link is fixed to show the post as first on page
Robbi
Hallo,
Is it possible to have a query like this

criteria: %ADDED% DURING LAST 2 DAYS

format:
%artist%-%title%

Population Order: $rand()

Kind regards
Robert
hydrotemplar
the link isn't working for me... it's giving me a 403 forbidden...
fbuser
It's fixed. Thanks for the report.
Don Reba
QUOTE(fbuser @ Jul 12 2008, 15:13) *

Here is a modified version of foo_playlist_tree which is compatible with fb2k 0.9.5.3 or later.

Thank you.
Arithmomaniac
Sounds great!
1) Could you revive the download link?
2) Could you update foo_cwb_hooks? (That would answer your question, Robbi).

Thanks,
Arithmomaniac
fbuser
1) The link is correct, but the server is down at the moment. It will be back soon.
2) I thought about it. But it is impossible to get the functions to work. Also variables like %cwb_systemdate% will not work in a reliable way. But I have to take a closer look, which variables could be used. For the moment I extracted the quick tag panel and made some enhancements for it. I need do some testing and I think I can release it in one or two weeks or maybe a little bit later.
q-stankovic
QUOTE(fbuser @ Aug 28 2008, 23:56) *

For the moment I extracted the quick tag panel and made some enhancements for it. I need do some testing and I think I can release it in one or two weeks or maybe a little bit later.


Nice! But please don't forget the DUI-User who would love to see a freefloating window. wink.gif
Some ideas: the tag window makes only sense for multivalue fields - the rest is really better done by the official quick tagger component. As the multivalue fields are declared in the advanced preferences users wouldn't need to bother about defining fields to be tagged if the list of these fields could be readen by SDK. Hope you understand what i mean.
Spirit_of_the_ocean
I can't download this component?
Can someone help me?
fbuser
Sorry, the downtime of the server is longer than expected and unfortunately I have no influence to it. So for the meantime you can find the component here. I will inform you, when the server is back.
Onkel Andy
Hi guys!
At first sight this plugin looked a lot like Album List.. but well there are a lot of nice additional features in Playlist Trees wink.gif Actually I love the implementation of the schemes as a new Query. Everything works fine more or less as I'm using the original code-examples on the Wiki. But I still couldn't find a solution for what I'm trying to achieve.

I want to use the scheme-script to create a 1-hour random playlist without repeating the artist and (her it comes) the playlist should only contain songs that are longer than 2 minutes. Additionally they shouldn't be called "Intro" or "Outro". The criteria-field seems to be ignored when using Schemes sad.gif

Thanks for the help!
fbuser
The criteria has to be provided by the scheme query. Look at the examples of cwbowron here.
Onkel Andy
QUOTE(fbuser @ Sep 4 2008, 14:13) *

The criteria has to be provided by the scheme query. Look at the examples of cwbowron here.

I've already checked them out and still don't get it. I now use the filter-string to filter out the songs I don't wanna have. I.e. "play_counter GREATER 7" works perfectly but I have no idea how to check whether a song lasts for more than 2 minutes i.e. I've tried length, length_seconds and more but nothing works.

Can you please give me a hint? Thanks alot!
fbuser
When you apply the following snippet do your filter it should work:
CODE

AND %length_seconds% GREATER 120

It' s not directly a playlist tree issue because the filtering is done by foobar2000 API. If you have still problems, please post your query here.
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.