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: DUI panel for displaying dynamic info with title formatting? (Read 1160 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

DUI panel for displaying dynamic info with title formatting?

I probably looked over it but here's the question anyway:

Is there DUI panel for displaying dynamic info with title formatting like you can on the fb2k status bar?

I'd like to use it with foo_flowin.

 

Re: DUI panel for displaying dynamic info with title formatting?

Reply #2
My JScript Panel 3 component can do that with this included script...

https://jscript-panel.github.io/gallery/text-display/
Thx, Marc. I already experimented with your nice component it but I was hoping for something a little less heavy. I just need a couple lines to keep an eye on playback progress on another monitor while the main window is minimized.

Re: DUI panel for displaying dynamic info with title formatting?

Reply #3
There's Text Display, but it only comes in a 32 bit flavor.
https://www.foobar2000.org/components/view/foo_textdisplay.
If/when at some point in the future, 32 bit foobar2000 ceases to be a thing, I'm definitely going to miss the Text Display UI element.

Re: DUI panel for displaying dynamic info with title formatting?

Reply #4
There's Text Display, but it only comes in a 32 bit flavor.
https://www.foobar2000.org/components/view/foo_textdisplay.
If/when at some point in the future, 32 bit foobar2000 ceases to be a thing, I'm definitely going to miss the Text Display UI element.
Thx. I'll see if I can create a clone that works on x64. AKAICT there is no source code available.

Re: DUI panel for displaying dynamic info with title formatting?

Reply #5
This is what I go so far: it's an embedded WebView that accepts HTML and embedded title formatting code.


Re: DUI panel for displaying dynamic info with title formatting?

Reply #6
pqyt,
Is that a new plugin you'll be sharing, because if so I'm quite interested.

The Text Display component really suits me as I like to display a fair bit of information while keeping the UI looking fairly minimalistic.
I played around with the Spider Money and JScript Panels a while back, but as I don't speak a word of JavaScript it all seemed a bit daunting....

I think my main criteria would be the ability to choose between preferring to display the selected track or the currently playing one. I have Text Display configured the same way under two tabs with one always displaying the playing track while the selected track displays in the other.

And being able to specify the font would be good as the text can line up all sexy-like when a mono-space font is used.
This is what the Text Display UI element looks like in my setup.

Cheers.


Re: DUI panel for displaying dynamic info with title formatting?

Reply #7
I don't speak a word of JavaScript it all seemed a bit daunting....

No one needs to know a single bit of javascript to use my component/scripts. After installing the included Text Display sample...

https://jscript-panel.github.io/gallery/text-display/

..there is a right click menu>Custom text. You enter title formatting in this dialog.



The only thing most people won't be familiar with is the custom $font function which is exclusive to my component. That is documented here:

https://jscript-panel.github.io/docs/guides/font-rgb/

Re: DUI panel for displaying dynamic info with title formatting?

Reply #8
marc2k3,

I'd almost forgotten.... but I think for me the show-stopper for the JScript Panel was it not working in Wine. Let me know if I'm wrong but I remember JScript Panel requiring a component of Windows that Wine lacks.

Spider Monkey works in Wine but I was struggling to find a starting point as the sample scripts all seemed to be dependent on other scripts which were dependent on other scripts......

If I'm wrong about JScript Panel not working in Wine I'll give it another look at some stage.

PS In case you're wondering why it looks like foobar2000 was running on Windows in my screenshot, it's because it was. Windows was running in VirtualBox and I happened to be using it while I was posting, but I rarely need to these days.

Cheers.

Re: DUI panel for displaying dynamic info with title formatting?

Reply #9
Yeah, my component is very much windows only.

Continue using the existing foo_textdisplay on 32bit fb2k. Or try Columns UI which has its own built in Item Details panel which does the same thing.

Re: DUI panel for displaying dynamic info with title formatting?

Reply #10
marc2k3,

I thought I'd report back, in case anyone else wants to replace the Text Display component with JSPanel, that I followed your instructions and it was monumentally easy.

I copied the text from Text Display and all it took was adding a bit to configure the colors and font.
I was using the standard foobar2000 text highlighting method to change the heading color in Text Display like this:

>>>$if(%isplaying%,Currently Playing Track,Selected Track)<<<

After changing it to this the text displayed virtually the same in the JSPanel, except I could make the size of the font for the header larger than the rest of the text, which you can't do using the Text Display component.

$font(Cascadia Mono,10,400)$rgb(255,130,0)
$if(%isplaying%,Currently Playing Track,Selected Track)
$font(Cascadia Mono,9,400)$rgb(255,255,230)

So while it works well in Windows, is there nothing I can install in Wine that'd allow it to work?
Or do you know if SpiderMonkey Panel has a similar ability to display foobar2000's title formatting text? I had a brief play with it again but I haven't got my head around it yet.

Cheers.

Re: DUI panel for displaying dynamic info with title formatting?

Reply #11
I didn't think I could have been clearer regarding the fact it's windows only in my previous post. If you really need me to be explicit about it, JSP3 requires IE9 or later. This is impossible to install in WINE.

While SMP can certainly display title formatted text, it's not easy for someone who has no experience. A lot of javascript would have to be written. Since SMP is 32bit only and so is the original foo_textdisplay, I can't see any reason not to use the latter.