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
cwbowron
QUOTE(stroke @ Dec 30 2004, 02:37 PM)
QUOTE(cwbowron @ Dec 30 2004, 08:21 PM)
I just wanted to post a preview of something I am working on.  I am trying to get it so that there is a seperate panel for browsing the selected tree node.  Here's a screenshot:

http://www.bowron.us/foobar/prev.png
*


i'd love to take a look, but the link is dead sad.gif
*


Fixed it...

my website has had some issues today...
cwbowron
QUOTE(cwbowron @ Dec 30 2004, 03:11 PM)
Fixed it...

my website has had some issues today...
*


I just uploaded a new version of playlist tree that implements an optional playlist tree browser panel. If the panel is not active, the playlist tree operates as before, but if you have the playlist tree browser panel active, the selected node will send its contents to the browser panel.

To get a similar layout to how my preview screen shot: (from the readme.txt)

--- How to get Playlist Tree & Browser to appear above playlist ---
(i.e. to look like this: http://www.bowron.us/foobar/prev.png)

In under the columns ui preferences, select the other tab, check the box marked [x] List all toolbars in the toolbars selection.

After saving that, right click on your toolbar and select Playlist Tree under Panels, you can then move the panel around to where you want it. You add the playlist tree browser in the same way. If the panels are too tall or too short you can adjust the height of the panels in the Playlist Tree preferences under Browser Min Height. You may have to restart foobar2000 for the new settings to adjust.
jkwarras
QUOTE(cwbowron @ Dec 30 2004, 01:46 PM)
--- How to get Playlist Tree & Browser to appear above playlist ---
(i.e. to look like this: http://www.bowron.us/foobar/prev.png)
*

Thanks you! I'll test it next year wink.gif

Happy new year.
spase
I am not sure the panels resize to the right values. Either yours arent using the same measurements as the tabbed panel stack, or either playlist tree or panel stack recieves the wrong value for resizing, because they do not resize correctly. It seems the playlist tree is always larger than the tabbed panel stack at the same given value.

EDIT: oh and also, it would be good to be able to have double clicking a track in the browser window to do something.
cwbowron
I just uploaded a new version that implements multi columns in the browser panel. From the readme.txt:

browser columns mode

Fields are seperated by '|' in the string. For example to get a 3 column display with artist, title and album, set the browser format to "%artist%|%title%|%album%" and the browser headers to "Artist|Title|Album".

The way I implement my minimum height is a little different than the way foo_uie_tabs does it, so the actual height is different if the values are the same.
81x
Hi cwbowron

Thanx for adding 'expand/collapse' to the double click options smile.gif

Had a couple of requests:

1) The ability to change the middle mouse buttons function from 'send to new playlist' to whatever (in my case 'send to playlist').

2) Make the 'Refresh Query' checkbox option apply to all ways of getting the query to the playlist. Middle clicking and Right click context menus (send to, add to, new) not just double clicking.

3) An option similar to the album list panels 'process keyboard shorcuts'

And again thanx for the plugin, happy new year.
amiti
Hello cwbowron ,

%systemdate% doesn't seem to work for me . i tries writing in the query : '$sub(%systemdate%,%added%) LESS 8900' or even tried using '$substr(%systemdate%,5,6)' for months refference but nothing worked.

i am using windows xp sp2 ,foobar2k 8.3 and lastest playlist tree plugin.

thank you and Happy new year.
ephemeros
Hi cwbowron!
Today I started toying with the Playlist Tree; took some time getting started but must say that I'm _very_ impressed! smile.gif

There is one major drawback for me: startup time sad.gif
using Albumlist
CODE
INFO (CORE) : startup time: 1352 ms

mem. footprint: 15.7 MB

using Playlist tree
CODE
INFO (foo_playlist_tree) : Elapsed Time Loading: 0 ms

INFO (foo_playlist_tree) : populate: 1562 ms

INFO (foo_playlist_tree) : populate: 3735 ms

INFO (foo_playlist_tree) : populate: 1512 ms

INFO (foo_playlist_tree) : populate: 4056 ms

INFO (CORE) : startup time: 12518 ms

mem. footprint 24.4MB

It really takes too long for foobar to show up.. This is using only 2 queries, with 40GB music in database (+- 8000 files)
CODE
0=All
-
1=By genre
q$directory(%_path%,2)|%_directoryname%|$if($stricmp($directory(%_path%,2),'various'),[%artist% - ]$if2(%title%,%_filename%)[ '('%date%')'],[[%disc%.][$num(%tracknumber%,2).] ]$if2(%title%,%_filename%)[ $if($stricmp(%artist%,$left(%_directoryname%,$len(%artist%))),, '//'%artist%)])$directory(%_path%,2)|%_directoryname%|$if($stricmp($directory(%_path%,2),'various'),[%artist% - ]$if2(%title%,%_filename%)[ '('%date%')'],[[%disc%.][$num(%tracknumber%,2).] ]$if2(%title%,%_filename%)[ $if($stricmp(%artist%,$left(%_directoryname%,$len(%artist%))),, '//'%artist%)])%default%T
1=Never played
Qplay_stamp MISSING%artist%|%title%%default%T

Can something be done to speed up loading time?

Another 'problem' is more a feature request. Possibility to change colours for the Tree browser. ATM it just looks too ugly in my configuration unsure.gif

Sorry I didn't read the whole thread, I might be repeating known requests..
Anyway, thanks a lot!
Cheers
eph

edit: BTW, that first query is the same as used in my Albumlist config.
mazy
i guess there can't be much done (maybe some sort of background loading but i'm not sure whether foobar supports it).

there can be difference between normal / epg query format ... i haven't tested it though

i have manual query refresh setting on ...
cwbowron
QUOTE(ephemeros @ Jan 2 2005, 11:32 AM)
Hi cwbowron!
Today I started toying with the Playlist Tree; took some time getting started but must say that I'm _very_ impressed!  smile.gif

There is one major drawback for me: startup time  sad.gif
using Albumlist
CODE
INFO (CORE) : startup time: 1352 ms

mem. footprint: 15.7 MB

using Playlist tree
CODE
INFO (foo_playlist_tree) : Elapsed Time Loading: 0 ms

INFO (foo_playlist_tree) : populate: 1562 ms

INFO (foo_playlist_tree) : populate: 3735 ms

INFO (foo_playlist_tree) : populate: 1512 ms

INFO (foo_playlist_tree) : populate: 4056 ms

INFO (CORE) : startup time: 12518 ms

mem. footprint 24.4MB

It really takes too long for foobar to show up.. This is using only 2 queries, with 40GB music in database (+- 8000 files)
CODE
0=All
-
1=By genre
q$directory(%_path%,2)|%_directoryname%|$if($stricmp($directory(%_path%,2),'various'),[%artist% - ]$if2(%title%,%_filename%)[ '('%date%')'],[[%disc%.][$num(%tracknumber%,2).] ]$if2(%title%,%_filename%)[ $if($stricmp(%artist%,$left(%_directoryname%,$len(%artist%))),, '//'%artist%)])$directory(%_path%,2)|%_directoryname%|$if($stricmp($directory(%_path%,2),'various'),[%artist% - ]$if2(%title%,%_filename%)[ '('%date%')'],[[%disc%.][$num(%tracknumber%,2).] ]$if2(%title%,%_filename%)[ $if($stricmp(%artist%,$left(%_directoryname%,$len(%artist%))),, '//'%artist%)])%default%T
1=Never played
Qplay_stamp MISSING%artist%|%title%%default%T

Can something be done to speed up loading time?

Another 'problem' is more a feature request. Possibility to change colours for the Tree browser. ATM it just looks too ugly in my configuration  unsure.gif

Sorry I didn't read the whole thread, I might be repeating known requests..
Anyway, thanks a lot!
Cheers
eph

edit: BTW, that first query is the same as used in my Albumlist config.
*


The latest version uses the same color for the browser as you selected for the playlist tree... I am considering adding seperate color preferences for the browser....

There is an option called "Manual Query Refresh" if this is checked, queries will not be populated when you start foobar2000, only when you manually refresh them, so your foobar2k will load more quickly, but when you need to refresh the query it will take the time... It looks like it might be refreshing each query twice in your configuration which I will look into...

EDIT: I just uploaded a new version that should eliminate the double query population.
cwbowron
QUOTE(amiti @ Jan 2 2005, 05:12 AM)
Hello cwbowron ,

%systemdate% doesn't seem to work for me . i tries writing in the query : '$sub(%systemdate%,%added%) LESS 8900' or even tried using '$substr(%systemdate%,5,6)' for months refference but nothing worked.

i am using windows xp sp2 ,foobar2k 8.3 and lastest playlist tree plugin.

thank you and Happy new year.
*


Fixed it... the problem was that I hadn't forced the day and month to two digits, so the string was returning 200512 instead of 20050102.
ephemeros
QUOTE(cwbowron @ Jan 2 2005, 07:17 PM)
There is an option called "Manual Query Refresh"  if this is checked, queries will not be populated when you start foobar2000, only when you manually refresh them, so your foobar2k will load more quickly, but when you need to refresh the query it will take the time...


Yes but that would disable dynamic playlists like '%artist% IS $playing(%artist%)' wich is IMO one of the main reasons to use the Playlist Tree plugin.. maybe an option per query? I was just wondering why there is this big speed difference with the Albumlist plugin...

edit: Wow thanks already for your edit/upload wink.gif
edit2: INFO (CORE) : startup time: 6550 ms cool.gif
..but I see this '%artist% IS $playing(%artist%)' doesn't update on song change as I envisaged it. oh well rolleyes.gif
ephemeros
While we're at it.. rolleyes.gif

QUOTE(cwbowron @ Jan 2 2005, 07:17 PM)
The latest version uses the same color for the browser as you selected for the playlist tree... I am considering adding seperate color preferences for the browser....
*

Yea I didn't notice because playlist tree changes are immediate, while the browser window needs a restart. Maybe you are already aware..

QUOTE(cwbowron @ Jan 2 2005, 07:17 PM)
There is an option called "Manual Query Refresh"  if this is checked, queries will not be populated when you start foobar2000, only when you manually refresh them, so your foobar2k will load more quickly, but when you need to refresh the query it will take the time...
*

QUOTE
..but I see this '%artist% IS $playing(%artist%)' doesn't update on song change as I envisaged it

Maybe a better idea would be (an option to) to auto-refresh queries containing $playing(%tag%)? Wouldn't interfere with normal/manual query refreshes.

Big Thanks!
eph
rocketsauce
The browser is a great addition to this plugin. However, when I have it enabled I get an error when closing foobar:

CODE

Illegal operation:
Code: C0000005h, flags: 00000000h, address: 7800D0B9h
Access violation, operation: write, address: 0017008Bh
Call path:
WinMain=>app_shutdown
This is the first crash logged by this instance.
Code bytes (7800D0B9h):
7800D079h:  8B 4B 04 3B 4B 08 0F 85 76 02 00 00 83 FA 20 0F
7800D089h:  83 43 02 00 00 BB 00 00 00 80 8B CA D3 EB 8D 4C
7800D099h:  02 04 F7 D3 21 5C B8 44 FE 09 75 05 8B 4D 08 21
7800D0A9h:  19 8B 4D FC 8B 5D 0C 8B 53 08 8B 5B 04 03 4D F4
7800D0B9h:  89 5A 04 8B 55 0C 89 4D FC 8B 5A 04 8B 52 08 89
7800D0C9h:  53 08 8B D1 C1 FA 04 4A 83 FA 3F 76 03 6A 3F 5A
7800D0D9h:  8B 5D F8 83 E3 01 89 5D F4 0F 85 43 02 00 00 2B
7800D0E9h:  75 F8 8B 5D F8 C1 FB 04 6A 3F 89 75 0C 4B 5E 3B
Stack (0068FA80h):
0068FA60h:  0000016F 00010202 0068FA80 00000177
0068FA70h:  0000014F 00000A20 014FB013 0000003F
0068FA80h:  008788A4 008788A4 0128742C 006A3420
0068FA90h:  13240000 00000061 00000002 0068FAE0
0068FAA0h:  7800CC1C 007A000C 008788A2 008788A4
0068FAB0h:  01287428 0128742C 01287428 0128742C
0068FAC0h:  78001390 007A000C 01286A50 0068F8B0
0068FAD0h:  0068FCE0 7800EF03 7802E260 00000000
0068FAE0h:  78001390 7800578C 008788A4 01271C66
0068FAF0h:  008788A4 00000000 008786D4 0068FB28
0068FB00h:  01270000 0127FEF1 00000000 0127FF86
0068FB10h:  01270000 00000000 00000000 00000000
0068FB20h:  01270000 819D7698 0068FCF0 BFF7DDD6
0068FB30h:  01270000 00000001 00000000 00000000
0068FB40h:  01270000 819D7698 0044424C 00000000
0068FB50h:  81A0B0A8 C9681190 819D7654 BFF81627
0068FB60h:  81A0ABB4 00000000 81A0ABB6 C9681190
0068FB70h:  BFF713EE 0000016F BFF7A2E3 000006B7
0068FB80h:  0068FBC0 00007800 006B6F4C 00000804
0068FB90h:  BFF7A3A0 006A0000 006B7750 00007800
Registers:
EAX: 006A0078, EBX: 88800128, ECX: 13240002, EDX: 00170087
ESI: 008788A0, EDI: 00000019, EBP: 0068FA9C, ESP: 0068FA80
Failed to get module/symbol info.

Version info:
foobar2000 v0.8.3
ANSI


Thanks!

Rob
topdownjimmy
I still seem to be having trouble with %systemdate%. This query yields 0 results:

CODE
$substr(%PLAY_DATE%,3,4) IS $substr(%systemdate%,5,6)


This code, however, works perfectly:

CODE
$substr(%PLAY_DATE%,3,4) IS 01


Assuming my system clock is set correctly (and it is), shouldn't $substr(%systemdate%,5,6) be 01? Can someone let me know what I'm doing wrong? Thanks.
cwbowron
QUOTE(topdownjimmy @ Jan 2 2005, 03:33 PM)
I still seem to be having trouble with %systemdate%.  This query yields 0 results:

CODE
$substr(%PLAY_DATE%,3,4) IS $substr(%systemdate%,5,6)


This code, however, works perfectly:

CODE
$substr(%PLAY_DATE%,3,4) IS 01


Assuming my system clock is set correctly (and it is), shouldn't $substr(%systemdate%,5,6) be 01?  Can someone let me know what I'm doing wrong?  Thanks.
*


Take a look at your console output. the latest version should show the string before and after the systemdate replacement. There should be a line that says:

system date query before: bla bla bla %systemdate% blah

system date query after: bla bla bla 20050102 blah

see if that looks right
topdownjimmy
Here is what the console shows:

CODE

INFO (foo_playlist_tree) : systemdate query before:: $substr(%PLAY_DATE%,3,4) IS $substr(%systemdate%,5,6)

INFO (foo_playlist_tree) : systemdate query after:: $substr(%PLAY_DATE%,3,4) IS $substr(20050102,5,6)

INFO (foo_playlist_tree) : systemdate query before:: $substr(%PLAY_DATE%,3,4) IS $substr(%systemdate%,5,6)

INFO (foo_playlist_tree) : systemdate query after:: $substr(%PLAY_DATE%,3,4) IS $substr(20050102,5,6)

INFO (foo_playlist_tree) : populate: 20 ms


And yet the query still gives nothing...
cwbowron
QUOTE(topdownjimmy @ Jan 2 2005, 03:52 PM)
Here is what the console shows:

CODE

INFO (foo_playlist_tree) : systemdate query before:: $substr(%PLAY_DATE%,3,4) IS $substr(%systemdate%,5,6)

INFO (foo_playlist_tree) : systemdate query after:: $substr(%PLAY_DATE%,3,4) IS $substr(20050102,5,6)

INFO (foo_playlist_tree) : systemdate query before:: $substr(%PLAY_DATE%,3,4) IS $substr(%systemdate%,5,6)

INFO (foo_playlist_tree) : systemdate query after:: $substr(%PLAY_DATE%,3,4) IS $substr(20050102,5,6)

INFO (foo_playlist_tree) : populate: 20 ms


And yet the query still gives nothing...
*


try adding double or single quoates around it so its $substr("%systemdate%",5,6) or $substr('%systemdate%',5,6)
topdownjimmy
no, neither of those work...
cwbowron
QUOTE(cwbowron @ Dec 31 2004, 04:13 PM)
The way I implement my minimum height is a little different than the way foo_uie_tabs does it, so the actual height is different if the values are the same.
*


I just uploaded a new version that implements minimum height in a way that should be compatible with foo_uie_tabs. I believe the scale will be the same now.
topdownjimmy
Believe I may have a bug on my hands...

I like to have a query for music I haven't sorted yet, i.e., files in a "_download" directory:

CODE
%_directoryname% IS _download


The display format I use is:

CODE
[%artist% - %album%]|%_filename%


I'm trying to have albums listed first, followed by the untagged files listed by filename. This displays correctly on the playlist tree, but when I select one of the untagged files in the playlist tree, the wrong file is selected in the playlist tree browser:

user posted image

What might the cause be?
topdownjimmy
Another thing that would be great (not sure if this has been suggested) is a customizable playlist tree browser based on which query you're looking at - for instance, if you have a query that's set up specifically to display only singles, you won't need an "Album" column.
cwbowron
QUOTE(topdownjimmy @ Jan 3 2005, 11:25 AM)
I'm trying to have albums listed first, followed by the untagged files listed by filename.  This displays correctly on the playlist tree, but when I select one of the untagged files in the playlist tree, the wrong file is selected in the playlist tree browser:

What might the cause be?
*


Try getting the latest version and see if the problem still shows up, I noticed a similar problem last night and fixed it...
Genesis
I asked about sorting on a files last modified in explorer but got no response on this. I would like to show files in the order i have downloaded them. Is this doable?
cwbowron
QUOTE(Genesis @ Jan 3 2005, 03:27 PM)
I asked about sorting on a files last modified in explorer but got no response on this. I would like to show files in the order i have downloaded them. Is this doable?
*


I dont think there is any way to do this now. The only way I could see it working is if I added a special tag for the tree that inserts the date, but I'd rather not add more fake tags unless it pertains to a feature of the playlist tree. ($sum and $avg have meaning in the tree but nowhere else, but a tag like %modified_date% would be something that should be in the core formatting not an add on for one particular application)
spase
would it be possible to configure double clicking a track in the browser list to do something (like play, or add to playlist, or both?)
cwbowron
QUOTE(spase @ Jan 3 2005, 04:32 PM)
would it be possible to configure double clicking a track in the browser list to do something (like play, or add to playlist, or both?)
*


I might make it configurable eventually, but for now double clicking does the following actions (from readme.txt)

right click:context menu

left click: Sets the focus of the playlist to the current item in the browser if it is in the playlist

double click: Send active list to playlist and play selected item

control dbl click: Add selected item to playlist

shift dbl click: Add active list to playlist
marcomk
Hi,

I was away for just a couple of weeks and I found great additions to this plugin... smile.gif The browser is the main one and I have to say it's a great idea. So you can browse your music without messing up your active playlist...

Making a new browser window implies a huge amount of work, I guess - fonts, columns, background etc. have to be customizable, drag and drop is needed, etc. I'm sure cwbowron has already planned all these features and probably musicmusic's columns ui is a great help for implementing them. However, I found out an issue which is probably not very easy to solve...

Here it is: if you browse your files in the main playlist window, other plugins like Track info or Album art could visualize informations about the selected track with the "follow cursor" feature. However, if you browse your files in a specific browsing window, Track info and Album art don't respond unless you browse files which are already present in the active playlist.

I know this behaviour does not depend entirely on Playlist tree, still it raises some questions about the way the plugins communicate with each other. It seems that plugins can only react to events that occur in the main playlist area and not in other plugins... At which level does this limitation exist? In the core? In Columns UI? Is some kind of new standard needed?
Maybe this topic has to be raised in a new thread...

Just a little request regarding the core of Playlist tree now... smile.gif

When I expand/collapse a branch in the tree, everything is fine as long as the operation does not make appear/disappear scrollbars. If this happens, the background flickers in an annoying way. This is more obvious if the Playlist tree background is set to a dark color.
As far as I can understand, when I expand/collapse a branch in a way that a scrollbar has to appear/disappear, first the background turns gray (sidebar's original background), then the scrollbar appears, then the background turns blue (my Playlist tree background custom color), then the new tree appears.
In Albumlist the process is smoother: the background doesn't seem to turn gray at all.

Thanks for the great work and happy new year wink.gif
cwbowron
QUOTE(marcomk @ Jan 4 2005, 11:39 AM)
Making a new browser window implies a huge amount of work, I guess - fonts, columns, background etc. have to be customizable, drag and drop is needed, etc. I'm sure cwbowron has already planned all these features and probably musicmusic's columns ui is a great help for implementing them. However, I found out an issue which is probably not very easy to solve...
*


Yes, making a really nice browser would take a lot of work, and unfortunately I probably don't have the time necessary to do it... I would like to make it customizable with all the bells and whistles of column ui, but it is not likely..

If someone else would like to make a coolor browser, my code is available and I welcome it...

I think in the long run the best possibility would be to create a service that every plugin would be able to utilize and that way if someone wanted to create a better one it would be a matter if overriding a base class... If a browser service were added then any plugin that wanted to display a list of files could use the same browser....

QUOTE(marcomk @ Jan 4 2005, 11:39 AM)
When I expand/collapse a branch in the tree, everything is fine as long as the operation does not make appear/disappear scrollbars. If this happens, the background flickers in an annoying way. This is more obvious if the Playlist tree background is set to a dark color.
As far as I can understand, when I expand/collapse a branch in a way that a scrollbar has to appear/disappear, first the background turns gray (sidebar's original background), then the scrollbar appears, then the background turns blue (my Playlist tree background custom color), then the new tree appears.
*


I just uploaded a new version that I believe will solve the flicker issue...

QUOTE(marcomk @ Jan 4 2005, 11:39 AM)
Thanks for the great work and happy new year  wink.gif
*


Thank you, and happy new year to you as well.
ephemeros
Hi cwbowron, about the double query population bug: ATM I have 2 queries that use the $playing() command. On startup I get the following output;
CODE
INFO (foo_playlist_tree) : idx = -1, to = 5087
INFO (foo_playlist_tree) : now_playing = -1
INFO (foo_playlist_tree) : playback_cursor = -1
INFO (foo_playlist_tree) : Elapsed Time Loading: 0 ms
INFO (foo_playlist_tree) : populate: 2093 ms
INFO (foo_playlist_tree) : populate: 6359 ms
INFO (foo_playlist_tree) : Nothing playing
INFO (foo_playlist_tree) : Nothing playing
INFO (foo_playlist_tree) : populate: 1793 ms
INFO (foo_playlist_tree) : Nothing playing
INFO (foo_playlist_tree) : Nothing playing
INFO (foo_playlist_tree) : populate: 1011 ms
INFO (foo_playlist_tree) : populate: 30 ms
INFO (foo_playlist_tree) : populate: 40 ms
INFO (CORE) : startup time: 20650 ms

..is this normal behaviour? I do have a total of 6 queries.

Would it be possible to add a shortcut, i.e. F5, to refresh the current node? Would mean a great deal to me unsure.gif

Thanks!
eph
ephemeros
Just discovered another quirk:
With the album 300% Dynamite!, the playlist tree displays 300[SYNTAX ERROR IN FORMATTING STRING]... but I understand changing this probably has some less pleasant consequences sad.gif
cwbowron
QUOTE(ephemeros @ Jan 4 2005, 01:18 PM)
Hi cwbowron, about the double query population bug: ATM I have 2 queries that use the $playing() command. On startup I get the following output;
..is this normal behaviour? I do have a total of 6 queries.

Would it be possible to add a shortcut, i.e. F5, to refresh the current node? Would mean a great deal to me   unsure.gif
*


Yep, that is normal behaviour. Only 6 queries are populated. The reason that "Nothing playing" prints out a total of 4 times is that each query population gets the format string twice in the current implementation, but this should should have very little impact on the speed of the population.

I just uploaded a new version that offers a menu option for populating the current selection under Components->Playlist Tree->Refresh Selected which you can add as a global hotkey for whatever key you would like.

As for the 300% Dynamite quirk, Any folder name that has a $ or % in it will be run though the title formatting process... if this is a static folder you are making you can rename it with single quotes...
marcomk
QUOTE(cwbowron @ Jan 4 2005, 06:55 PM)
QUOTE(marcomk @ Jan 4 2005, 11:39 AM)

As far as I can understand, when I expand/collapse a branch in a way that a scrollbar has to appear/disappear, first the background turns gray (sidebar's original background), then the scrollbar appears, then the background turns blue (my Playlist tree background custom color), then the new tree appears.
*


I just uploaded a new version that I believe will solve the flicker issue...
*


Hi,

It's much better now, the gray background does not come up any more. smile.gif

There are still some minor cosmetic issues though. When you expand/collapse a branch which makes a scrollbar appear/disappear, the window border flickers for a while... The same thing happens if you resize the Playlist tree window. Albumlist panel doesn't seem to have this problem when resizing the window, expanding branches, etc.

Last little request: the gray background appears for a while when you refresh the tree. If the tree is very complex, the empty gray background stays for two-three seconds. Can you just leave the tree on?

Thanks again smile.gif
cwbowron
QUOTE(marcomk @ Jan 5 2005, 11:44 AM)
  It's much better now, the gray background does not come up any more.  smile.gif

There are still some minor cosmetic issues though. When you expand/collapse a branch which makes a scrollbar appear/disappear, the window border flickers for a while... The same thing happens if you resize the Playlist tree window. Albumlist panel doesn't seem to have this problem when resizing the window, expanding branches, etc.

Last little request: the gray background appears for a while when you refresh the tree. If the tree is very complex, the empty gray background stays for two-three seconds. Can you just leave the tree on?

Thanks again  smile.gif
*


I think I got the refresh tree issue solved... the tree should stay put while the queries are being refreshed, hopefully no more empy gray background...

The border flicker I'm not sure about... Being that its a rather minor issue, I'm probably not going to worry too much about it...
jkwarras
Hi cwbowron,

You've done a great job. I've been two weeks away and now I see that you've implemented a lot of new features, including a playlist browser, your plugin rocks dude smile.gif

I'm playing with some of the new features, mostly the playlist browser. Now some suggestions for that new feature wink.gif:

- Maybe adding a tab for the playlist tree browser inside the playlist tree preferences will be more comfortable. You'll also get more space for more options wink.gif

- Possibility to add options for double-click in the browser i.e. add to playlist, send to playlist, send to new playlist, etc... we have the shortcuts (control dbl click, etc...) but we all love to customize stuff, do we? wink.gif [Edit: Sorry, I've just seen that someone has already requested it]

- Possibility to disable autoresize columns. I like to have my columns size locked.

- Disable 'Sets the focus of the playlist to the current item in the browser if it is in the playlist'. I will like only to select it.

About other features:

- Dequeue: Great, thanks you very much, that's exactly what I was looking for smile.gif Just one thing, I've noticed that if you play one track, but you don't play it completely, the track remains in the playlist (which is normal, since you didn't played it completely) but after that if you select it again (in the active playlist) it will then disappear. It's this intended?

- $playing():

Is there a way to implement something that gets $playing() info into a query name? I.e. Feels like [%title% IS $playing(%title%)]

Possibility to auto-refresh individual queries could be great for this type of function. For ex. on track change.

- Playlist tree search: Possibility to remove 'cancel' button. It takes to much height and I don't know if it's really useful in the toolbar usage (in the panel it is because it closes the find window, but in the toolbar it doesn't close anything).
mazy
QUOTE(jkwarras @ Jan 5 2005, 07:56 PM)
- $playing():

Is there a way to implement something that gets $playing() info into a query name? I.e. Feels like [%title% IS $playing(%title%)]

Possibility to auto-refresh individual queries could be great for this type of function. For ex. on track change.
*

what do you mean exactly? for example i have query like %_directoryname% IS $playing(%_directoryname%) and it works like a charm, though i've requested features that would allow using that in query's name etc. atm there are some problems with parsing so i can't do all that i would like to do.

as for automatic refresh on track change for such queries - that has been requested by me too wink.gif (in a more general way)
marcomk
QUOTE(cwbowron @ Jan 5 2005, 06:48 PM)
The border flicker I'm not sure about... Being that its a rather minor issue, I'm probably not going to worry too much about it...
*


You're right, it's not a major issue, although it is more noticeble with a dark background... I hope this could go in your todo list anyway, even if with a low priority smile.gif

QUOTE(jkwarras @ Jan 5 2005, 07:56 PM)
- Playlist tree search: Possibility to remove 'cancel' button. It takes to much height and I don't know if it's really useful in the toolbar usage (in the panel it is because it closes the find window, but in the toolbar it doesn't close anything).


I second this... Also, I think the toolbar should be as simple as possible, with just one button. The kind of search selected could go in the preferences, maybe in a search tab. Otherwise, if you want to keep two buttons in the toolbar, maybe you could make an option in the preferences to set your default search... So that, if you hit enter after the keyword, you'll start your preferred search. smile.gif

I also noticed that if I search for a popular artist with the All button, the search takes quite a lot. This is mainly due to the fact that the search is done in the whole tree, which in my case replicates the database 5 or 6 times... If it's too much work to make the All button search the database instead of the tree, a workaround could be that you could set in the preferences in which node the All search has to operate... So you can set it to search just in one of your general views...

Thank you very much for solving the gray background issue and all my other requests!!! wink.gif
jkwarras
QUOTE(mazy @ Jan 5 2005, 11:14 AM)
what do you mean exactly?
*

I mean, I would like to create a static folder which will contain dynamic folders based on now playing track, and I would like that folder to be called 'Feels like "song title now playing"' If i.e. the song "Digital bath" is playing the folder should display 'Feels like "Digital Bath"' rolleyes.gif
cwbowron
QUOTE(jkwarras @ Jan 5 2005, 02:54 PM)
QUOTE(mazy @ Jan 5 2005, 11:14 AM)
what do you mean exactly?
*

I mean, I would like to create a static folder which will contain dynamic folders based on now playing track, and I would like that folder to be called 'Feels like "song title now playing"' If i.e. the song "Digital bath" is playing the folder should display 'Feels like "Digital Bath"' rolleyes.gif
*


I just uploaded a new version that should allow you to use $playing() in the title of a folder.
mazy
ok then, that was requested - titleformatting in folders / names. that's exactly what i want to do wink.gif

edit: oi, cwbowron, man i love you smile.gif
jkwarras
QUOTE(cwbowron @ Jan 5 2005, 12:03 PM)
I just uploaded a new version that should allow you to use $playing() in the title of a folder.
*

Thanks! smile.gif
ephemeros
Hi cwbowron,
Thanks for all your magic! cool.gif

QUOTE(cwbowron @ Jan 4 2005, 09:15 PM)
I just uploaded a new version that offers a menu option for populating the current selection under Components->Playlist Tree->Refresh Selected which you can add as a global hotkey for whatever key you would like.

Thanks smile.gif I noticed that the shortcut doesn't update the browser window though..

QUOTE
Possibility to auto-refresh individual queries could be great for this type of function. For ex. on track change.
*

Another vote rolleyes.gif

QUOTE
As for the 300% Dynamite quirk, Any folder name that has a $ or % in it will be run though the title formatting process... if this is a static folder you are making you can rename it with single quotes...
*

Nope it's in a query (full database).. what about only replacing a list of known commands, as for the tags, maybe only replace if the % sign is not followed by space/EOL?

QUOTE(jkwarras @ Jan 5 2005, 08:56 PM)
Dequeue: Great, thanks you very much, that's exactly what I was looking for smile.gif Just one thing, I've noticed that if you play one track, but you don't play it completely, the track remains in the playlist (which is normal, since you didn't played it completely) but after that if you select it again (in the active playlist) it will then disappear. It's this intended?

I wanted to comment on this before, because it doesn't only happen when skipping tracks, but I couldn't find an exact way to describe it. Try selecting the track after the one playing (also with shuffle on), now select the playing track. One of the tracks disappears. This is also repeatable after the playing track is already gone.. huh.gif
jkwarras
QUOTE(ephemeros @ Jan 6 2005, 02:47 AM)
I wanted to comment on this before, because it doesn't only happen when skipping tracks, but I couldn't find an exact way to describe it. Try selecting the track after the one playing (also with shuffle on), now select the playing track. One of the tracks disappears. This is also repeatable after the playing track is already gone..  huh.gif
*

It happens here too unsure.gif
cwbowron
QUOTE(ephemeros @ Jan 6 2005, 05:47 AM)
Thanks  smile.gif I noticed that the shortcut doesn't update the browser window though..


I just uploaded a new version that fixes this....

QUOTE
QUOTE
As for the 300% Dynamite quirk, Any folder name that has a $ or % in it will be run though the title formatting process... if this is a static folder you are making you can rename it with single quotes...
*

Nope it's in a query (full database).. what about only replacing a list of known commands, as for the tags, maybe only replace if the % sign is not followed by space/EOL?




Well, don't want to only replace on known commands in case the list of commands changes... but here's my suggestion: wrap your %album% tag in the query format with a $replace(%album%,'%',Percent) or $replace(%album%,'%', $char(39)'%'$char(39))... it should work as a work around to the problem..

QUOTE
QUOTE(jkwarras @ Jan 5 2005, 08:56 PM)
Dequeue: Great, thanks you very much, that's exactly what I was looking for smile.gif Just one thing, I've noticed that if you play one track, but you don't play it completely, the track remains in the playlist (which is normal, since you didn't played it completely) but after that if you select it again (in the active playlist) it will then disappear. It's this intended?

I wanted to comment on this before, because it doesn't only happen when skipping tracks, but I couldn't find an exact way to describe it. Try selecting the track after the one playing (also with shuffle on), now select the playing track. One of the tracks disappears. This is also repeatable after the playing track is already gone.. huh.gif
*


I'm doing a pretty half-assed implementation of the dequeue stuff, i think there is a better way to do it, which i will look into...
jkwarras
cwbowron,

Could it be possible to disable (or make an option) to not send to the browser the node content when you click (single click) on the + (expand) to expand/collapse a node? It slow down the expand/collapse function and if I want to really browse the content of the node I just have to single-click on the node itself (not the +) rolleyes.gif

Thanks.

BW: Last track on the playlist with dequeue function on isn't removed from the playlist.
jkwarras
QUOTE(cwbowron @ Jan 4 2005, 09:55 AM)
Yes, making a really nice browser would take a lot of work, and unfortunately I probably don't have the time necessary to do it... I would like to make it customizable with all the bells and whistles of column ui, but it is not likely..
*

I've just read that musicmusic is working on a new column UI build that will be implement the playlist window as a panel, I don't know if you could use it as a base for the playlist tree browser unsure.gif
http://www.hydrogenaudio.org/forums/index....ndpost&p=263335
cwbowron
QUOTE(jkwarras @ Jan 6 2005, 10:40 AM)
cwbowron,

Could it be possible to disable (or make an option) to not send to the browser the node content when you click (single click) on the + (expand) to expand/collapse a node? It slow down the expand/collapse function and if I want to really browse the content of the node I just have to single-click on the node itself (not the +)  rolleyes.gif

Thanks.

BW: Last track on the playlist with dequeue function on isn't removed from the playlist.
*


I just uploaded a new version that uses a different implementation for dequeue that should work better...

When I single click to expand/collapse a node it doesnt automatically send the content to the browser, only when i actually select the label... If my selected node is a child of the node I am collapsing then I do see the parent node getting selected when the child is no longer visible, but just randomly expanding/collapsing another node I do not have the same problem.
cwbowron
QUOTE(jkwarras @ Jan 5 2005, 01:56 PM)
- Possibility to disable autoresize columns. I like to have my columns size locked.

*


I just uploaded a new version that you can disable the resizing... the sizes are not saved between instances of the program though, so you may have to arrange them to your liking when you startup foobar2k or the browser.
cwbowron
QUOTE(ephemeros @ Jan 6 2005, 05:47 AM)
QUOTE
Possibility to auto-refresh individual queries could be great for this type of function. For ex. on track change.
*

Another vote rolleyes.gif
*


I just uploaded a new version that implements auto refreshing on tracks that use $playing()

to turn it on select Components->playlist tree->settings->auto refresh $playing

There might be some issues if auto-refresh is on and you delete a query node that is supposed to get updated, but I think I resolved the issue...
ephemeros
QUOTE(cwbowron @ Jan 7 2005, 12:22 AM)
I just uploaded a new version that implements auto refreshing on tracks that use $playing()
*

Your mother ever told you that you rock? w00t.gif
Thanks! smile.gif
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.