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 313228 times) previous topic - next topic
0 Members and 3 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!