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: foo_uie_webview (Read 17683 times) previous topic - next topic
mygen, twikaros and 1 Guest are viewing this topic.

Re: foo_uie_webview

Reply #75
You have to be monumentally stupid to have a problem with the Columns UI api for retrieving colours.

Code: [Select]
//Default UI requires a GUID.
const COLORREF colour = m_callback->query_std_color(GUID);

//Columns UI requires an enum value
const COLORREF colour = cui::colours::helper().get_colour(ENUM_VALUE);

edit: added links...

DUI GUIDs
https://github.com/marc2k3/foobar2000-sdk/blob/7f047cf2e541dd2f756c023195ef95285947d201/foobar2000/SDK/ui_element.h#L84-L87

CUI enum
https://github.com/reupen/columns_ui-sdk/blob/164ab473464aaf2626544c9ee1dbb548a39282e5/columns_ui_appearance.h#L7-L13
Did you just call me stupid? Gotta work on your people skills, @marc2k3 , especially since you missed the point, again.

Re: foo_uie_webview

Reply #76
I haven't even begun to look at the colors in CUI yet. That API is so brutally broken and incomplete it is no fun to develop against. It's beyond me how it became so popular.
Well, it's old, and the person who created it wasn't even an adult when the first version was released. Largely the API is stuck as it is for compatibility reasons, but requests and suggestions are always welcome.

Dark mode is also documented here: https://columns-ui-sdk.readthedocs.io/en/latest/dark-mode.html
.

Re: foo_uie_webview

Reply #77
I haven't even begun to look at the colors in CUI yet. That API is so brutally broken and incomplete it is no fun to develop against. It's beyond me how it became so popular.
Well, it's old, and the person who created it wasn't even an adult when the first version was released. Largely the API is stuck as it is for compatibility reasons, but requests and suggestions are always welcome.

Dark mode is documented here: https://columns-ui-sdk.readthedocs.io/en/latest/dark-mode.html
@musicmusic , thx but that's not the problem. I already wrestled with it for foo_vis_spectrum_analyzer, including the colors. It's just overall weird. The fb2k api is not easy but it's more consistent.

But let's stick to the topic. We're boring the people looking for information on foo_vis_text.

Re: foo_uie_webview

Reply #78
Wow, this seems promising. Me being a dunderhead, I'm compelled to start messing with this in Linux under WINE. ::) It's, uh, not working. Can you believe it?

I did find an installer for WebView2 and installed that. However, fb2k just crashes as soon as I try to play anything. I even have to kill the process manually after the crash report dialog closes. I'll include that, FWIW.

I don't expect that this is on your radar, nor should it be right now, if ever. I only mention it in hopes that someone similarly afflicted can chime in with their brilliant fix.

Re: foo_uie_webview

Reply #79
I did find an installer for WebView2 and installed that. However, fb2k just crashes as soon as I try to play anything. I even have to kill the process manually after the crash report dialog closes. I'll include that, FWIW.
The callback from the component to WebView fails with COM error 0x8007139F. There are some mentions of this error code but not related to Wine.
I'll remove the hard crashes in a next version to make troubleshooting easier.

Re: foo_uie_webview

Reply #80
With your permission, I couldn't avoid the temptation to talk about your plugin on Reddit.

https://www.reddit.com/r/foobar2000/comments/1dhnmc2/do_you_like_my_foobar_design_for_horizontal/

It's great. I have also added the covers that now appear with a blurry fade between songs.

Also the vinyls spinning in the background change their design depending on the playlist you are listening to.

Maybe in the next few days I will make a different background, this time with a Cassette spinning around and the titles appearing on the Cassette sticker. That kind of stuff pisses me off. :D

Cheer up pqyt. It is a very powerful supplement, you have to fully vitaminize it.

Re: foo_uie_webview

Reply #81
Very nice component, I made a template with it to rotate the cover, it works very well, I hope to get the color settings of foobar2000 will be better, and also, with the eslyric lyrics component, how do I make the lyrics appear in the panel?

Re: foo_uie_webview

Reply #82
Pqyt answer is it real to add in window "Text Visualizer" streaks/strips with: slider playback and slider volume, add fadness/boldness for fonts .artist, .track? And make window "Text Visualizer" with frame transparents?

Re: foo_uie_webview

Reply #83
I leave you here my title design with the vinyl in the background, in case anyone needs it.



You just have to unzip and put all the files in the same folder where you have the Foobar2000 configuration, and within this in the foo_vis_text folder. In my case:

C:\Users\andy\AppData\Roaming\foobar2000-v2\foo_vis_text

Very nice component, I made a template with it to rotate the cover, it works very well, I hope to get the color settings of foobar2000 will be better, and also, with the eslyric lyrics component, how do I make the lyrics appear in the panel?

It's great !!. It looks very pretty and dynamic. Great how the covers and the cookie design of the CD change.

Re: foo_uie_webview

Reply #84
Using this component you will be able to view web pages and listen to music in foobar2000 Do I understand correctly?
X
YouTube Music

Re: foo_uie_webview

Reply #85
Using this component you will be able to view web pages and listen to music in foobar2000 Do I understand correctly?
[attach type=thumb]31167[/attach]

No. You will be able to further customize the player.

Foobar is famous precisely for being able to completely customize the interface. If not, in my opinion it would be another one like Winamp, MediaMonkey, AIMP, MusicBee, etc.

This plugin helps that and enhances it even more. Any effect you see on a web page (html, css and JS) can be had within Foobar.

But if you don't like to customize the interface, with any player as it comes standard you will have plenty.

Re: foo_uie_webview

Reply #86
It would be really cool to open a topic to share these animated text models (templates)...

Re: foo_uie_webview

Reply #87
Very nice component, I made a template with it to rotate the cover, it works very well, I hope to get the color settings of foobar2000 will be better, and also, with the eslyric lyrics component, how do I make the lyrics appear in the panel?
It's great !!. It looks very pretty and dynamic. Great how the covers and the cookie design of the CD change.
[/quote]
Yes, it's based on HTML+CSS rotation and shadow effects, currently it can't follow the color changes of foobar2000, for good results you need its support, and need to have a complete cover and disc image, otherwise it can only load the default image.

Re: foo_uie_webview

Reply #88
Very nice component, I made a template with it to rotate the cover, it works very well, I hope to get the color settings of foobar2000 will be better, and also, with the eslyric lyrics component, how do I make the lyrics appear in the panel?
It's great !!. It looks very pretty and dynamic. Great how the covers and the cookie design of the CD change.
Yes, it's based on HTML+CSS rotation and shadow effects, currently it can't follow the color changes of foobar2000, for good results you need its support, and you need to have a complete cover and disc image, otherwise it can only load the default image.

Re: foo_uie_webview

Reply #89
Why not? By inserting the component into the layout, I can view and listen to any sites including this one. The only question is managing links to sites.
X
YouTube Music

Re: foo_uie_webview

Reply #90
Oh yeah. Of course you could show everything you want.

Also a system that enters the title of the song in a search, and that an AI makes you a kind of article talking about the song (of all the information and web pages that Wikipedia, discongs, google, blogs, reddit has found). With the day it was recorded, how it was recorded, the history of the composition, photos, etc.

It would have to be an online AI, or a local AI that is capable of doing all that. I don't know if there will be anything now. But that detail would be brutal if it appeared with every song you listen to.

The crazy things that can be done are almost endless.


MOD edit: Remove unnecessary full quote

Re: foo_uie_webview

Reply #91
It would be really cool to open a topic to share these animated text models (templates)...

Yes, it would be very cool to share all the designs.

Let's see if pqyt discovers a way to access the same information that Foobar's peak meters access to be able to create VU Metter and that kind of crazy stuff in a personalized way.

Very nice component, I made a template with it to rotate the cover, it works very well, I hope to get the color settings of foobar2000 will be better, and also, with the eslyric lyrics component, how do I make the lyrics appear in the panel?
It's great !!. It looks very pretty and dynamic. Great how the covers and the cookie design of the CD change.
Yes, it's based on HTML+CSS rotation and shadow effects, currently it can't follow the color changes of foobar2000, for good results you need its support, and you need to have a complete cover and disc image, otherwise it can only load the default image.

It turned out great on you. I just noticed the shadow detail in the profile of the disk. That has to be impossible to do with anything other than CSS. It is the freedom that these markup and web programming languages ​​give.

In my case I have all the covers inside the album folders. I think it is better that you have everything like this, embedded covers increase the size of the files and if you want to modify the cover you have to do it in all the audio files.

Let's see if I can later put in the code that I used to put the covers with a fade effect between them.

Re: foo_uie_webview

Reply #92
Let's see if pqyt discovers a way to access the same information that Foobar's peak meters access to be able to create VU
That will not happen. It does not fit the design or the purpose of the component. foo_vis_spectrum_analyzer has peak meters.

 

Re: foo_uie_webview

Reply #93
I was referring to one of these, much less complex and simpler:





https://youtu.be/sLvoRpU0FE4

https://www.reddit.com/r/foobar2000/comments/mf3vi1/analog_vu_meters/

At Foobar we have a plugin to do this, it supports hundreds of templates. But the developer did not want to port it to the 64-bit version of Foobar. Many people stayed on the 32-bit version just to keep the analog VU Metters.

I don't know if it will be very difficult to access only the L channel and R channel peaks with C++, but something like this could be very decisive for your plugin. With a JS method that accesses that, putting an Analog VU Metter with css and js would be very simple.

But I understand that it could be complicated. :'(


MOD edit: Remove unnecessary full quote

Re: foo_uie_webview

Reply #94
I don't know if it will be very difficult to access only the L channel and R channel peaks with C++, but something like this could be very decisive for your plugin. With a JS method that accesses that, putting an Analog VU Metter with css and js would be very simple.

But I understand that it could be complicated. :'(
It's not complicated especially since I already have the code but it uses different fb2k services. Plus there is the latency caused by the transition from fb2k to JavaScript. I could see I can forward the fb2k visualization API to EdgeView but then we're heading far away from text visualization land.

Doesn't jscript_panel already have that functionality?

Re: foo_uie_webview

Reply #95
I don't think so. At least I haven't seen anything like that in JScript Panel.

JScript Panel is also wonderful. Both things serve different things.

With JScript you can have a fluid playlist, you can connect with MusicBrain, Last fm, console, custom buttons in design to access all Foobar, thumbnail view of covers, time panels, status bars, volume, etc, etc. , etc. It is a complement that covers a lot and is really cool. But Text Visualizer is completely different and serves very different things. I think both supplements are necessary to vitaminize Foobar2000 and they both complement each other very well.

To make the VU Metter analogue, I think the Text visualizer would be very useful because of the ease of doing it in html, css and js. If you have it done in C++, you can leave the js method available for whoever wants to use it, even with its shortcomings if it has any (latency, etc.).

A hug mate and thanks for your time.


MOD edit: Remove unnecessary full quote

Re: foo_uie_webview

Reply #96
Quote
Then we're heading far away from text visualization land.
Being honest, the current plugin can already be used for many more things than pure text visualization as shown on the examples. Maybe it needs to be renamed to JS visualizer, or something like that.

I would also appreciate more fb2k services; JSP uses an obsolete version of js and SMP is still mising a x64 build. Neither of them can access the playback data apart from TF.

Re: foo_uie_webview

Reply #97
If, and for now I stress if, I go down that lane expect a long period of a volatile API because I'm not part of the target user audience and design-by-comittee rarely works well.


MOD edit: Remove unnecessary full quote

Re: foo_uie_webview

Reply #98
Pqyt answer is it real to add in window "Text Visualizer" streaks/strips with: slider playback and slider volume, add fadness/boldness for fonts .artist, .track? And make window "Text Visualizer" with frame transparents?
Pqyt please don't ignore me, I'm bad at figuring things out in javascript. You don't like streaks/strips with: sliders in this plugin? P. Stuer this You? Once again, please don't ignore me.

Re: foo_uie_webview

Reply #99
Not sure pgyt understands what you are even asking, but I have the impression that people are abusing his text output tool for things it was never meant for. If your baby is abused you are not very keen on helping people abuse it further.

But that's pgyt's fault for gluing a browser into the component. It's sad to see everything turning into Electron app or a browser-powered monster.