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

Re: JScript Panel

Reply #1675
If caching of specific data on sotfware has a purpose and you are caching things totally unrelated to that aim, then I see no point to blame the user. I perfectly know I'm biased because I'm one of the people requesting a change, but that doesn't make the current design a good design anyway.
Agreed.

Re: JScript Panel

Reply #1676
It's the number of files that matter, not disk space taken.
I'm not sure how this works.  32-bit OSes can only access up to 4TB disk partitions, but are 32-bit applications accessing disks via a 64-bit OS similarly restricted?

I wouldn't like to maintain a 10TB library – backing up, verifying backups, refreshing backups... ugh!  Or the cost of shoving it up a data centre!!
It's your privilege to disagree, but that doesn't make you right and me wrong.

Re: JScript Panel

Reply #1677
Just a minor FYI;  the end code to auto-delete cached Spectrogram Seekbar images no longer works with JScript3 legacy version 3.4.32 in Foobar 1.6.18 when the sample is reloaded and edited, producing a system "alert" sound when closing Foobar.  It does work in version 3.4.30.

I'm referring to:
Code: [Select]
function on_script_unload() {
    utils.RemoveFolderRecursive(spectrogram_cache, 1);
}


Re: JScript Panel

Reply #1678
The 3.4.x series originally did not support windows 7 - the underlying code in that function requires windows 8 or later.

I then decided to make the last release(s) in the 3.4.x series support 7 again and had to remove it. You'll have to go back to this old code...

Code: [Select]
function on_script_unload() {
utils.ListFiles(spectrogram_cache).toArray().forEach(function (item) {
utils.RemovePath(item);
});
}

Re: JScript Panel

Reply #1679
I'm sorry if these are bad questions. I've been looking for ages and haven't found a sufficient answer. If someone can help clear them up I'd be very happy.

Basically, what I'm looking for is a "media library"/"library tree" script or panel that supports the background wallpaper feature. Are there any new scripts or unofficial panels that offer this?

If not, and I switch over to the 32 bit version to run the "Spider Monkey Panel" (I have a 10TB+ library) will it slow down my computer?

I have one final question...

Does either one of the JScript panel playlists ("Smooth Playlist" or "JS Playlist") have the option to auto-collapse rows?

Thanks guys

Re: JScript Panel

Reply #1680
Suck it and see.

Install fb2k 32bit in portable mode and then install SMP. This is the script you'll want for browsing your library...

https://github.com/Wil-B/Library-Tree


Re: JScript Panel

Reply #1681
It's the number of files that matter, not disk space taken.
I'm not sure how this works.  32-bit OSes can only access up to 4TB disk partitions, but are 32-bit applications accessing disks via a 64-bit OS similarly restricted?

I wouldn't like to maintain a 10TB library – backing up, verifying backups, refreshing backups... ugh!  Or the cost of shoving it up a data centre!!

Well I have 5TB and I keep the backup up to date (via FreeFileSync software) and on foobar 64-bit it works great for me. I use an SSD for temporary music (metadata tagging) and then use original and copy on mechanical disks. Soon I want to move both original and copy to SSD disks so the times for sporadic mass metadata conversions and backups will be greatly reduced.

Re: JScript Panel

Reply #1682
Thanks a lot Mark. I took your advice and my interface looks excellent.

Does either of the JScript panel playlists ("Smooth Playlist"/"JS Playlist") offer the "auto-collapse" albums option similar to ESPlaylist? I haven't found any yet so I'm guessing it's a no, but I wanted to check and make sure.

I really appreciate your help with my questions thus far.

Re: JScript Panel

Reply #1683
Ancient versions had collapse support. Current versions do not.

Re: JScript Panel

Reply #1684
Hi,
simple question: Can I create simple triangles or polygons with or without filling? I didn't find anything about it in the documentation ...
Possibly a feature request? :-)
Thank you for the effort.

ASopH

Re: JScript Panel

Reply #1685
Not possible. WSH panel mod/original JScript Panel/Spider Monkey panel have methods for this using old windows APIs (gdiplus) but I completely ditched support for that in JSP3. I was and probably still am too stupid to implement whatever the Direct2D equivalent is.

But SVG is supported. These can be generated on the fly or read from file with utils.LoadSVG

https://en.wikipedia.org/wiki/SVG


Re: JScript Panel

Reply #1686
ok thx, I'll give it a try


Re: JScript Panel

Reply #1688
3.5.6

https://jscript-panel.github.io/docs/changes/

https://github.com/jscript-panel/release/releases/tag/latest

Existing users of Last.fm Bio + Images must update the script in the panel from the Samples button after this update.

After installing this version and reloading vanilla thumbs.txt, no art is displayed. Please check ...

EDIT: Apparently custom folder was not selected anymore. All good now.

Re: JScript Panel

Reply #1689
nvm

Re: JScript Panel

Reply #1690
3.5.6

https://jscript-panel.github.io/docs/changes/

https://github.com/jscript-panel/release/releases/tag/latest

Existing users of Last.fm Bio + Images must update the script in the panel from the Samples button after this update.


I just upgraded to 3.5.6 and I see that Thumbs has incorporated the background image in the "Centre" option. I find that the background is too intense. I would like it to be more muted and more transparent so as not to smear the original image. I also wish there was an option to remove it. Maybe in the properties you could regulate the intensity of the background.



Re: JScript Panel

Reply #1693
Marc2k3,

Current vanilla Properties + Other Info sample script does not support display of Channel Mapping %channel_mask%.
As you can see in the screenshot ELP section all files have a valid value of this field.

Can this be fixed?

Thx

Re: JScript Panel

Reply #1694
The "Other info" is not title formatting. It is information provided by the foobar2000 SDK and there is nothing that can be changed in my code. It's supposed to reflect what you see in the properties dialog>Details tab, nothing more, nothing less.

edit: what I just said is not strictly true. The properties dialog does display extended info for mp3 files which is not provided by the fb2k SDK method I use.



I can only display "Location", "General" and sections from Playback statistics/3rd party variants.


Re: JScript Panel

Reply #1695
The "Other info" is not title formatting. It is information provided by the foobar2000 SDK and there is nothing that can be changed in my code. It's supposed to reflect what you see in the properties dialog>Details tab, nothing more, nothing less.

edit: what I just said is not strictly true. The properties dialog does display extended info for mp3 files which is not provided by the fb2k SDK method I use.
I can only display "Location", "General" and sections from Playback statistics/3rd party variants.
I was pretty sure I have seen your script display channel mapping and it indeed does for (at least) 6ch audio.

It is what you say, channel mapping is displayed in the Properties/Details/General as well for these 6ch files.
The files that only state the number of channels in your script also only display the number of channels in Properties/Details/General.

I noticed is that you (and Properties/Details/General) have access to %channel_mask% when $info(WAVEFORMATEXTENSIBLE_CHANNEL_MASK) has a value. As you can see in my ELP display the ones that display channel mapping have a value of  0x003F or 0x060F.

I find it a bit peculiar that something ancient as ELP does have access to %channel_mapping% even if $info(WAVEFORMATEXTENSIBLE_CHANNEL_MASK) has no value where your script and Properties/Details/General have not.

Re: JScript Panel

Reply #1696
First sentence of my previous post...

Quote
The "Other info" is not title formatting

ELPlaylist only deals in title formatting so whatever it does is irrelevant.

You have not shown the Properties dialog displaying something my script does not - and obviously that mp3 info I already mentioned does not count.

Re: JScript Panel

Reply #1697
First sentence of my previous post...
Quote
The "Other info" is not title formatting

ELPlaylist only deals in title formatting so whatever it does is irrelevant.

You have not shown the Properties dialog displaying something my script does not - and obviously that mp3 info I already mentioned does not count.
No, I confirmed what you said: "It is what you say".

I'm sorry, I don't understand a word you're saying about ELP. You say it only deals in TF. Channel mapping is available in ELP.

It's also very available in Panel Stack Splitter.

I truly don't understand. You deal with TF also all the time with the eval stuff.

What's different here?

Re: JScript Panel

Reply #1698
Marc2k3,

Current vanilla Properties + Other Info sample script does not support display of Channel Mapping %channel_mask%.
As you can see in the screenshot ELP section all files have a valid value of this field.

Can this be fixed?

Thx
Marc2k3,

You are probably not interested, but I am and maybe other people as well.

Since the last 2.2 update (or the one before) things got really better.

I did some testing and to summarize:
TrueHD does not show channel mapping. Neither in a MKV or TTA.
Native PCM in WAV/MKV does not display channel mask.
Anything less than 3 channels does not display channel mask (fine with me; I suppress it in ELP/PSS as well).

All FLAC, MAPE, AC3, EAC, DTS, DTS-HD, DTS:X are displaying stuff correctly.

Reporting in Properties/Details/General, your sample script and ELP/PSS is consistent (besides less than 3 channels).

So conclusion is that fooBar itself should add support for TrueHD and PCM.

EDIT: FooBar also does not support display of correct channel mapping in DVDA and SACD iso's.

Re: JScript Panel

Reply #1699
Save this inside the component folder\samples\js overwriting the original.

https://raw.githubusercontent.com/jscript-panel/component/main/samples/js/thumbs.js

This will be included in the next release.

Hello,

https://imgbox.com/ouKSU83N

In the case of disk scans, it doesn't look good. In my opinion, the entire background should be clear. Is it possible to reduce the blur intensity further?