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

Re: Columns UI

Reply #8050
It should not show up when other parts of the UI are focused, unless 'Playback follows cursor' is enabled. If you have 'Playback follows cursor' enabled, then that frame is the cursor referred to.
.

Re: Columns UI

Reply #8051
in my theme , i explain in the ReadMe file how to add Album cover of Radio station stream
in preferences / display add the lines :
$if($strstr(%path%,'://'),C:\Radio\%album%.png)
$if($strstr(%path%,'://'),C:\Radio\%album%.jpg)
$if($strstr(%path%,'://'),C:\Radio\%album%.webp)

Create a folder to store the images of each radio station .
https://hydrogenaud.io/index.php/topic,124489.msg1031503.html#msg1031503.


.tags https://www.foobar2000.org/components/view/foo_tags it's the best solution to add the radio logo covers in a radio stream as seen in my skin:

https://www.youtube.com/@solomusica277

m-TAGS is excellent but only for 32-bits .

Re: Columns UI

Reply #8052
Hi guys! foobar2000 v.2 finally started sounding like v.0.8.3. And I'm trying to move my theme, which I've been used to for almost 20 years, to the new version of Columns UI. It's a pity that the old config does not fit the new version (.
But thank you for having a forum with the developer).
How to place the playing time of a track on the left in the status bar?

Re: Columns UI

Reply #8053
How to place the playing time of a track on the left in the status bar?

Sorry, I was wrong. Old guy already)
How to place the playback time of a file on the right?
The code from Columns UI foobar 0.8.3 does not work in the new version(.

Re: Columns UI

Reply #8054
Could you post the code that's not working? Where are you putting that code?

In the status bar, you can use a single $tab() before some text to make that text right-aligned. Note also that there is both a status bar and a status pane, so make sure you're using and configuring the one you want.
.

Re: Columns UI

Reply #8055
Thanks for the answer! I have the code from your Column UI v. 0.1.2., Apparently that’s why it doesn’t fit into the modern version). I figured out the statusbar with your help, thank you! In general, this old Column UI v.0.1.2 is simply fantastic in its ability to customize its appearance! The new v.2 does not have such customization options, as I am beginning to understand! But I found you, the developer, and if you allow, I will ask you questions little by little).

Re: Columns UI

Reply #8056
I decided to post the status bar code from the old 64-bit) foobar 0.8.3 in an attached file. It is large and the syntax is different, which is probably why it did not work in the new version.

But I have a new problem, sorry.) When I add new files to the playing playlist using the context menu command "Enqueue in foobar2000" (I have the option to add to the end of the playlist enabled), the first of the added files to the playlist is automatically selected. And the playback order is broken(. The first added file becomes the next song in the playlist!
This was not the case in the old foobar2000. Even with the "playback follow the selected line" option enabled. Otherwise, in the old foobar2000 the first of the files added in this way was not highlighted.
The most interesting thing about the new foobar2000 is that if you add files to a playlist using the "drag and drop" function, the first of the added files is not highlighted - like in the old foobar!
Is it possible to remove the spontaneous selection of the first added file when adding files in this way? Does this problem relate to Colunm UI or to foobar2000 itself?

Re: Columns UI

Reply #8057
'Enqueue in foobar2000' is handled by foobar2000 itself, while for drag and drop the logic relating to inserting items in the playlist is handled by the UI. Regardless, when added items are selected, changing the focused item is the intended behaviour, so it is the drag and drop behaviour that has a bug here (it does change the focused item, just not to the right thing).

If you don't want that to affect which item is played next, you need to disable Playback follows cursor. You could use the playback queue to have more direct control over what is played next.
.

Re: Columns UI

Reply #8058
Thank you. I understand. So 'Enqueue in foobar2000' doesn't work correctly in foobar2000 since it breaks that queue? Do I understand correctly? It worked fine in the old foobar2000 0.8.3.
It is important for me to work with the playback queue, so turning off "Playback follows cursor" is not a solution for me(.

Can I ask another question? How can I highlight the background of the playing line with a different color? 
When it is not highlighted (unfocused).

Re: Columns UI

Reply #8059
Thank you. I understand. So 'Enqueue in foobar2000' doesn't work correctly in foobar2000 since it breaks that queue? Do I understand correctly? It worked fine in the old foobar2000 0.8.3.
It is important for me to work with the playback queue, so turning off "Playback follows cursor" is not a solution for me(.
I suggest starting a new thread for the Explorer 'Enqueue in foobar2000' questions. Seems there is still some confusion and it's not related to Columns UI.


Can I ask another question? How can I highlight the background of the playing line with a different color? 
When it is not highlighted (unfocused).

Add something like this to the style string on the Globals tab on the Playlist view preferences page:

Code: [Select]
$if(%isplaying%,
$set_style(back,$rgb(255,0,0),$rgb(255,0,0),$rgb(255,0,0))
,)

The arguments for $set_style are described here: https://wiki.yuo.be/columns_ui:config:colour_string (note that the wiki hasn't been updated in a long time, so some information on other pages there is out of date)
.

Re: Columns UI

Reply #8060

Add something like this to the style string on the Globals tab on the Playlist view preferences page:

Code: [Select]
$if(%isplaying%,
$set_style(back,$rgb(255,0,0),$rgb(255,0,0),$rgb(255,0,0))
,)

The arguments for $set_style are described here: https://wiki.yuo.be/columns_ui:config:colour_string (note that the wiki hasn't been updated in a long time, so some information on other pages there is out of date)

Great! It works!
Thank you!

Re: Columns UI

Reply #8061
I suggest starting a new thread for the Explorer 'Enqueue in foobar2000' questions. Seems there is still some confusion and it's not related to Columns UI.

Yes, that would be great! However, I do not have the necessary terminology on this issue and my explanations may be misunderstood!
What to do?
This is a really important question for me! After 20 years of habit it is difficult to change this habit)




Re: Columns UI

Reply #8065
Moreover, in the frame area the color is not inverted. Only the background color of the columns specified via the style is inverted. If I understand correctly.

Re: Columns UI

Reply #8066
Inverts the background color of the selected area for columns whose color is also specified using the style in the column settings.

I set the background color of the selected area using the global style. As you said to do in post #8059.

But I would like the color of the selected area to be determined only by the global style. And the selected area did not change its color from the specified color of the columns in the style.

Re: Columns UI

Reply #8067
If you pass multiple colours to $set_style(), it won't set the background colour to the inverse of the non-selected colour.

For example:

Code: [Select]
$set_style(back,$rgb(255,0,0),$rgb(0,255,0),$rgb(0,0,255))

sets the non-selected background colour to red, the selected background colour to green, and the selected background colour when not focused to blue. If you're still stuck, post the style script here.

There's no way to vary the focused item frame colour depending on selection status etc.
.

Re: Columns UI

Reply #8068
Here is the color setting in the "Playlist view" tab "Globals" - "Style":

$if(%playing%,
$set_style(back,$rgb(22,250,210),$rgb(80,132,239),$rgb($rgb(80,132,239)))
,)


And here are the “Style script” color settings in those columns where the color in the picture is inverted:

- 1 column (from the left): $set_style(back,$rgb(255,157,167))

- 2 сolumn: $set_style(back,$rgb(255,255,255))

I wanted the background color of the row to generally dominate the columns and overlap them. As in the frame in the picture. Is it possible to do this?

Yes, in columns where the color is not inverted, the row color is set only in the "Colors and fonts" tab.

Thank you!

Re: Columns UI

Reply #8069
You need to change pass the additional colours you want to those per-column $set_style() calls.

So change $set_style(back,$rgb(255,157,167)) to $set_style(back,$rgb(255,157,167),$rgb(255,0,0),$rgb(0,255,0)) for example (changing $rgb(255,0,0) and $rgb(0,255,0) to whatever colours you want).

.

Re: Columns UI

Reply #8070
Thank you very much! Now everything is as I need it.

 

Re: Columns UI

Reply #8071
Today I tried Popup panels out of curiosity, I created a popup (-> New panel -> panels -> console) and it showed the console log. Fine.
I pressed ESC (my intention was to close the popup) and the log vanished, but the popup stayed empty on the screen.
I did not find a way to restore the log information inside the console popup, and had to create a new panel to get the log information back.
If this is an intended behaviour, how would I get the information back, when the popup looks like this?
X

If this is not intended, consider this as a bug report ;-D

Thank you, this component is useful!

Re: Columns UI

Reply #8072
hmm. can not edit my post again, just wanted to mention, I'm on fb2k v2.1 preview 2023-09-28 and CUI 2.1.0 and pp 1.0.2.

Re: Columns UI

Reply #8073
I have a problem with my skin mod.

In this skin I created sub-multiple panels that are identical and sequential.

With playback I have the automatic change and repositioning of the active panel running both to the right and to the left also of the inactive panel recalled by playback.

I ask, is it possible that it is due to the colums ui?
How can I avoid repositioning the inactive panel during playback.

If this is not the case, or I have been imprecise, I apologize, but I am trying to understand the cause and how to resolve it.

Thank you.

I'll post a video, hoping to have been as clear as possible.

https://www.youtube.com/watch?v=BsvvhhV0-kE

Re: Columns UI

Reply #8074
Problem solved

I modified the scripts that implement the switch.

For the three Multi Panels on the right I used do.vispanel.switch

For the three Multi Panels on the left I used do.megavis.switch