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 4589401 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

Columns UI

Reply #4100
I added support for fixed artwork repositories in preview 4  So if you store your artwork in a folder in a format like "X:\ArtworkStore\%album artist% - %album%.jpg" you will be able to use this now. If you set this up it is preferred over artwork provided by the core (to avoid rogue folder.jpg files showing up instead). Note: Close the preferences page for the change in settings there to be saved (will take effect on next file played).


Works nicely now, thanks musicmusic . Think you could also add the option to specify a "no cover art" image also?
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

Columns UI

Reply #4101
I have tried the new v3b1p4 however under wine the right-click popup for the artwork panel does not work. It looks like it is trying to draw something but the menu does not appear. I can access the options from File> Preferences> Display> Columns UI> "Artwork" Tab and the art displays fine.

Are there any plans to display the album art in the NG Playlist? If not, I would like to request it.

Columns UI

Reply #4102
Would you consider adding CTRL+F for searches please?

Columns UI

Reply #4103
Works nicely now, thanks musicmusic .
Welcome
Think you could also add the option to specify a "no cover art" image also?
Yes, as per my previous post.

I have tried the new v3b1p4 however under wine the right-click popup for the artwork panel does not work. It looks like it is trying to draw something but the menu does not appear. I can access the options from File> Preferences> Display> Columns UI> "Artwork" Tab and the art displays fine.
There is no dedicated context menu - it's just the standard show caption etc. So you're not missing much.

Are there any plans to display the album art in the NG Playlist? If not, I would like to request it.
Yes I would like it as well. However, I would have to be in a really good mood to feel like tackling that..

Would you consider adding CTRL+F for searches please?
It's added in latest version for NG Playlist, I forgot to add it for Columns Playlist.
.

Columns UI

Reply #4104
Filter panel: Could you please add the possibility to define a user defined autosend playlist? Personally, I use the playlist defined in Preferences-General for all my temporary needs... No need for an additional one. Also, the single click for the fields is not very responsive. I was searching first to find a possibility to edit things.

Also I think we should start a thread per subcomponent. Your columns UI is a collection of multiple panels. This thread gets too huge. Musicmusic, you should start the threads, then we can expect least whining.

3. A shortcut from the filter panels context menu to the properties page would be nice.

Great stuff. I see we have two fb2k worlds now, I'm not sure if this is good or not...

Columns UI

Reply #4105
NG playlist: New to this. Why should I use this? Except for the "headlines", this basically seems the same as columns playlist for me. If I click on the tabs, "Edit this column", I basically see the same code like the one from columns playlist. How can I make it look the same? Seems like the color code doesn't apply. I chose "Global" in the colors and fonts page. Just the same as for the columns playlist. But my columns playlist is colorful, ng playlist just black and white.

Columns UI

Reply #4106
NG playlist: New to this. Why should I use this? Except for the "headlines", this basically seems the same as columns playlist for me. If I click on the tabs, "Edit this column", I basically see the same code like the one from columns playlist. How can I make it look the same? Seems like the color code doesn't apply. I chose "Global" in the colors and fonts page. Just the same as for the columns playlist. But my columns playlist is colorful, ng playlist just black and white.



NG Playlist is a work in progress.

Columns UI

Reply #4107
Filter panel: Could you please add the possibility to define a user defined autosend playlist? Personally, I use the playlist defined in Preferences-General for all my temporary needs... No need for an additional one.
Maybe, it's a bit complicated as previously discussed.
Also, the single click for the fields is not very responsive. I was searching first to find a possibility to edit things.
Are you talking about the preferences page? Seems similar to explorer to me, I can add a context menu to make it more obvious.

Also I think we should start a thread per subcomponent. Your columns UI is a collection of multiple panels. This thread gets too huge. Musicmusic, you should start the threads, then we can expect least whining.
I like the single thread, less topics for me to keep track of.

3. A shortcut from the filter panels context menu to the properties page would be nice.
In the header context menu maybe?

How can I make it look the same? Seems like the color code doesn't apply. I chose "Global" in the colors and fonts page. Just the same as for the columns playlist. But my columns playlist is colorful, ng playlist just black and white.
They should look about the same with latest version - unless you're using the old style string syntax which NG Playlist doesn't support.
.

Columns UI

Reply #4108
Also, the single click for the fields is not very responsive. I was searching first to find a possibility to edit things.
Are you talking about the preferences page? Seems similar to explorer to me, I can add a context menu to make it more obvious.
the more I look at it (F2, TAB work), the more I think it's not too important...

Quote
Also I think we should start a thread per subcomponent. Your columns UI is a collection of multiple panels. This thread gets too huge. Musicmusic, you should start the threads, then we can expect least whining.
I like the single thread, less topics for me to keep track of.
But with one thread there's a much higher chance that certain questions will be asked twice and more...

Quote
3. A shortcut from the filter panels context menu to the properties page would be nice.
In the header context menu maybe?
Maybe  Or like many other panels, which have a preferences entry in the contents contextmenu. Here: besides the "send to autosend..." entries... Or both.

Quote
How can I make it look the same? Seems like the color code doesn't apply. I chose "Global" in the colors and fonts page. Just the same as for the columns playlist. But my columns playlist is colorful, ng playlist just black and white.
They should look about the same with latest version - unless you're using the old style string syntax which NG Playlist doesn't support.
OMG yes, I'm using the old syntax... This sounds like a lot of work for me. Thanks for your replies, I really appreciate your work!

Columns UI

Reply #4109
Is it possible to have the tab stack below the content of the tab? So instead of it always being at the top of the config it could be moved to the bottom?

Edit: Also while thinking about it would it be possible to align an element to the centre of the screen? So you have a horizontal splitter then as a child you have the play controls and an option to set them to the center width of the horizontal splitter.

Columns UI

Reply #4110
I have a problem changing the style syntax from old to new. Of course you don't have the global variables, but maybe someone can see something that isn't allowed? I always get black text on black background which indicates, there's something wrong with my syntax. Brackets and commas should be alright. Basically what I've done is to put the "|" divided sections (text, background, sel. backgroound, sel. bg non focus) into the $setstyle() command.

Code: [Select]
// text
$set_style(text,
  $if(%_is_peak%,%_albumpeak%,
  $if(%__replaygain_album_gain%,$rgb(0,0,0),
  $if(%__replaygain_track_gain%,$if($strcmp($mod(%_playlist_number%,2),1),%_2ndlinecolor%,%_1stlinecolor%),
  $rgb(255,255,255)))),
// selected text
  $if(%_is_peak%,%_albumpeak%,
  $if(%__replaygain_album_gain%,$rgb(0,0,0),
  $if(%__replaygain_track_gain%,$if($strcmp($mod(%_playlist_number%,2),1),%_2ndlinecolor%,%_1stlinecolor%),
  $rgb(255,255,255))))
)

// background
$set_style(back,
  $if(%_isplaying%,
    %_playback%,
    $if(%_isfirst%,%_dircol%,
    $if($strcmp($mod(%_playlist_number%,2),1),%_1stlineColor%,%_2ndlineColor%))),
// selected background
  $if(%_isplaying%,
    %_playback%,%_selback%),
// selected background non focus
  $if(%_isplaying%,%_playback%,$rgb(187,187,187))
)

Columns UI

Reply #4111
But with one thread there's a much higher chance that certain questions will be asked twice and more...
Well, even if there was e.g. a separate thread for Filter Panel I am sure some people would just ask questions about it here becuase it's part of Columns UI. And all most parts of the UI are some kind of panel so it's a kinda difficult to draw the line.

Maybe  Or like many other panels, which have a preferences entry in the contents contextmenu. Here: besides the "send to autosend..." entries... Or both.
In the header context menu I was thinking an "Edit fields..." entry. I don't want to add too much bloat to the other menu (it's already a bit cluttered).

Is it possible to have the tab stack below the content of the tab? So instead of it always being at the top of the config it could be moved to the bottom?

Edit: Also while thinking about it would it be possible to align an element to the centre of the screen? So you have a horizontal splitter then as a child you have the play controls and an option to set them to the center width of the horizontal splitter.
1. It is not possible.
2. It is not possible either, sorry.

I have a problem changing the style syntax from old to new. Of course you don't have the global variables, but maybe someone can see something that isn't allowed? I always get black text on black background which indicates, there's something wrong with my syntax. Brackets and commas should be alright. Basically what I've done is to put the "|" divided sections (text, background, sel. backgroound, sel. bg non focus) into the $setstyle() command.

Code: [Select]
// text
$set_style(text,
  $if(%_is_peak%,%_albumpeak%,
  $if(%__replaygain_album_gain%,$rgb(0,0,0),
  $if(%__replaygain_track_gain%,$if($strcmp($mod(%_playlist_number%,2),1),%_2ndlinecolor%,%_1stlinecolor%),
  $rgb(255,255,255)))),
// selected text
  $if(%_is_peak%,%_albumpeak%,
  $if(%__replaygain_album_gain%,$rgb(0,0,0),
  $if(%__replaygain_track_gain%,$if($strcmp($mod(%_playlist_number%,2),1),%_2ndlinecolor%,%_1stlinecolor%),
  $rgb(255,255,255))))
)

// background
$set_style(back,
  $if(%_isplaying%,
    %_playback%,
    $if(%_isfirst%,%_dircol%,
    $if($strcmp($mod(%_playlist_number%,2),1),%_1stlineColor%,%_2ndlineColor%))),
// selected background
  $if(%_isplaying%,
    %_playback%,%_selback%),
// selected background non focus
  $if(%_isplaying%,%_playback%,$rgb(187,187,187))
)
Oh, those look like legacy global variables, those aren't supported either....
.

Columns UI

Reply #4112
Oh, those look like legacy global variables, those aren't supported either....
Not only in NG playlist, but in set_style() I guess? Because the code doesn't work in both, columns and ng playlist.

Columns UI

Reply #4113
Thanks for answering my questions.

Would it be possible to bind a button to the tab? I'd probably be better of doing it in PanelsUI but I don't understand it and enjoy the simplicity of ColumnsUI

Columns UI

Reply #4114
OK, I've set all my variables now with $set_global. Some get boolean values (0|1). My below code doesn't work at all. Again black on white.
BTW, can I do boolean things like "$if($get_global(is_peak),a,b)"? Or will I have to use $stricmp and those?

EDIT. Why doesn't this work as background code in $set_style(back,)?

Code: [Select]
$if(%isplaying%,$rgb(249,36,75),$rgb(149,36,75))

If I replace this by a simple $rgb() statement, the code works. In the above case, I get a black background. Aren't conditions allowed within $set_style commands?

This is example code. I wonder why the sel. background and the sel bg non focus sections do not work.
Code: [Select]
$set_style(back,
$if(%isplaying%,$rgb(249,36,75),$rgb(109,36,75)), $if(%isplaying%,$rgb(249,36,75),$rgb(149,36,75)),
if(%isplaying%,$rgb(149,36,75),$rgb(187,187,187)))
[/s]

Columns UI

Reply #4115
Would it be possible to bind a button to the tab?
No, you can't do that (why do you want to do that?)

This is example code. I wonder why the sel. background and the sel bg non focus sections do not work.
There is a missing $ on the last line. Also, you can't put spaces in the $set_style parameters (there's one on the second line). It works after changing those things.
.

Columns UI

Reply #4116
OK, I've set all my variables now with $set_global. Some get boolean values (0|1). My below code doesn't work at all. Again black on white.
BTW, can I do boolean things like "$if($get_global(is_peak),a,b)"? Or will I have to use $stricmp and those?

EDIT. Why doesn't this work as background code in $set_style(back,)?

Code: [Select]
$if(%isplaying%,$rgb(249,36,75),$rgb(149,36,75))

If I replace this by a simple $rgb() statement, the code works. In the above case, I get a black background. Aren't conditions allowed within $set_style commands?

This is example code. I wonder why the sel. background and the sel bg non focus sections do not work.
Code: [Select]
$set_style(back,
$if(%isplaying%,$rgb(249,36,75),$rgb(109,36,75)), $if(%isplaying%,$rgb(249,36,75),$rgb(149,36,75)),
if(%isplaying%,$rgb(149,36,75),$rgb(187,187,187)))
[/s]

Because I can't place the tabs at the bottom of a config so I thought of another way of doing it by using a custom button to display the content of a tab when clicked.

Columns UI

Reply #4117
There is a missing $ on the last line. Also, you can't put spaces in the $set_style parameters (there's one on the second line). It works after changing those things.
I saw the missing $, thanks for clearing the spaces problem up.

Columns UI

Reply #4118
The job has been done, ng playlist works good. But: How can I format the color of the group rows? Currently it seems to take the color code from the following line. Or, hmm. Not always. What does it depend on?

Another problem with NG playlist, a bug it seems: I have a column with just the playlist number in it (%_playlist_number%), right aligned. It starts clipping way too soon and displays "...", despite there's much space. Also: left align aligns left, but very far on the right side. And so on, looks broken.

Columns UI

Reply #4119
The job has been done, ng playlist works good. But: How can I format the color of the group rows? Currently it seems to take the color code from the following line. Or, hmm. Not always. What does it depend on?

Another problem with NG playlist, a bug it seems: I have a column with just the playlist number in it (%_playlist_number%), right aligned. It starts clipping way too soon and displays "...", despite there's much space. Also: left align aligns left, but very far on the right side. And so on, looks broken.

1. There are some new fields for the style string you can play around with: %_is_group% and %_display_index%.

2. The first column is automatically indented according to the number of groups.
.

Columns UI

Reply #4120
1. There are some new fields for the style string you can play around with: %_is_group% [...]
OK, I used it in the global stlye string and it works. 1.: set_style(frame-...,) does not seem to work with groups? 2. I reckon the "selected background" and non-focus aren't necessary in the set_style(back)?

Columns UI

Reply #4121
I've got an idea for metafield editing usability. Currently, if we use the keyboard, we press F2 and the first entry of the current row can be edited. Then I'd press TAB in order to reach the next field in the row.
Well, but at first my finger is on f2. It would make keyboard handling lightning fast, if I could press only F2 multiple times, and the focus would jump always to the next editable field.

Columns UI

Reply #4122
OK, I used it in the global stlye string and it works. 1.: set_style(frame-...,) does not seem to work with groups? 2. I reckon the "selected background" and non-focus aren't necessary in the set_style(back)?
1. Correct.
2. They are not used currently, yes, if you don't set them they should be calculated automatically, so you should be able to get away with not setting them.

I've got an idea for metafield editing usability. Currently, if we use the keyboard, we press F2 and the first entry of the current row can be edited. Then I'd press TAB in order to reach the next field in the row.
Well, but at first my finger is on f2. It would make keyboard handling lightning fast, if I could press only F2 multiple times, and the focus would jump always to the next editable field.
Yes, I reckon that could be added. But, you use multiple fingers to type so I don't see current behaviour a problem, at least it feels natural to me. Also, I don't think anyone is actually going to discover this by themselves anyway.
.

Columns UI

Reply #4123
1. It took me a while to realize that the contents of the Filter Results playlist is automatically moved to the (Playback) playlist whenever I change the Filter view while it's playing. Thanks for all your work on Filter, but thanks in particular for adding that feature.

2. Could you make the edit fields in the Filter tab show up like that of the Grouping tab in NG playlist, to make it easier to edit more complex titleformatting?

3. There's some (but not all) albums which aren't sorted properly when I drop them into the playlist switcher from a Filter panel. See the screenshot below:



The first album isn't sorted by tracknumber (I'm not sure what it sorts by, to be honest) as I'd expect. It shows up properly sorted in the Filter Results playlist, and it's sorted properly when I drag the album onto the playlist switcher via Albumlist, Media Library Search, or Windows Explorer, so could it be something with Filter?

 

Columns UI

Reply #4124
Hey Zarkon, thanks for your posting (the image) which made me realize, the filter panel is much more powerful than I knew before  I've simply overseen I can have multiple filter panels, i.e. I can have the facets functionality    the only thing I'm missing now is userdefined target playlists...

EDIT: musicmusic, if I e.g. have a group, you extend it with "s" for the plural "All groups". I have a group "Small tracks", result is "small trackss"
Musicmusic, can we have an option to disable the vertical scrollbar for eye candy reasons? For me, the mouse wheel or keyboard is enough.