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
1
3rd Party Plugins - (fb2k) / Re: JSplitter (splitter + SMP x64 alternative)
Last post by Defender -
This should work fine. When I loaded the script looks like your screenshot.

Anyway at the thread I mentioned there is a general method to port any JSP3 script to SMP, so people can do it by theirselves.
@regor

I checked and it seems the smooth js files you included are exactly the ones provided with JS3 3.8.5.

Just asking since I just finished (slightly) modding these files to be aware of a couple of extra parameters:
transparency - enable/disable (when enabled accepts a different base colour for group/text/search box).
dropshadow - enable/disable dropshadow on text, rating, play/pause/search symbol.
is_playing_box - enable/disable focused&selected box also for the playing/paused item.
When all are disabled, it is just the standard smooth playlist.

So I'm interested in the follow up on the rating stars and cover background issue.
3
3rd Party Plugins - (fb2k) / Re: JSplitter (splitter + SMP x64 alternative)
Last post by Tropoje -
@regor The script loads but does not work as it should. Clicking on the star does not work

X

When I want to set a cover for playing a song there is a crash

X

Quote
Error: JSplitter v4.0.2 (JS Smooth Playlist: JS Smooth Playlist by Br3tt aka Falstaff)
Clone failed:
Invalid number of arguments

File: <main>
Line: 240, Column: 18
Stack trace:
  CreateBitmap@:240:18
  setWallpaperImg@:296:24
  oBrowser/this.context_menu@:1086:4
  oBrowser/this.on_mouse@:924:10
  on_mouse_rbtn_up@:290:6

Anyway, thank you very much for your help.
4
3rd Party Plugins - (fb2k) / Re: JSplitter (splitter + SMP x64 alternative)
Last post by regor -
@LUR what's your intention with updating the engine on every release? Scripts are complex enough to also care about dozen of different JS engines according to what people are using or not.

All this is breaking compatibility, where some SMP scripts work fine on some versions but not on others. etc.

Already warned it some time ago. Changing the engine is not a small change and it should require a lot of testing before releasing to the general public. It's not only a matter of dropping OS support, and I really appreciate the 3.7.x branch! But now it's even more clear that such branch is more stable for general use. People using 4.0.x is like "maybe it works, maybe it crashes without clear reason some day". Since they are engine crashes, only a few people identify it... and it may take months to find and reproduce them.

- Are there real performance gains?
- Have they been measured?
- Are they relevant for every iteration?
- Is it good enough from old SMP engine to firefox 90 or firefox 102.15.1?
- Is there any other reason?
- Could performance be improved looking at other points of the code?
- Are you using any kind of automatic testing to check if every JS method is working between engine updates?

For sure I, as script developer, don't need any JS feature from 2023 onward. Note the ES2022 version was already supported by firefox 90. And while I would never touch some of the oldest versions, ES2019 has been good enough for almost anything. ES2022 is just "perfect"
https://www.w3schools.com/Js/js_2022.asp

Spoiler (click to show/hide)

The only real limits using SMP right now are imposed by foobar SDK, methods exposed by SMP or at GUI creation, which is not as easy as the web UI component. But for sure not the language. Also all my performance limits involve either RAM limits or tags retrieval.

Only opening this discussion because I don't really understand your design decision and what are you aiming for... I also think it's being counterproductive to the development and usage of the component by other people. You may not agree, that's ok. And in any case I appreciate all the work you are doing.
6
3rd Party Plugins - (fb2k) / Re: foo_skip: skip tracks that match a specified search query
Last post by Seren -
@Seren : I managed to replicate the issue, it looks like core gets confused about what's going on when Skip Track skips multiple tracks in a row. The notifications about track changes are delayed and apparently some go missing entirely. I could add a workaround, but I believe it's best fixed in the core.

Thanks, are you able to pass that on or do I need to make a report in the Foobar2000 support section?
7
3rd Party Plugins - (fb2k) / Re: JSplitter (splitter + SMP x64 alternative)
Last post by TT -
@LUR,

thanks for the updates on both versions.
v3.7.1 works OK but v4.0.2 is not compatible with COM API callbacks and it crashes with type mismatch
when you search lyrics. You can try it yourself, use 4.0.2 and click top Menu > Lyrics.

Code: [Select]
ActiveX_Run failed:
ActiveXObject: Parameter `0` type mismatch

File: <main>
Line: 119, Column: 7
Stack trace:
  initLyrics@:119:7

The latest JavaScript engine does not like the native JavaScript .bind method anymore?
https://github.com/TT-ReBORN/Georgia-ReBORN/blob/dd163c2850d0c9efc21b537d8bd7beb96ed16424/profile/georgia-reborn/scripts/Base/gr-lyrics.js#L119

With v3.7.1 there is no such issue.

-TT
8
General - (fb2k) / Re: make songs/folders more frequent
Last post by regor -
As far as I understand Random Pools, unless you use SQL (in which case you may also use JS which surely will be easier xd), that's not possible with such component. You may ask at the SQL component thread though, probably it can be done as long as you limit your SQL query to specific folders.

You are not asking to compute a frequency according to a fixed proportion, but also the proportion is variable from folder to folder. What happens if I add a 3th folder? That's just too much.

I mean, if you want 50% songs from Album A and 50% from Album B that's fine, but then you are fixed to the smallest size of both. Random pools may do that, so you get a playlist from both sources and a 50% proportion. But obviously is mathematically impossible to get a 50% proportion if you add the entire sources, unless you repeat tracks -as you said-. For that you need to know the entire size of the source beforehand, which is not how the component works.

Adding to the equation arbitrary folders with arbitrary number of tracks and an arbitrary proportion of tracks... that's a no. Unless I'm missing a more simple method of doing it.

So your best bet would be to do it by yourself on any JS component or relying on the SQL thread's help. For sure my 'Playlist Tools\pools' SMP scripts could be "easily" modified to handle that, but I don't have such interest since my entire design is built around deduplication... and you are asking for the opposite (something I would not use).
9
Support - (fb2k) / Re: 2.25 preview uPnP bug
Last post by clark8888 -
change prefrerred format to FLAC, but uPnP renderer still receive stream.wav.  768khz has no noise any more.  But pausing problem not solved.

Go to:
- Preferences > Networking > UPnP > Streaming to Devices

In the field "Configuration":
- in the latest section for the manufacturer "foobar2000 media renderer"
- parameter "preferred format"
- change its value from default "OggFLAC" to "FLAC" or "WAV" or "LPCM".

And come back with information if this works.
10
General - (fb2k) / make songs/folders more frequent
Last post by nicbentulan -
in listening to music, how do listen to songs at various frequencies as follows? suppose i have a folder call this folderA of 10 songs and another folder call this folderB of 90 songs. i could artificially create a playlist in windows media player where i add folderA to the playlist 9 times and then folderB just once. so the frequency of each folder is 50% each. i would like to know alternative methods with foobar or otherwise please. the you.com chatbot also suggested i install the random pools component, but i don't quite see how to use it here.

and preferably i don't have to keep manually updating the playlist. i just add let's say a song to folderA then the playlist automatically adds that song 9x. and then if it's to folderB then the playlist automatically adds that song just 1x.