Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Columns UI (Read 4580610 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

Columns UI

Reply #3875
thx for the reply, yes because my ng playlist is looking a little bland at the moment... alternating line colours would be cool

 

Columns UI

Reply #3876
thx for the reply, yes because my ng playlist is looking a little bland at the moment... alternating line colours would be cool

Sub request... it would be really cool if you could change the background color of the group title line, as well as the font color. Then I would change the background to a dark gray with white font color.  If you like this idea musicmusic it would look better if it was possible to remove the line.

Columns UI

Reply #3877
I'm using foobar 0.95 beta 3 and columns ui 0.21 alpha 7 v2.

For some reason all the columns settings get deleted from playlist view repeatedly. When I fix them again, they get deleted.. I have no clue why.

Columns UI

Reply #3878
I'm using foobar 0.95 beta 3 and columns ui 0.21 alpha 7 v2.

For some reason all the columns settings get deleted from playlist view repeatedly. When I fix them again, they get deleted.. I have no clue why.

Hi,
Indeed I saw that myself, sorry about that.

If you close foobar2000 (or save the config file) with no Columns Playlist active (e.g. other UI or playlist view active) and with auto-sizing columns disabled the columns will get wiped.

The bug is fixed for the next version.

Thanks for the report.
.

Columns UI

Reply #3879
That's good to know.. and the way to circumvent it for now, by using auto sizing columns.

It would be also nice if the alignment settings in playlist view affected ng playlist column settings too. Now everyone gets aligned to left instead: http://hakkarainen.kuvat.fi/tempo/foobar0953.png

Of course $tab() works in columns, but not in column titles, like Artist etc.

Edit:

I suppose I've said this a couple of times already, but I'd like if album panel list remembered the scrollbar position. Currently it still resets to top every time I close foobar. That way I end up listening less of the albums which are on bottom of the list.. since I'm too lazy to scroll ;-)

Columns UI

Reply #3880
Sorry but it appears I am a bit late to the filter panel party. Is it possible to define the name of the playlist generated by the filter panels? I like to share a common main playlist between components and "Filter Results" isnt very flexible. I poked around a bit, read the faq, and searched the forum a few times and could not find any information regarding this.

Columns UI

Reply #3881
thx for the reply, yes because my ng playlist is looking a little bland at the moment... alternating line colours would be cool
Less is more ?

Anyway I have implemented customisable colours for next version  Because of the group headers getting in the way, it required some new stuff for proper alternating line colours, which will be more (or less ..) clear when it's released

Sub request... it would be really cool if you could change the background color of the group title line, as well as the font color. Then I would change the background to a dark gray with white font color.  If you like this idea musicmusic it would look better if it was possible to remove the line.
You can change the foreground and background colours of the group headers in next version when not in 'Themed' mode via $set_style. Line is meant to look like Windows Explorer on Vista, don't remember what it looks like in Explorer on XP and the colours may be off there I don't remember.

That's good to know.. and the way to circumvent it for now, by using auto sizing columns.

It would be also nice if the alignment settings in playlist view affected ng playlist column settings too.
Implemented for next version.

I suppose I've said this a couple of times already, but I'd like if album panel list remembered the scrollbar position. Currently it still resets to top every time I close foobar. That way I end up listening less of the albums which are on bottom of the list.. since I'm too lazy to scroll ;-)
Noted, I'll look into it later.

Sorry but it appears I am a bit late to the filter panel party. Is it possible to define the name of the playlist generated by the filter panels? I like to share a common main playlist between components and "Filter Results" isnt very flexible.
If you didn't notice yet, it uses two playlists. So I'm not sure that just a setting for playlist name (base) would solve your problem.
.

Columns UI

Reply #3882
Thank you musicmusic the the continued development of columns_ui. Looking forward to the next version.  Keep up the good work.

Columns UI

Reply #3883
I did notice that filters are using "Filter Results" for single click and "Filter Results (Playback)" for double click. I agree that simply changing the base "Filter Results" for both playlists wouldnt be a very good approach.

I suppose what I'm asking for would be a text box under File> Preference> Display> Columns UI> "Filter" Tab Just below the checkbox "Auto-send selection to playlist" to define the name of the playlist for the single click action. Similarly an additional box to define the name of the doubleclick playlist name. And if a user sets both fields to the same name it would follow that both actions would use that same playlist.

As a suggestion I think that any time any component generates a custom playlist there should be an option for the user to customize the name of that playlist. Many people have many different ways of managing playlists and being locked into a hardcoded name can be rather bothersome.

Columns UI

Reply #3884
I'm sorry I see you have the request page in your signature. All my questions are answered

Thanks for the great work by the way

Columns UI

Reply #3885
Columns UI 0.2.1 alpha 8 released. Please see changelog for details. Pay important notice to %_display_index% if you want alternating line colours in NG Playlist.

For reference, the default global style string is now:
Code: [Select]
$if(%_themed%,,$if($and(%isplaying%,$not(%_is_group%)),

$puts(back,$offset_colour(%_back%,$offset_colour($calculate_blend_target(%_back%),ff0000,20),25))
$puts(back-selected,$offset_colour(%_selected_back%,$offset_colour($calculate_blend_target(%_selected_back%),ff0000,20),25))
$puts(back-selected-no-focus,$offset_colour(%_selected_back_no_focus%,$offset_colour($calculate_blend_target(%_selected_back_no_focus%),ff0000,20),25))
,

$ifequal($mod($if2(%_display_index,%playlist_number%),2),0,
$puts(back,$offset_colour(%_back%,$calculate_blend_target(%_back%),12))
$puts(back-selected,%_selected_back%)
$puts(back-selected-no-focus,%_selected_back_no_focus%)
,
$puts(back-selected,$offset_colour(%_selected_back%,$calculate_blend_target(%_selected_back%),7))
$puts(back-selected-no-focus,$offset_colour(%_selected_back_no_focus%,$calculate_blend_target(%_selected_back_no_focus%),7))
$puts(back,%_back%)
)

)
$set_style(back,$get(back),$get(back-selected),$get(back-selected-no-focus)))
.

Columns UI

Reply #3886
Good work musicmusic. I like it. It's getting better.

I must ask though. What is your goal with NG playlist? What is better about it compared to the old one, apart from the group headers.
What does NG stand for?

Columns UI

Reply #3887
To answer your original post, you can use the %_is_group% variable in the style string to choose different colours for the group headers. I didn't decide how it will be integrated into the Colours and Fonts page yet. I may add a %_group_level% if there's a need for it.

I must ask though. What is your goal with NG playlist? What is better about it compared to the old one, apart from the group headers.
Well the grouping was the main point. It does some other stuff better as well, like tooltips and drag and drop. And it is designed as a reusable control (with the nice stuff like tooltips and inline editing built in) so I can re-use the control elsewhere (already it is used in Filter Panel and I would like a new playlist switcher panel using it)

What does NG stand for?
Good question. It could be 'New Grouped Playlist' or 'Next Gen Playlist' or 'No Good Playlist' take your pick
.

Columns UI

Reply #3888
To answer your original post, you can use the %_is_group% variable in the style string to choose different colours for the group headers. I didn't decide how it will be integrated into the Colours and Fonts page yet. I may add a %_group_level% if there's a need for it.

I think you misunderstood me. I didn't mean the entire group line, only the line that is part of the text.

Blablabla ------------------------------
.............................^This line.

Columns UI

Reply #3889
If you use a $rgb() in your group script it will make the text colour in the style script only affect the line.
.

Columns UI

Reply #3890
I noticed something else just now. I created a single column with both artist name and track title in it (Artist - Title). In this column Artist is align left, "-" is aligned center (sort of) and Title aligned right. Is that intentional? Is there a way I can align everything left in the field? The field is set to align left...

EDIT. This alignment is pretty cool though. Would be cool with a reversed one as well, if you know what I mean.
Currently. Artist________-________Title
Reversed. _______Artist - Title________

Columns UI

Reply #3891
Hi musicmusic. Thanks for your efforts on this UI, the new NG Playlist and Filter panel made the switch back from Panels quite painless and enjoyable.

Here are a few gripes, though, and a couple of requests.

1) In the new alpha when you delete any tracks from the playlist, a certain amount of tracks at the bottom gets "NEIN" in every field, and the selection frame appears. Switching to another playlist and back gets it back to normal.

2) Playlist scrolling position isn't remembered. When I switch to my Current playlist through any playlist switcher, I'm always at the top.

3) When you click on a group header, the whole group becomes selected. It would be cool if you could ctrl-click on other group headers to add them to selection (or remove by clicking again), and shift-clicking to select an interval will be nice too.

4) I'd like to be able to interact with Filter panel much the same way as with Album list. That is, be able to middle-click a node to add the filtered tracks to the currently selected playlist, and right-click on the node to enter their properties without sending them to any playlists.
I don't really mind using a separate playlist or two for this panel (triggered on left-click, for example, or double-click), and sometimes that's the best way, but usually I prefer to store my listening queue in one list, without overwriting/deleting the recently listened tracks when adding some new ones.

5) Is there a chance to use the standard tag mappings for Filter panel fields, or at least some of them? When using the Artist field to filter, the VA albums get sliced to pieces, but if you change it to Album Artist, all other albums get thrown together to "All" group, since they have this field empty.
The use of titleformatting which would certainly solve the issue may also bring some perceptible performance overhead, as I can conclude from some of the discussions on this forum, and that's something I'd like to avoid. Or is that conclusion wrong?

Columns UI

Reply #3892
I like your component now.
Two quick questions:
1) In the Filter panel, how can I show various artists contained in albums? I type the field "Various" , but doesn't work. I am confused because I can't use script in the fields.
2) Is it possible to make a feature like "Properties" "Metadata" panels in ColumnsUI?
Thank you for your Great work!

Columns UI

Reply #3893
If you use a $rgb() in your group script it will make the text colour in the style script only affect the line.

Laugh if you want or call me stupid... Do you mean like this this? Or something more advanced. $rgb doesn't seem to have any effect for me.
$if(%_is_group%,
$set_style(back,ffffff)
$set_style(text,ff8000)
$rgb(192,192,192)
)

Columns UI

Reply #3894
Hi musicmusic. Thanks for your efforts on this UI, the new NG Playlist and Filter panel made the switch back from Panels quite painless and enjoyable.

Here are a few gripes, though, and a couple of requests.

1) In the new alpha when you delete any tracks from the playlist, a certain amount of tracks at the bottom gets "NEIN" in every field, and the selection frame appears. Switching to another playlist and back gets it back to normal.
That is a big oops, it doesn't help VC9 linker keeps crashing on me during debug build  Anyway please download v2

2) Playlist scrolling position isn't remembered. When I switch to my Current playlist through any playlist switcher, I'm always at the top.
That's not implemented yet, sorry.

3) When you click on a group header, the whole group becomes selected. It would be cool if you could ctrl-click on other group headers to add them to selection (or remove by clicking again), and shift-clicking to select an interval will be nice too.
I'll note that. Ctrl clicking is OK but Shift clicking is a bit more complicated.

4) I'd like to be able to interact with Filter panel much the same way as with Album list. That is, be able to middle-click a node to add the filtered tracks to the currently selected playlist,
Yes I'll probably add some more options similar to album list panel.

and right-click on the node to enter their properties without sending them to any playlists.
That shouldn't be a problem if you disable auto-send, I guess you were looking for album list panel behaviour though? I'll look into changing it.

I don't really mind using a separate playlist or two for this panel (triggered on left-click, for example, or double-click), and sometimes that's the best way, but usually I prefer to store my listening queue in one list, without overwriting/deleting the recently listened tracks when adding some new ones.
Well, this whole issue is apparently incredibly complicated. It may change but I'm not decided on the details yet.

5) Is there a chance to use the standard tag mappings for Filter panel fields, or at least some of them? When using the Artist field to filter, the VA albums get sliced to pieces, but if you change it to Album Artist, all other albums get thrown together to "All" group, since they have this field empty. The use of titleformatting which would certainly solve the issue may also bring some perceptible performance overhead, as I can conclude from some of the discussions on this forum, and that's something I'd like to avoid. Or is that conclusion wrong?
I don't think it's fair to say it would be perceptible, mainly because I didn't measure it or anything.

I mentioned this before sometime but there are basically three possible solutions:
-Use fixed/hardcoded remappings. Disadvantage: Can't be disabled.
-Implement remappings through an extended syntax (e.g. "Genre;Album Artist,Artist;Album")
-Implement remappings through automatic detection of titleformatting script. (i.e. you can enter either a titleformat script or just field name). Disadvantage: Titleformatting script method isn't exactly compatible with inline editing, would need some additional setting for that. Not compatible with multi-value fields (at least without hacks on my side).

I am against 1 so that leaves 2 or 3. I will maybe measure how much difference title formatting will make.

I noticed something else just now. I created a single column with both artist name and track title in it (Artist - Title). In this column Artist is align left, "-" is aligned center (sort of) and Title aligned right. Is that intentional? Is there a way I can align everything left in the field? The field is set to align left...

EDIT. This alignment is pretty cool though. Would be cool with a reversed one as well, if you know what I mean.
Currently. Artist________-________Title
Reversed. _______Artist - Title________
Did you put tabs in there or smth?

Laugh if you want or call me stupid... Do you mean like this this? Or something more advanced. $rgb doesn't seem to have any effect for me.
$if(%_is_group%,
$set_style(back,ffffff)
$set_style(text,ff8000)
$rgb(192,192,192)
)

Not quite: Put the $rgb(192,192,192) at the beginning of your group script on NG Playlist prefs page instead

I like your component now.
Two quick questions:
1) In the Filter panel, how can I show various artists contained in albums? I type the field "Various" , but doesn't work. I am confused because I can't use script in the fields.
2) Is it possible to make a feature like "Properties" "Metadata" panels in ColumnsUI?
Thank you for your Great work!

1. I think it's covered above.
2. I did think about that, but it's pretty low priority.
.

Columns UI

Reply #3895
first of all... great work musicmusic.

i have some suggestions for the Filter too:
* songs without album tag are not presented in Filter's album field;
* can you add Filter field that can show album and year together (one of the most common ways to sort albums is by the year) - your second solution [extended syntax (e.g. "Genre;Artist;Album;Date Album;Date"] could solve this issue;
* configurable colors.

Columns UI

Reply #3896
That is a big oops, it doesn't help VC9 linker keeps crashing on me during debug build  Anyway please download v2
Thanks for the quick response.
The problem with deletion is gone, but the issue with the border around the focused track (which I previously mislabeled as "selection frame") is still there, though a little changed.
At the start the border is shown. It becomes hidden after switching away from foobar window, and the only way to get it back that I've found is to delete a few tracks. All this with default style settings.
Not too much of a problem, though.

That shouldn't be a problem if you disable auto-send, I guess you were looking for album list panel behaviour though? I'll look into changing it.
Somehow I don't feel like disabling autosend, with its speed and all.  At least while there's no option to add tracks to the current playlist with a single click.
But maybe an option to not autosend until there's something selected in all of the fields will be useful.

I mentioned this before sometime but there are basically three possible solutions:
-Use fixed/hardcoded remappings. Disadvantage: Can't be disabled.
-Implement remappings through an extended syntax (e.g. "Genre;Album Artist,Artist;Album")
-Implement remappings through automatic detection of titleformatting script. (i.e. you can enter either a titleformat script or just field name). Disadvantage: Titleformatting script method isn't exactly compatible with inline editing, would need some additional setting for that. Not compatible with multi-value fields (at least without hacks on my side).

I am against 1 so that leaves 2 or 3. I will maybe measure how much difference title formatting will make.
I'd vote for 2 as the simplest solution, but I guess there are people out there who like to be able to put 'The' and 'A' articles at the end, or do some other, more complicated stuff.

Maybe another thing for you to consider would be to separate sorting criteria and the display. This may become extremely useful if you add the ability to display images to the NG Playlist, and subsequently (?) to the Filter panel.

Columns UI

Reply #3897
Bug in NG Playlist: undo skips removing track with middle-click.

Columns UI

Reply #3898
Thanks for the quick response. The problem with deletion is gone
There was a similar bug when you added files to the playlist; v3 fixes that.
, but the issue with the border around the focused track (which I previously mislabeled as "selection frame") is still there, though a little changed.
At the start the border is shown. It becomes hidden after switching away from foobar window, and the only way to get it back that I've found is to delete a few tracks. All this with default style settings.
Not too much of a problem, though.
That relates to intended behaviour.

Somehow I don't feel like disabling autosend, with its speed and all.  At least while there's no option to add tracks to the current playlist with a single click.
But maybe an option to not autosend until there's something selected in all of the fields will be useful.
I was going to make it not autosend when you right click a item, it's not great behaviour.

I'd vote for 2 as the simplest solution, but I guess there are people out there who like to be able to put 'The' and 'A' articles at the end, or do some other, more complicated stuff.

Maybe another thing for you to consider would be to separate sorting criteria and the display. This may become extremely useful if you add the ability to display images to the NG Playlist, and subsequently (?) to the Filter panel.
I did some rough testing: using equivalent title format scripts (%genre%, %artist% etc.) increases initialisation time by between 25-50%. Possibly I can add both 2 and 3 maybe.


Bug in NG Playlist: undo skips removing track with middle-click.

Thank you, fixed for next version.

Thanks for all the feedback all.
.

Columns UI

Reply #3899
Did you put tabs in there or smth?

  I can't remember putting any tabs there but you were right.

Not quite: Put the $rgb(192,192,192) at the beginning of your group script on NG Playlist prefs page instead

Ah, thank you.  Now the playlist looks really good.

Some additional thoughts.
* In fields that align text to the right. When the text is longer than the cell width itself the text gets cut. Would it be possible to force this cell to align the text left and truncate (...) on the right?
* Different group settings for different playlists, with the option to turn it off when needed (in mixed playlists for example).

NG playlist is turning out awesome so far. Keep up the good work.