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: JScript Panel (Read 297337 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

Re: JScript Panel

Reply #850
Hi :) @marc2k3

JScript Panel 3 3.1.0-Beta.1 / "JS Playlist"

contextmenu is missing "convert" and "file operation"

https://i.imgur.com/qPe7mBk.png
https://i.imgur.com/v3kPr2a.png

am i missing something?
Thanks for your help.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH-ULT900N (ULT WEAR) (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel

Reply #851
And these are the same installs? It works fine for me...



Everything below the line outlined in red is provided by foobar2000 itself and is dependent on the components you have installed (and the preferences at File>Preferences>Display>Context menu)


Re: JScript Panel

Reply #853
> And these are the same installs?
bingo! OH Sorry.
Option was unchecked during installation.
----------
Portable installation
https://i.imgur.com/9wsO5iw.png

Standard installation
https://i.imgur.com/9iLOB1h.png

Thanks.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH-ULT900N (ULT WEAR) (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel

Reply #854
Not sure if anyone is messing around with exotic WIC codecs like jxl but the following features may crash...

album art sample configured to use fb2k image viewer on double click
track info + seekbar + buttons (with or without spectrogram) may crash if clicking the little cover thumbnail
IMetadbHandle ShowAlbumArtViewer for anyone writing their own scripts

Double clicking the default UI album art viewer has the same issue so it's something that needs to be worked around in fb2k: https://hydrogenaud.io/index.php/topic,122846.msg1014522/topicseen.html#new

Your bog standard image types and webp/codecs provided by microsoft should be OK.

Re: JScript Panel

Reply #855
Ratings don't work in JS Playlist or JS Smooth with new V2.0 Beta. Ratings in JS Playlist in SMP doesn't work either, but JS Smooth it does.

Re: JScript Panel

Reply #856
This is because playback statistics (previously foo_playcount) is built in to fb2k and using %rating% to display actual ratings from tags no longer works. This is something I have no control over.

Using rating tags is still possible but you have to follow the detailed instructions I wrote here....

https://marc2k3.github.io/jscript-panel/docs/changes/#sample-changes


Re: JScript Panel

Reply #857
This is because playback statistics (previously foo_playcount) is built in to fb2k and using %rating% to display actual ratings from tags no longer works. This is something I have no control over.

Using rating tags is still possible but you have to follow the detailed instructions I wrote here....

https://marc2k3.github.io/jscript-panel/docs/changes/#sample-changes



That's weird because in version 1.6.11 I remove foo_playcount and the JS Playlist ratings still work. That's using Spider Monkey...I have not confirmed that on Jscript.

Ok, just tested Jscript with no foo_playcount and it indeed does not work with 16.11. Funny how it works with SMP.

WAIT, scratch that. It does work with JScript. I originally used a defunct playlist to test it so that's why it didn't work. So Jscript rating will work with 1.6.11 and foo_playcount removed.

Re: JScript Panel

Reply #858
Rating cripts for JSP2 / v3.0.x simply do not play nice with fb2k v2. Stick to fb2k v1 if you want to continue using them.

The scripts included with JSP 3.1.0+ do play nice with fb2k v2 but some manual steps have to be taken as I mentioned in my previous post with the link to my change page.

Re: JScript Panel

Reply #859
JSP 3.1.0 +JSSP:
How do I increase the ⭐ spacing between icons? For example, 2 pixels.
The scroll bar and the list on the left overlap by 1 pixel, where should I modify it?

 

Re: JScript Panel

Reply #860
No you can't change the spacing. Maybe the custom font we discussed will fix this but it's low priority right now.

As for the scrollbar, I don't know what you mean. I even tried increasing the font size to see if it makes anything clearer.... and nope.




Re: JScript Panel

Reply #863
IMO, I think the scrollbar looks better without zooming along with the fonts/cover-art.

On an older version of JSPlaylist I modified it so it appeared like a standard windows scrollbar no matter what zooming level you set.

(Yes, I know this post is totally pointless)

Re: JScript Panel

Reply #864
Do it is possible to add a parameter to new _button to set the font instead of use every FontAwesome?


Re: JScript Panel

Reply #866
JSP2 is abandoned for x64 and I have migrate.
I arrested a first attempt long ago.
Now I retry.


Re: JScript Panel

Reply #868
I prefer:
   this.font_str = JSON.stringify({Name:this.font,Size:this.h - _scale(0)});

do it is possible parameter for _scale?


Re: JScript Panel

Reply #870
But I not will scale all button but only the font size:
   this.scaleFont = normal.scaleFont || 10;


Re: JScript Panel

Reply #872
I know... ty.

Re: JScript Panel

Reply #873
Benchmarking old JSP vs new JSP on fb2k v2 with a simple title format call on every library item.

Code: [Select]
var tfo = fb.TitleFormat("%artist% - %title%");
var items = fb.GetLibraryItems();
var arr = tfo.EvalWithMetadbs(items).toArray();

Code: [Select]
JScript Panel v2.8.8 (id:8586070): initialised in 76 ms
JScript Panel v2.8.8 (id:8586070): initialised in 77 ms
JScript Panel v2.8.8 (id:8586070): initialised in 76 ms
JScript Panel v2.8.8 (id:8586070): initialised in 76 ms
JScript Panel v2.8.8 (id:8586070): initialised in 76 ms
JScript Panel 3.1.0-Beta.1 (id:3670846): initialised in 8 ms
JScript Panel 3.1.0-Beta.1 (id:3670846): initialised in 8 ms
JScript Panel 3.1.0-Beta.1 (id:3670846): initialised in 8 ms
JScript Panel 3.1.0-Beta.1 (id:3670846): initialised in 9 ms
JScript Panel 3.1.0-Beta.1 (id:3670846): initialised in 8 ms
JScript Panel 3.1.0-Beta.1 (id:3670846): initialised in 8 ms

And yes, my library is tiny. No laughing please.



Re: JScript Panel

Reply #874
In V2 I use:
Code: [Select]
var gp = tmp_img.GetGraphics();
ctab[i].total_lines = gp.EstimateLineWrap(ctab[i].text, g_font, ww - (H_PADDING * 2) - padx).toArray().length;
to use in lyrics script.
Do it have a equivalent for V3?