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 40072 times) previous topic - next topic
Michelist and 2 Guests are viewing this topic.

Re: foo_uie_webview

Reply #275
@ApacheReal
Please upload Template (data) folder.
I have some changes, possibly there are lines to replace according to your needs.

For example I had to put the full path for the images not found.

I didn't understand why.

Some things don't work.

Re: foo_uie_webview

Reply #276
@ApacheReal

Many Thanks, I will try.  :)
It would be helpful if you could name the Template (data) folder in this way.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: foo_uie_webview

Reply #277
@ApacheReal
Please upload Template (data) folder.
I have some changes, possibly there are lines to replace according to your needs.

For example I had to put the full path for the images not found.

I didn't understand why.
Some things don't work.
The sandbox and cross-site access protection from WebView2 is currently left at its default setting. Perhaps that is blocking some paths.

Re: foo_uie_webview

Reply #278
It always crashes on exit.

I downloaded the versions:

MicrosoftEdgeWebView2RuntimeInstallerX64

MicrosoftEdgeWebView2RuntimeInstallerX86

It won't let me install them and it won't let me uninstall what I have on my PC.

I do not know what to do.

Does the fact that Edge is 64-bit and the foobar2000 I use is 32-bit have anything to do with it?


Re: foo_uie_webview

Reply #279
Does the fact that Edge is 64-bit and the foobar2000 I use is 32-bit have anything to do with it?
It should not. My 'production' setup is the same. The SDK version I use is 1.0.2535.41 while the lastest is 1.0.2592.51 but there's nothing in the release notes about crash fixes. WebView2 on my system is 126.0.2592.87 (reported in the foobar2000 console)

My Edge disables all telemetry that MS allows me to disable ;-)

Re: foo_uie_webview

Reply #280
These are the versions installed on my PC of Edge etc.



I exclude installation or configuration problems with my PC.

I use Windows 11 Home Edition 64 bit.

Re: foo_uie_webview

Reply #281
Windows 11 Home
23H2 22631.3880

foobar2000 v2.1.5 x64
Consol: foo_uie_webview is using WebView 126.0.2592.87.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: foo_uie_webview

Reply #282
These are the versions installed on my PC of Edge etc.



I exclude installation or configuration problems with my PC.

I use Windows 11 Home Edition 64 bit.
Try to disable the telemetry as shown in my previous post to see if the crashes go away. It's in that code that the crash occurs and if you Google about it you'll find that other people also have problems with telemetry.

Re: foo_uie_webview

Reply #283
Hmm... query_paths() throws an exception.

Well the code I posted is inside a try/catch block. But if the code on the preceding line to get the album_art_data_ptr doesn't throw, neither should getting the path??

Re: foo_uie_webview

Reply #284
These are the versions installed on my PC of Edge etc.



I exclude installation or configuration problems with my PC.

I use Windows 11 Home Edition 64 bit.
Try to disable the telemetry as shown in my previous post to see if the crashes go away. It's in that code that the crash occurs and if you Google about it you'll find that other people also have problems with telemetry.

Even by disabling telemetry, the crash is systematic when foobar2000 is closed:


Re: foo_uie_webview

Reply #285
When foobar2000 is started, a temporary BrowserMetrics folder is created inside the EBWebView folder which disappears by creating a BrowserMetrics-spare.pma file

If I delete the BrowserMetrics-spare.pma file before closing foobar2000 the crash does not occur.

However, how to ensure that this temporary folder and the related BrowserMetrics-spare.pf file are not created, but I don't know how to avoid this.




Re: foo_uie_webview

Reply #286
Hmm... query_paths() throws an exception.
Well the code I posted is inside a try/catch block. But if the code on the preceding line to get the album_art_data_ptr doesn't throw, neither should getting the path??
Solved it. It's apparently by design when no external file can be found. It's just a weird design choice because an empty path list would have the same meaning. An exception for me means: something's seriously wrong.

Re: foo_uie_webview

Reply #287
When foobar2000 is started, a temporary BrowserMetrics folder is created inside the EBWebView folder which disappears by creating a BrowserMetrics-spare.pma file

If I delete the BrowserMetrics-spare.pma file before closing foobar2000 the crash does not occur.

However, how to ensure that this temporary folder and the related BrowserMetrics-spare.pf file are not created, but I don't know how to avoid this.




Maybe you could post it as a bug report?: https://github.com/MicrosoftEdge/WebView2Feedback?tab=readme-ov-file#-how-to-report-a-bug

Re: foo_uie_webview

Reply #288
After various and countless tests I returned to v0.1.5.0-alpha5

With this version I have no crashes.


Re: foo_uie_webview

Reply #289
@Case @pqyt Thanks for your advice friends !!

I have improved the behavior of the vu meters, now they are much better.

Let's see if you can take a look at it. What I've put in, I've set them to go from 0 because otherwise it would be very boring, and since it's a music player and not an audio studio, I think it's better that way.

The vu meter that comes by default in Foobar does not go above 0db, even if you play tracks with excess volume. Maybe there is some option to go from there, I'm not an expert in sound.



If you can give me any other advice, it would be welcome.

I've also added a couple more layouts and fixed other things.



I have read everything you have put further back. The Foobar community is wonderful.


Re: foo_uie_webview

Reply #290
@pqyt I just installed foo_uie_webview v0.1.6.1-alpha1 and then v0.1.6.2-alpha2

It seems that even if I uncheck the Clear browsing data on startup box, it deletes the localStorage and I am using it to remember the layout of the chosen vu meter.

localStorage.setItem('vu_meter_type', vu_meter_type);

Let's see if you can solve it. A hug friend.

Re: foo_uie_webview

Reply #291
@pqyt I just installed foo_uie_webview v0.1.6.1-alpha1 and then v0.1.6.2-alpha2

It seems that even if I uncheck the Clear browsing data on startup box, it deletes the localStorage and I am using it to remember the layout of the chosen vu meter.

localStorage.setItem('vu_meter_type', vu_meter_type);

Let's see if you can solve it. A hug friend.
This problem has been solved, pqyt has no time in the past two days, I send a test version 0.1.6.3.a3

Re: foo_uie_webview

Reply #292
@pqyt

I'll answer you here.

I saw the message privately.

I'll let you know if it's okay.





I should also understand if I need to validate the flags:
Clear...
In Private...

Re: foo_uie_webview

Reply #293
Spin Disc WebViev VS Spin Disc JS 3  :D




Re: foo_uie_webview

Reply #294
@pqyt

I'll answer you here.

I saw the message privately.

I'll let you know if it's okay.
I should also understand if I need to validate the flags:
Clear...
In Private...
I'll release it on the forum tonight but yes, alpha3 disables In Private Mode by default and uses the latest WebView2 SDK.

In Private Mode seemed like a good decision for local content but I guess I was wrong. The latest SDK hopefully fixes the crashes some of you experience.;

Re: foo_uie_webview

Reply #295
@pqyt

I'll answer you here.

I saw the message privately.

I'll let you know if it's okay.
I should also understand if I need to validate the flags:
Clear...
In Private...
I'll release it on the forum tonight but yes, alpha3 disables In Private Mode by default and uses the latest WebView2 SDK.

In Private Mode seemed like a good decision for local content but I guess I was wrong. The latest SDK hopefully fixes the crashes some of you experience.;

I've been testing for a while, and haven't had any crashes.

The problem seems to have been solved.

THX.  :D



Re: foo_uie_webview

Reply #297
foo_uie_webview v0.1.6.3-alpha3

* New: In Private mode can be enabled in the Preferences dialog and is no longer enabled by default (alpha3).
* New:
  * Methods
    * GetArtwork(): Gets the embedded artwork (front / back / disc / icon / artist) from the current playing item.
       * The album art search patterns are used first. If no matching file can be found, the embedded artwork gets queried (alpha3).
* Changed: Updated the WebView2 SDK to the latest version (alpha3).

You can download it only from GitHub during testing.

Upgrading the SDK seemed to have stopped the crashes. Cross fingers.

Re: foo_uie_webview

Reply #298
@pqyt I just installed foo_uie_webview v0.1.6.1-alpha1 and then v0.1.6.2-alpha2

It seems that even if I uncheck the Clear browsing data on startup box, it deletes the localStorage and I am using it to remember the layout of the chosen vu meter.

localStorage.setItem('vu_meter_type', vu_meter_type);

Let's see if you can solve it. A hug friend.
This problem has been solved, pqyt has no time in the past two days, I send a test version 0.1.6.3.a3

foo_uie_webview v0.1.6.3-alpha3

* New: In Private mode can be enabled in the Preferences dialog and is no longer enabled by default (alpha3).
* New:
  * Methods
    * GetArtwork(): Gets the embedded artwork (front / back / disc / icon / artist) from the current playing item.
       * The album art search patterns are used first. If no matching file can be found, the embedded artwork gets queried (alpha3).
* Changed: Updated the WebView2 SDK to the latest version (alpha3).

You can download it only from GitHub during testing.

Upgrading the SDK seemed to have stopped the crashes. Cross fingers.

Thank you very much partners. You are awesome.

It's already perfect. Maintains what is stored in localStorage.





Nice job. Thanks !!

I'm glad that you liked it. A hug friend. ;D