Skip to main content

Topic: foo_playlist_tree (Read 576909 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • jkwarras
  • [*][*][*][*][*]
foo_playlist_tree
Reply #50
Hey!, thanks a lot for this plugin and new build

Just some suggestions:

- Custom background colours, selection, blabla options (like album list panel).
- I really like stroke idea: normal playlists + autoupdated customated trees. I know you said that you are not going to implement it, but hey, I try it anyway or maybe someone will like to implement it.

BTW, I like the idea of using icons

Edit: Added 'colours' to first request
  • Last Edit: 03 December, 2004, 08:37:04 AM by jkwarras

  • cwbowron
  • [*][*][*][*][*]
foo_playlist_tree
Reply #51
Quote
Hey!, thanks a lot for this plugin and new build

Just some suggestions:

- Custom background, selection, blabla options (like album list panel).
- I really like stroke idea: normal playlists + autoupdated customated trees. I know you said that you are not going to implement it, but hey, I try it anyway or maybe someone will like to implement it.

BTW, I like the idea of using icons
[a href="index.php?act=findpost&pid=257424"][{POST_SNAPBACK}][/a]


So how does the idea of autoupdated customized trees work?  This is how I see it: You make a folder, but in addition to giving it a name you give it a criteria something like $if($strcmp($artist, "Johnny Cash"),1,0) and then all the files that have artist as johnny cash automagically show up under this?

Is this how you see it?
There used to be a link to my website here.

  • stroke
  • [*][*]
foo_playlist_tree
Reply #52
Quote
- I really like stroke idea: normal playlists + autoupdated customated trees. I know you said that you are not going to implement it, but hey, I try it anyway or maybe someone will like to implement it.

nice to hear that, and let's try to talk chris into implementing the feature, i think he's getting interested in it

Quote
So how does the idea of autoupdated customized trees work?  This is how I see it: You make a folder, but in addition to giving it a name you give it a criteria something like $if($strcmp($artist, "Johnny Cash"),1,0) and then all the files that have artist as johnny cash automagically show up under this?

Is this how you see it?
[a href="index.php?act=findpost&pid=257427"][{POST_SNAPBACK}][/a]


not exactly, i thought that it would be usefull to implement this feature in exactly the same way it is implemented in album list panel. i.e. you create a folder, let's say 'live performances' and then in the properties for this folder you paste a formating string which specifies that files with the tag TYPE=live appear in this folder, and are automagically sorted into further folders and subfolders, according to one's liking (one of mine would be artist\date-album\tracktitle). so basically it boils down to putting the functionality of album list panel into playlist tree (panel?)

as you wrote this is perfectly achivable via the album list panel, but i'm sure people would find lots of ways to use these functionalities combined in one panel effectively, like sending files to the collection folders from within the same interface, instead of dragging them from explorer or playlist (seems much more convenient for me), or embeding an autoupdating folder within a collection folder. what do you think?

anyway, keep on the good work on playlist tree
I felt weak, perhaps I was.

  • jkwarras
  • [*][*][*][*][*]
foo_playlist_tree
Reply #53
Quote
not exactly, i thought that it would be usefull to implement this feature in exactly the same way it is implemented in album list panel. i.e. you create a folder, let's say 'live performances' and then in the properties for this folder you paste a formating string which specifies that files with the tag TYPE=live appear in this folder, and are automagically sorted into further folders and subfolders, according to one's liking (one of mine would be artist\date-album\tracktitle). so basically it boils down to putting the functionality of album list panel into playlist tree (panel?)

Yeah, that's exactly what I'm thinking. The reason are exactly the same as stroke: all in one panel. Some people will use it, others not

Just as a thought, you may also want to take a look at database explorer, a sort of albumlist panel but that allows multiple trees (in the same view inside the same panel):

+by album
+by artist
+by rating
blablabla

BTW, one little request (another one, sorry ):
- 'Add to playlist on double-click' option (I like it more than the send option).

Anyway: thanks for everything! this plugin is very cool.
  • Last Edit: 02 December, 2004, 03:53:32 PM by jkwarras

  • cwbowron
  • [*][*][*][*][*]
foo_playlist_tree
Reply #54
Quote
BTW, one little request (another one, sorry ):
- 'Add to playlist on double-click' option (I like it more than the send option).

Anyway: thanks for everything! this plugin is very cool.
[a href="index.php?act=findpost&pid=257442"][{POST_SNAPBACK}][/a]


I added 4 options for double click { do nothing, send to playlist, add to playlist, create new playlist}
There used to be a link to my website here.

  • jkwarras
  • [*][*][*][*][*]
foo_playlist_tree
Reply #55
Quote
Quote
BTW, one little request (another one, sorry ):
- 'Add to playlist on double-click' option (I like it more than the send option).

Anyway: thanks for everything! this plugin is very cool.
[a href="index.php?act=findpost&pid=257442"][{POST_SNAPBACK}][/a]


I added 4 options for double click { do nothing, send to playlist, add to playlist, create new playlist}
[a href="index.php?act=findpost&pid=257458"][{POST_SNAPBACK}][/a]

Oh my God! You're really quick man. Thanks a lot.
  • Last Edit: 02 December, 2004, 05:26:43 PM by jkwarras

  • Genesis
  • [*]
foo_playlist_tree
Reply #56
Do you have any idea why foobar justs exits when loading a large batch of albums (I posted the faliure code earlier).

  • jkwarras
  • [*][*][*][*][*]
foo_playlist_tree
Reply #57
Quote
not exactly, i thought that it would be usefull to implement this feature in exactly the same way it is implemented in album list panel. i.e. you create a folder, let's say 'live performances' and then in the properties for this folder you paste a formating string which specifies that files with the tag TYPE=live appear in this folder, and are automagically sorted into further folders and subfolders, according to one's liking (one of mine would be artist\date-album\tracktitle). so basically it boils down to putting the functionality of album list panel into playlist tree (panel?)


I think this is the best option to have, to create custom folders and be able to specify formatting strings that apply to this folders and subfolders. For ex. a playlist tree could look like this:

+ by Artist
+ by Album
+ by Date
+ by Genre/Styles
+ by Moods
--+ Tempo
--+ Tunes
--+ Situation
+ by Rating
--+ No rating
--+ Favorites
--+ *****
--+ ****
--+ ***
--+ **
--+ *
+ My Top Songs
+ All time favorites

In my example all folders until 'My Top songs' are automaticaly (+ updated) sorted by a formatting string. But in the case of Mood (or rating) I woudl love the possibility to create different subfolders each one with his own formatting string (that fits under the mood definition but are a different tag). This is actually not possible with the album list panel or database explorer panel (with the last one, you can have different trees with a formatting string but that's it, you can't have subtrees with different fromatting strings calling different tags).

Last ones are custom folders that I woudl create for my top songs and all time favorites.

Hope this explanation makes sens and explains +- the use of such an implementation

A suggestion (for the actual panel): Make option to disable displaying total time and MB at left side of the tree.

Edit: I'm sure someone is going to request it soon or later  Could you please think about updating the plugin for last version of columns ui (beta 4, apparently has changed something that breaks compatibility with panels for previous versions).
  • Last Edit: 03 December, 2004, 07:06:32 AM by jkwarras

  • phwip
  • [*][*][*][*]
  • Members (Donating)
foo_playlist_tree
Reply #58
Thanks for a very useful component.

Quote
A suggestion (for the actual panel): Make option to disable displaying total time and MB at left side of the tree.
[a href="index.php?act=findpost&pid=257558"][{POST_SNAPBACK}][/a]


I also would like to be able to hide the time and size stats.  I presume there is not already some way to do this?

Also I would like the playlist tree to fill up the available space: currently there is a grey area a few pixels wide on the left hand side that doesn't seem to do anything.  And I am also unsure of the purpose of the progress bar at the bottom of the panel.

  • jkwarras
  • [*][*][*][*][*]
foo_playlist_tree
Reply #59
Quote
And I am also unsure of the purpose of the progress bar at the bottom of the panel.
[{POST_SNAPBACK}][/a]

I think that the answer is here:
[a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=29435&view=findpost&p=255971]http://www.hydrogenaudio.org/forums/index....ndpost&p=255971[/url]

I think it display the progress of loading traks into the playlist tree. Dunno.

  • phwip
  • [*][*][*][*]
  • Members (Donating)
foo_playlist_tree
Reply #60
Quote
I think that the answer is here:
http://www.hydrogenaudio.org/forums/index....ndpost&p=255971

I think it display the progress of loading traks into the playlist tree. Dunno.
[a href="index.php?act=findpost&pid=257572"][{POST_SNAPBACK}][/a]


Thanks.  I had read that but before I actually started using the component.  Brain like a sieve 

That begin the case, is there any way to hide it?  If not, another request...

  • jkwarras
  • [*][*][*][*][*]
foo_playlist_tree
Reply #61
@cwbowron: Maybe you can add the component in the Officical fb2k 3rd party components. and maybe edit the first post of this topic pointing to the permanent link to get the component (+ screenshot, etc...). This way people will have an overview of the plugin very quickly
  • Last Edit: 03 December, 2004, 08:44:20 AM by jkwarras

  • witt
  • [*][*][*]
foo_playlist_tree
Reply #62
foo_playlist_tree still lacks Unicode support... 
foobar2000 Wiki for Japanese Users
http://foobar.s53.xrea.com/fbwiki/

  • cwbowron
  • [*][*][*][*][*]
foo_playlist_tree
Reply #63
Latest version uploaded this morning supports customizable display name for folders.  From the readme file:

   You can customize the way folders are displayed.  Use %name% for name, %size% for total file size, and %length% for play length.  This is a simple textual replacement....

I would be happy to improve the unicode support for the playlist if some other developers could give me some pointers on unicode support in foobar2000.

I would like to upload the program to the 3rd party plugin site mentioned.  I tried to signup today to create an account but as of yet have not received the confirmation email.

I've begun prelimary work on dynamic playlists.  I'm planning on implementing them in the following way:

You create a dynamic playlist by giving condition, i.e. "$strcmp(%artist%,Johnny Cash)" and selecting which display mode this playlist will use, i.e.  "%album%|%title"

This way you can have it be an entire view of your files in a particular format by using 1 as the condition.

To Genesis:
    Is the problem when you are loading a collection or dropping files or what?  If it's loading a previously made collection perhaps it has been corrupted.
There used to be a link to my website here.

  • jkwarras
  • [*][*][*][*][*]
foo_playlist_tree
Reply #64
Quote
Latest version uploaded this morning supports customizable display name for folders.




Quote
I would be happy to improve the unicode support for the playlist if some other developers could give me some pointers on unicode support in foobar2000.

Maybe you can ask in the developpement forum...

Quote
I would like to upload the program to the 3rd party plugin site mentioned.  I tried to signup today to create an account but as of yet have not received the confirmation email.

Try asking here:
http://www.hydrogenaudio.org/forums/index....opic=11222&st=0

Quote
I've begun prelimary work on dynamic playlists.  I'm planning on implementing them in the following way:

You create a dynamic playlist by giving condition, i.e. "$strcmp(%artist%,Johnny Cash)" and selecting which display mode this playlist will use, i.e.  "%album%|%title"


hmmm... let's see if I understand. If for ex. I want to do a simple %artist%|%album%|%title% as a subtree would it be possible in your approach? Will something like $if2(%album artist%,%artist%) or $if(%artist%) [these are really widely used scripts in foobar] work as a 1º condition? 

BTW: Will your pnale have an option to link to the database? This way if you restrict your database to a directory and scan it, you define some folders with conditions then you don't have to drag your library into the panel. Maybe you're already thought about that and I'm talking bullshit...
  • Last Edit: 03 December, 2004, 11:09:41 AM by jkwarras

  • jkwarras
  • [*][*][*][*][*]
foo_playlist_tree
Reply #65
ops! Last version of your plugin: I'm getting a zip with only msvcrtd.dll inside.

  • spase
  • [*][*][*][*][*]
foo_playlist_tree
Reply #66
afaik it already has a "link to the database," as if you change the tags of some files in the playlist tree and press refresh, it updates the display of the files.

  • cwbowron
  • [*][*][*][*][*]
foo_playlist_tree
Reply #67
Quote
hmmm... let's see if I understand. If for ex. I want to do a simple %artist%|%album%|%title% as a subtree would it be possible in your approach? Will something like $if2(%album artist%,%artist%) or $if(%artist%) [these are really widely used scripts in foobar] work as a 1º condition? 

BTW: Will your pnale have an option to link to the database? This way if you restrict your database to a directory and scan it, you define some folders with conditions then you don't have to drag your library into the panel. Maybe you're already thought about that and I'm talking bullshit...
[a href="index.php?act=findpost&pid=257596"][{POST_SNAPBACK}][/a]


I fixed the broken zip file at the site... must have messed up when uploading it this morning...

Yes, you can have a subtree that is %artist%|%album|%title% with my approach... think of it this way, the first layer is a filter so if you want everything in it you just have the filter something static that is always true, or in this case you could just have it if(%artist) or whatever so only items that actually have the artist tag get picked up...

I'm linking the to database... it scans all the files in the database looking for matches...
There used to be a link to my website here.

  • jkwarras
  • [*][*][*][*][*]
foo_playlist_tree
Reply #68
Quote
Yes, you can have a subtree that is %artist%|%album|%title% with my approach... think of it this way, the first layer is a filter so if you want everything in it you just have the filter something static that is always true, or in this case you could just have it if(%artist) or whatever so only items that actually have the artist tag get picked up...

Excellent news

Quote
I'm linking the to database... it scans all the files in the database looking for matches...
[a href="index.php?act=findpost&pid=257617"][{POST_SNAPBACK}][/a]

Great, looking forward for updates
  • Last Edit: 03 December, 2004, 01:24:25 PM by jkwarras

  • Genesis
  • [*]
foo_playlist_tree
Reply #69
Quote
To Genesis:
    Is the problem when you are loading a collection or dropping files or what?  If it's loading a previously made collection perhaps it has been corrupted.
[a href="index.php?act=findpost&pid=257595"][{POST_SNAPBACK}][/a]


I apologize for not expressing my problem thorougly enough

The problem occurs when i try to drop a folder containing many other folders with albums in them from explorer. I am creating the collection for the first time so to say. I'll try the new version and see if it works better. It didn't work

  • cwbowron
  • [*][*][*][*][*]
foo_playlist_tree
Reply #70
Quote
Quote
To Genesis:
    Is the problem when you are loading a collection or dropping files or what?  If it's loading a previously made collection perhaps it has been corrupted.
[a href="index.php?act=findpost&pid=257595"][{POST_SNAPBACK}][/a]


I apologize for not expressing my problem thorougly enough

The problem occurs when i try to drop a folder containing many other folders with albums in them from explorer. I am creating the collection for the first time so to say. I'll try the new version and see if it works better. It didn't work
[a href="index.php?act=findpost&pid=257645"][{POST_SNAPBACK}][/a]


If you get a chance, try to break it down into smaller sets of files and see if it is one particular folder/file thats breaking it or just the sheer volume of files...
There used to be a link to my website here.

  • cwbowron
  • [*][*][*][*][*]
foo_playlist_tree
Reply #71
Dynamic Playlists are in. 

The way I have implemented them appears pretty slow though, take a look and let me know what you think... 

Here's how they work, from the readme (it sounds more complicated than it is)

      I'm working on dynamic folders.  Dynamic folders work by having a query
      string that acts as a filter.  Then there is a query_display format string
      that will seperate all the positive matches in subfolders of the query.
      The default display format will be used unless the display format for an
      individual folder has been changed.  When you save a collection with dynamic
      playlists the playlist should be populated when you load it.

      Example of use:
      
      From the right click menu select Add Dynamic Folder

      Enter the Name Johnny Cash

      Right Click in the new Dynamic Folder and select Edit Query

      Enter the Query String $strcmp(%artist%,Johnny Cash)

      All your Johnny Cash file will show up under the query

      Right click on Edit Display and Enter:

      %artist%|%album%|%title%

      a subfolder called johnny cash will show up with subfolders for each
      album, then the actual files.  The actual display mode is not quite right
      yet, so it will use the default file display mode for normal files.
      (i.e. the %title$ in the above string won't effect the display)

      Dont add anything to a query folder (dont drop other folders there, etc)
      because on the next refresh it will be gone.
There used to be a link to my website here.

  • jkwarras
  • [*][*][*][*][*]
foo_playlist_tree
Reply #72
Quote
Dynamic Playlists are in. 

The way I have implemented them appears pretty slow though, take a look and let me know what you think...  [a href="index.php?act=findpost&pid=257672"][{POST_SNAPBACK}][/a]

Thanks! I'll play with it right away

  • stroke
  • [*][*]
foo_playlist_tree
Reply #73
Quote
Dynamic Playlists are in. 

The way I have implemented them appears pretty slow though, take a look and let me know what you think... 
[a href="index.php?act=findpost&pid=257672"][{POST_SNAPBACK}][/a]

wow! it's alive! it's working! it's great! and it's not so slow at all. of course it could be faster, but i can live with the current speed. if anything can be done to speed the process up it would be more than welcome, but as i said it's fast enough. i guess it's a kind of a pleasure watching the plugin's hard work digesting my music collection

however i find it 'slightly'  uncomfortable to acces playlist tree when i have any other program running in maximized mode, even foobar. would it be possible to have more options, like make it appear as a panel, or display in icon and title in taskbar, just like regular software does, or the possibility to ALT+TAB to it.

you wrote that one should not embed regular collection folders within dynamic folders, is the oposite a valid option? foobar crashed when i tried embedding dynamic folder within a static one.

is it possible to use %tracknumber% in the display string? it does not work for me

that's all i can think about right now. i'll keep experimenting. tomorrow (tomorrow comes today, grhhh!)
thank you for your work on the plugin
I felt weak, perhaps I was.

  • spase
  • [*][*][*][*][*]
foo_playlist_tree
Reply #74
afaik it used to be a panel.  maybe he hasn't updated to the new UIE API

(he certainly wouldnt be the only one)