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.
Recent Posts
21
3rd Party Plugins - (fb2k) / Re: JSplitter (splitter + SMP x64 alternative)
Last post by regor -
Quote
I tried to replace the biography SMP panel with a JSpliter 4.0.3, it load well and seems to work but when I tried to import the json file with the exported configuration I get and error window pop-up

This is an important bug, because it makes impossible to transfer SMP settings to JSplitter.

Better native inside the component I think...

https://github.com/marc2k3/foo_spider_monkey_panel/commit/5c703f36fcc1d46a1101b983f3a008626a053eae

regor was well aware of me adding this even if no one else noticed.
True. I suppose people still use the VU meters for JSP3 and have not cared about it. VU meters are not really my thing and I don't think I can improve what has already been done without too much work so...  ::)  lets wait.

I was waiting for the engine bugs to be fixed to share this list of things you added (not related to v2-only usage). @LUR maybe you should take a look at these:


Quote
Bugfixes:

Make OnProcessLocationsNotify_InsertHandles use GUID, not playlistIndex.
https://github.com/marc2k3/foo_spider_monkey_panel/commit/67433164b1cdac8aec84048a7773a92c073a118c
Fixes: https://github.com/TheQwertiest/foo_spider_monkey_panel/issues/197

utils.Glob working with ';' in folder names. ( I see this requires a lot of changes with extra helpers, an easy workaround can be done directly on JS so it is not really essential)
https://github.com/marc2k3/foo_spider_monkey_panel/commit/aba1c8cf4d0586679dc57ea65383007740ac1ca8
Fixes: https://github.com/TheQwertiest/foo_spider_monkey_panel/issues/234

Improvements:

window.IsDark
https://github.com/marc2k3/foo_spider_monkey_panel/commit/b93e0a3ef9f80dcb3cf74d98c4c8fbb4cad090aa
Fixes: automatic dark themes support in scripts

fb.AddLocationsAsync(locations) and on_locations_added
https://github.com/marc2k3/foo_spider_monkey_panel/commit/75706cd7ebe232899013b39a737e8f252be961de
Fixes: playlist managers/scripts may load playlists internally as handle lists without showing the playlist on UI

fb.ShowPictureViewer(image_path)
https://github.com/marc2k3/foo_spider_monkey_panel/commit/727a298b58d4944e00cc8660148067a587a1fbfc
Fixes: Biography could open directly any art using the built-in viewer instead of a CMD call to windows image viewer.

FbMetadbHandleList.SaveAs
https://github.com/marc2k3/foo_spider_monkey_panel/commit/75706cd7ebe232899013b39a737e8f252be961de
Fixes: Library tree could save facets cache playlists internally instead of cluttering the UI with a cache playlist. Playlist managers could fully support .fpl playlists.

utils.GetClipboardText / utils.SetClipboardText
https://github.com/marc2k3/foo_spider_monkey_panel/commit/caf036c507d2974e00763381fea3d13a3bcabaf6
Fixes: Scripts could use clipboard without using ActiveX objects or requiring Internet explorer to be installed.

utils.DownloadFileAsync(url, path) and on_download_file_done
https://github.com/marc2k3/foo_spider_monkey_panel/commit/f4cacf337acd3fc40247ef619b84a237def6508d
Fixes: Scripts like biography could download art/biography without using ActiveX objects which are known to be problematic.
22
3rd Party Plugins - (fb2k) / Re: foo_uie_webview
Last post by pqyt -
When checking that, please differentiate between graphic rendering and actually running the script. There are legitimate reasons to have a panel running even if it's hidden or not visible, so processing should be handled by the script itself according to callbacks.

In SMP this is done checking window.IsVisible for ex. which can be used to halt processing if desired.

For ex. if I have a lyrics panel, the lyrics should be retrieved no matter if it's hidden or not... drawing the lyrics only when the panel is visible. Undesirable behavior would be delaying the actual lyric retrieval until the panel is visible. There are tons of examples like that related to playback, tagging, etc.
Will do. The way I usually implement is to detect when the visual of the component is hidden and then skip the rendering code.

Now, in this case, since the component has no actual rendering code except for the browser window, maybe it's best to set a flag that can be read from JavaScript and let the client code decide whether to stop rendering or not.

Any other opinions?
23
3rd Party Plugins - (fb2k) / Re: JSplitter (splitter + SMP x64 alternative)
Last post by TF3RDL -
I get it and BTW, does the ESR version of this same JavaScript engine as on Firefox mean ones that support Windows 7?

You can not use 4.0.x versions on Win7, that last Spider Monkey JS Engine which is from Mozilla/Firefox
that supports Win7 is 102.0esr:
https://www.mozilla.org/en-US/firefox/102.0esr/system-requirements/

Version 4.0.x uses v128.0 and Win10 is the minimum requirement:
https://www.mozilla.org/en-US/firefox/128.0esr/system-requirements/
Oh ok, I don't know nor check which last engine version that supports Windows 7 before posting

BTW, don't expect fb.GetAudioChunk() function being added into JSplitter sooner, so I have to wait more for LUFS bars visualization (if you assume that @Crossover have left the forum) anyway or is it (foo_uie_webview)?

Wait for the release of my new plugin I have developed, it is all you need. It has LUFS, RMS, PSR, PLR, DR etc... and also raw audio samples.
I will release it very soon!

-TT
Does it work in realtime like foo_loudness_peakmeter without having to analyze the entire audio file first? which meant that it doesn't work for radio streams and doesn't reflect what active DSPs does to audio
24
3rd Party Plugins - (fb2k) / Re: JSplitter (splitter + SMP x64 alternative)
Last post by TT -
I would prefer if these statements are measured in some way (not saying you are the one who has to do it ;) ). I even created a framework for this:
https://regorxxx.github.io/foobar2000-Framework-SMP.github.io/scripts/profiler-smp/

So it's actually possible to test specific functions (and even automate testing) with it, and comparing the reports for different versions we would really see if that's the case or not.

I know but I am too busy with finishing my stuff and have no time for tests, so I baited you to do the benchmarks.
I guess it worked? :D

-TT


25
3rd Party Plugins - (fb2k) / Re: JSplitter (splitter + SMP x64 alternative)
Last post by paregistrase -
I tried to replace the biography SMP panel with a JSpliter 4.0.3, it load well and seems to work but when I tried to import the json file with the exported configuration I get and error window pop-up

Code: [Select]
[json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - invalid literal; last read: '

Same with JSPliter 3.7.1

Biography script is 1.4.2.mod.2. The SMP used to export the props file is Spider Monkey Panel v1.6.2.25.05.20 by TheQwertiest

Back to SMP the backup props import just fine
27
3rd Party Plugins - (fb2k) / Re: JSplitter (splitter + SMP x64 alternative)
Last post by TT -
I get it and BTW, does the ESR version of this same JavaScript engine as on Firefox mean ones that support Windows 7?

You can not use 4.0.x versions on Win7, that last Spider Monkey JS Engine which is from Mozilla/Firefox
that supports Win7 is 102.0esr:
https://www.mozilla.org/en-US/firefox/102.0esr/system-requirements/

Version 4.0.x uses v128.0 and Win10 is the minimum requirement:
https://www.mozilla.org/en-US/firefox/128.0esr/system-requirements/

BTW, don't expect fb.GetAudioChunk() function being added into JSplitter sooner, so I have to wait more for LUFS bars visualization (if you assume that @Crossover have left the forum) anyway or is it (foo_uie_webview)?

Wait for the release of my new plugin I have developed, it is all you need. It has LUFS, RMS, PSR, PLR, DR etc... and also raw audio samples.
I will release it very soon!

-TT
28
3rd Party Plugins - (fb2k) / Re: JSplitter (splitter + SMP x64 alternative)
Last post by regor -
Quote
As the topic starter, you could post the current versions in the header and declare the 4.x branch temporarily unstable, since the topic already exists, why create a new one.
Unfortunately that's not how this forum works.... the first reply can not be edited even by the author. You have to ask a mod for that.

Well.. this forum is so limited and outdated (search still not working properly). Lets not talk about that xd

Quote
I think describing the 4.x versions as "temporarily unstable"
Well my suggestion is to call 3.7.x stable (without calling 4.x unstable)

It's a small change, but at least people know which one is ensured to work if they got problems.

Quote
actually it also feels faster than 3.7.1
I would prefer if these statements are measured in some way (not saying you are the one who has to do it ;) ). I even created a framework for this:
https://regorxxx.github.io/foobar2000-Framework-SMP.github.io/scripts/profiler-smp/

So it's actually possible to test specific functions (and even automate testing) with it, and comparing the reports for different versions we would really see if that's the case or not.
29
3rd Party Plugins - (fb2k) / Re: JSplitter (splitter + SMP x64 alternative)
Last post by TF3RDL -
I may have been a bit loud and harsh about the price of progress, but you should understand me too. I don't create commercial software, I don't have a personal site to publish it on, and I don't take much responsibility for what I do. I just develop a plugin in my spare time and post the results of my work so people can find it useful or not. What can I say, this thread doesn't even belong to me, I'm just here as a contributor who posts new versions for you to try and give feedback.
By "commercial software", you mean a paid/non-free software? And what there are good reasons behind not having many foobar2000 components that aren't free (but instead it is paid and/or shareware) unlike with VST plugins?

Ok, the next time a bug is found the version will be called 4.0.x-beta
I get it and BTW, does the ESR version of this same JavaScript engine as on Firefox mean ones that support Windows 7?

BTW, don't expect fb.GetAudioChunk() function being added into JSplitter sooner, so I have to wait more for LUFS bars visualization (if you assume that @Crossover have left the forum) anyway or is it (foo_uie_webview)?