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: arrow icon in a column in Columns UI view (Read 8081 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

arrow icon in a column in Columns UI view

Hi,


I'd like to display the stock "playing" arrow that shows up in the "Playing" column in foobar2000 default view... only in a custom column in the Columns UI view. It's the only cool component remaining from the default view that I can't seem to put into a Columns UI view.

I've been scouring Google looking for the right magic words to make this happen... and the best I can do is get text that says "PLAYING" or "PAUSED" when the song is either playing or paused.

How would I get/display those icons (playing/paused) instead?

Thanks



Chad

arrow icon in a column in Columns UI view

Reply #1
Not possible since Columns UI doesn't support (non-coverart) images in its columns. Your closest bet is ELPlaylist which requires ColumnsUI, but it's more complex to set up.

arrow icon in a column in Columns UI view

Reply #2
If you have access to Arial Unicode or a similar font, you could use an arrowlike character from there. Otherwise, yeah, ELPlaylist is going to be your best bet.

arrow icon in a column in Columns UI view

Reply #3
Cheers guys. Thanks for the fast reply. I'll download ELPlaylist.

arrow icon in a column in Columns UI view

Reply #4
One way to do this in foo_ui_columns, is to make a new column with code like this:
Code: [Select]
$if(%isplaying%,$rgb(255,255,255,255,255,255)►$rgb(),
$if(%ispaused%,$rgb(255,255,255,255,255,255)█$rgb(),)
)

I haven't gotten the %ispaused% to work, though, but it's part of the titleformatting reference.

arrow icon in a column in Columns UI view

Reply #5
i can't tell, but if his bg is white, your code will disappear:

$if(%isplaying%,>)
$if(%ispaused%,||)

edit:
and yes if you use arial unicode, it can look much better

arrow icon in a column in Columns UI view

Reply #6
One way to do this in foo_ui_columns, is to make a new column with code like this:
Code: [Select]
$if(%isplaying%,$rgb(255,255,255,255,255,255)?$rgb(),
$if(%ispaused%,$rgb(255,255,255,255,255,255)?$rgb(),)
)

I haven't gotten the %ispaused% to work, though, but it's part of the titleformatting reference.

it's not working because you need some minor modification in you script... you must use %ispaused% as first switch for $if() function and then %isplaying%.

try this:
Code: [Select]
$if(%ispaused%,$rgb(255,255,255,255,255,255)?$rgb(),
$if(%isplaying%,$rgb(255,255,255,255,255,255)?$rgb(),))