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

Re: JScript Panel

Reply #1625
Would it be possible to scan a file and draw the spectrogram seekbar on playback but without saving the image file - as an option?
Not exactly the same thing, but you can automatically clear the spectrogram image cache every time Foobar is exited by adding the following from marc2k3 to the end of the Spectrogram Seekbar's config script:
Code: [Select]
function on_script_unload() {
utils.ListFiles(spectrogram_cache).toArray().forEach(function (item) {
utils.RemovePath(item);
});
}




Re: JScript Panel

Reply #1628
Hey Marc, awesome stuff.

  • Is it possible to have for example 1 parent panel with a background/wallpaper while having 3 children on top of it with transparency? So let's say your base is a vertical splitter with the blurred current playing wallpaper. Instead of having 3 blurred backgrounds.
  • Any way to have album covers show in front of each track while not using groups? When in folder structure would be great. (See Spotify playlists for example.)

I have some programming knowledge, if it's possible, maybe you could point me to the right direction? Nowadays I rarely create accounts to ask for help, but had to do it.

Thanks in advance and keep up the great work man.

Re: JScript Panel

Reply #1629
JScript Panel 3 is always a "child" panel. It can't be a parent. Maybe you're thinking of Panel Stack Splitter or JSplitter? If JSP3 is added a Columns UI toolbar (as opposed to panel), it does support transparency so you can see through to what is below.

2nd point, no idea what you're talking about. :P

Re: JScript Panel

Reply #1630
Hello everyone!
Among the samples, “Last.fm Bio + Images” was used.
There are a lot of artist folders in the "\js_data\artists" path.
Due to the musicbrainz artist field format, folders are created for each participating artist, such as "feat.", "with", "&", etc., and images are downloaded.
Most of the downloaded images are album artist images, ignoring the participating artists, and most of them are the same images only with different folders.
Over the course of a few days, the amount of duplicate images alone approaches 1GB.

Is it possible to make this create folders based on album artist?
1. Use the track artist field only in the case of Various Artists.
2. Only use the first artist in the “%ARTISTS%” field
3. Filter only the first artist in the “%ARTIST%” field?

Anyone experiencing a similar problem?

Except for this situation, I really like musicbrainz's method.  :D

Re: JScript Panel

Reply #1631
By default, the first value of multi-values tags is already used...

Code: [Select]
$meta(artist,0)

You can override this by adding this inside the panel as the first line of code.

Code: [Select]
DEFAULT_ARTIST = '$if($stricmp(%album artist%,Various Artists),$meta(artist,0),%album artist%)'

Re: JScript Panel

Reply #1632

Code: [Select]
DEFAULT_ARTIST = '$if($stricmp(%album artist%,Various Artists),$meta(artist,0),%album artist%)'

Oh thank you so much!!

Re: JScript Panel

Reply #1633
Hello, would it be possible to add grouping by parent folder (directory) for Smooth Browser? I think that would fix my many compilations that lack Album Artists (or they are individually tagged) tags.

Another question is if there is a way to use ReFacets with Smooth Browser.

Sorry if these questions have been asked/answered before, i'm pretty new to all this, thanks!

Re: JScript Panel

Reply #1634
Hallo,

I use Jscrip3/Album Art. When I move the cursor over the image I always get an information field about the cover (see appendix).

How do I get rid of this info field?

P.S. THX. Solved it myself.


Re: JScript Panel

Reply #1636
Hello, would it be possible to add grouping by parent folder (directory) for Smooth Browser? I think that would fix my many compilations that lack Album Artists (or they are individually tagged) tags.

Another question is if there is a way to use ReFacets with Smooth Browser.

Sorry if these questions have been asked/answered before, i'm pretty new to all this, thanks!

If you use 32bit fb2k, you'd be better off using Library Tree for Spider Monkey Panel. It has zillions of options to do everything you'd want.




Re: JScript Panel

Reply #1640
3.4.30, this is a bug fix release for fb2k 1.6.x using peasants, not to be confused with the latest 3.5.x series above.

A reminder that the 3.4.x series requires windows 8.1/fb2k 1.6.6 or later.

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

https://jscript-panel.github.io/docs/changes/3-4-x/

Re: JScript Panel

Reply #1641
Hi @marc2k3,
is it possible to display art in "Text viewer" but as it is with "Thumbs'" (changing pictures from the folder being played)?
Or is it possible display anyone (ex. first or largest) of the pictures that do not have "proper" names?
Or how do we have to name the pictures to be displayed - preferably containing names of albums - not just cover, front etc. - to be able not to have multiple pictures with the same names.

Also is it possible to make the art always fit the panel?

I have minor issue with your jscript component. I use 150% scalling on display and preferences panels from your component (the one where one choses which template to use or the one where one can write own text to be displayed) do not fit on screen - I have to hide the bottom bar from Windows to be able to click OK or Cancel. I also can't resize those panels with mouse.

Re: JScript Panel

Reply #1642
"Text viewer"

Not sure what you mean by this? I have Text Display for displaying title formatting and Text Reader for displaying the content of text files. The first is not going to work in the same panel as Thumbs without a large rewrite and that's not happening. Just put 2 panels next to each other.

Quote
Also is it possible to make the art always fit the panel?

Right click image>Centre.

Quote
I have minor issue with your jscript component. I use 150% scalling on display and preferences panels from your component (the one where one choses which template to use or the one where one can write own text to be displayed) do not fit on screen - I have to hide the bottom bar from Windows to be able to click OK or Cancel. I also can't resize those panels with mouse.

Assuming 1080p, you can maximise the main configuration window and that will show the buttons with those display settings. I'll reduce the height of the Text Display title format dialog in the next release.

Re: JScript Panel

Reply #1643

Quote
Also is it possible to make the art always fit the panel?

Right click image>Centre.


That does not work. This function Centers the picture but it does not scale it with the panel. What I meant was always fitting the whole picture with proper proportions in the panel (which would sometimes produce empty margins).


Re: JScript Panel

Reply #1645
That's exactly what it does.


You showed Thumbs and I was talking about Text Display. Thumbs scale OK but art in Text Display does not (at least in my config).

Re: JScript Panel

Reply #1646
It certainly was not clear from your original post. When I suggested using the Centre option, you replied with this...

Quote
That does not work. This function Centers the picture but it does not scale it with the panel.

Text Display has none of these options so how was I supposed to know what you were dribbling on about?

Re: JScript Panel

Reply #1647
It certainly was not clear from your original post. When I suggested using the Centre option, you replied with this...

Quote
That does not work. This function Centers the picture but it does not scale it with the panel.

Text Display has none of these options so how was I supposed to know what you were dribbling on about?

Sorry for not being clear enough. In Text Display there is an option to show art as background - this one does not scale in my config.