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: Configuring JS Smooth Browser (Read 1375 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Configuring JS Smooth Browser

Hello! I'm using JS Smooth Browser to display an album wall. Right now it's setup as Library/Grid/Album but it looks odd (See attached). It's showing additional copies of the same album where some of the songs on that album have different production dates!? I tried removing date from sort and it did not have the desired result.

What I'd really like to do is have the wall display albums organized alphabetically by Artist

OR

Have a condensed view where one album (in alphabetical order) shows per Artist. This could be the first album in alphabetical order of that Artists series. Upon clicking it brings up all of the rest of that Artists albums organized alphabetically with songs underneath each album heading. 

I appreciate any help,
-Barry

Re: Configuring JS Smooth Browser

Reply #1
This shows what happens when I choose to organize by Album Artist. This is basically what I want BUT... no album art?

What can I do?

Re: Configuring JS Smooth Browser

Reply #2
@regor Does anyone know how to solve this issue??

Re: Configuring JS Smooth Browser

Reply #3
Hello! I'm using JS Smooth Browser to display an album wall. Right now it's setup as Library/Grid/Album but it looks odd (See attached). It's showing additional copies of the same album where some of the songs on that album have different production dates!? I tried removing date from sort and it did not have the desired result.
-Barry

That's expected since it uses (internally) dates for album sorting. So if there are different tracks within the same album with different dates, it splits them. It also happens for compilations with various artists, etc.

Spoiler (click to show/hide)

IMO JSmooth is pretty "simple" for my use-case due to details like this and many more... (I have similar opinions about most scripts out there which are clearly aimed for people with simple setups, except wiilb scripts).

There are multiple tag grouping settings hardcoded in the scripts which -obviously- don't work for everybody.

I would simply recommend you to ditch it and use Library Tree for SMP/JSplitter, which has proper support for these things, since you can add whatever sorting/grouping you want and has much more settings available to tweak it however you want.

JS Smooth Browser at bottom, library Tree at top.
Spoiler (click to show/hide)

This is a pretty simplified TF I use for sorting by album. It checks for albums put into a directory named 'Various' (instead of artist name), so every thing there is grouped together and not split into multiple artists. It also does the same for compilations, where %DATE% is overridden by the greatest value between %COMPILATION% and %DATE%. Obviously, adjust your view patterns as needed.
Code: [Select]
View by Date - Album - Artist // $puts(foo,$stricmp($directory(%path%,2),'Various'))$max(%compilation%,%date%) - %album%|[%tracknumber%.][$if($get(foo), %artist%) $if($greater(%compilation%,1),'('%date%')') -] %TITLE%

This setup can be quickly set by clicking at 'Quick setup\Cover labels' (any of them). Then adjust TF and size as needed.

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

Re: Configuring JS Smooth Browser

Reply #4
Quote
This shows what happens when I choose to organize by Album Artist. This is basically what I want BUT... no album art?
Artist images are retrieved from your artist images set at foobar2000 preferences. Don't expect the script to magically fill your panel with images from the artists xd

To do that, you need some way to automate artist image retrieval. Using Biography package from the same dev mentioned above will do. There are other ways for sure. I coded spotify downloads for my wrapped script, and someone with a bit of JS knowledge may use it to download images for the entire library artists.

Also note Library Tree has decoupled settings for grouping/sorting and art shown so... In fact you may set the view as albums and display the artists or the view as artist and display the albums.

By album, show artists
Spoiler (click to show/hide)

By artists, show album
Spoiler (click to show/hide)

This obviously has the advantage of working for people with no artist images...

Re: Configuring JS Smooth Browser

Reply #5
@Regor thank you for the reply, info and examples!! I did a little research and it seems JSplitter is the updated version of Spider Monkey Panel. I hope that is right? So am I correct in thinking that if I download JSplitter and Library Tree, those two work together to produce the examples you attached!? Do I really need Biography package as well?

Re: Configuring JS Smooth Browser

Reply #6
@Regor thank you for the reply, info and examples!! I did a little research and it seems JSplitter is the updated version of Spider Monkey Panel. I hope that is right? So am I correct in thinking that if I download JSplitter and Library Tree, those two work together to produce the examples you attached!? Do I really need Biography package as well?
That's right. JSplitter is an "updated" version of SMP. Both work with the same scripts and packages. (JSplitter has additional things, and it's also x64 compatible)

You also need to download the Library tree package, since it's not included as sample.

Biography is optional, only if you want to -automatically- download artist images. If you already have them or you don't care about that, forget about it. For reference, people MUST use the biography package provided below. Don't use any other version, it will crash foobar at some point.
https://hydrogenaud.io/index.php/topic,112914.msg1052015.html#msg1052015

Re: Configuring JS Smooth Browser

Reply #7
@regor THIS IS FANTASTIC!!!! I got it working!

Can you tell me where I apply your syntax? I see this area (pic attached) but am not sure and don't want to mess anything up!!

View by Date - Album - Artist // $puts(foo,$stricmp($directory(%path%,2),'Various'))$max(%compilation%,%date%) - %album%|[%tracknumber%.][$if($get(foo), %artist%) $if($greater(%compilation%,1),'('%date%')') -] %TITLE%

Thank you very much.
-Barry

Re: Configuring JS Smooth Browser

Reply #8
I use the properties panel directly since those HTML popup windows don't work on wine or windows without internet explorer. But that's it. It comes with those views by default, you can edit the name and TF to your liking and then switch between them via menus.

Re: Configuring JS Smooth Browser

Reply #9
So if I go to "Preferences" then where do I go? And what's TF?

Re: Configuring JS Smooth Browser

Reply #10
Just edit it there. I was talking about my setup, I can't see such window.

TF = Title Format
https://wiki.hydrogenaud.io/index.php?title=Foobar2000:Title_Formatting_Reference


 

Re: Configuring JS Smooth Browser

Reply #13
@regor I really am confused. Here are the locations that are possibilities: Which one?

1. In "Preferences" but where? It appears I can enter it into Preferences >>Media Library >> Album Lists and more confusing there are five lines already entered so if need to enter there which one or all??

2. Preferences >>Media Library >> Album List Panel >> General but same thing here. There are five lines already entered so which one?

3. You mention "This setup can be quickly set by clicking at 'Quick setup\Cover labels" but then I showed a picture of that and you said you enter it into a properties panel directly but Isn't that the Properties Panel?

4. There's also similar syntax in Preferences >> Columns UI >> Filters under "Sort tracks added when adding to a playlist by" But I'm pretty sure that's not the place as it refers to only Playlists

Thanks Regor!

Re: Configuring JS Smooth Browser

Reply #14
You are overthinking this... I simply told you I do it in another way due to a restriction on my system.

You are also totally mixing things. If you want to tweak how a panel works, why would you change anything at preferences, media library or somewhere else?

As I told you, you already showed the right place, which -obviously- is found within the panel menus.
https://hydrogenaud.io/index.php/topic,127571.msg1060644.html#msg1060644

Anyway, If you just try it by yourself, you would see if it works or not.

Re: Configuring JS Smooth Browser

Reply #15
@Regor Thank you! I don't know if it's a translation thing or a communication thing but it seemed to me that you were stating to stay away from that when you mentioned html windows. Your response now makes it clear.

I'll add that when I input your syntax it is truncated which is odd.

Thank you Regor!


Re: Configuring JS Smooth Browser

Reply #16
I'll add that when I input your syntax it is truncated which is odd.
What do you mean?

Are you saying you can not copy this string?
Code: [Select]
$puts(foo,$stricmp($directory(%path%,2),'Various'))$max(%compilation%,%date%) - %album%|[%tracknumber%.][$if($get(foo), %artist%) $if($greater(%compilation%,1),'('%date%')') -] %TITLE%

Note the input box may also be moved to the right/left. Obviously if the string is too long, only a part is displayed there. No one has reported any kind of problems with that before.

Re: Configuring JS Smooth Browser

Reply #17
I can copy and paste the syntax just fine, The 1st picture will show that. The second picture shows the cursor in the field after I've copy/pasted and applied. So you see what's in there now and it doesn't show me the entire syntax when I click in the field.

Maybe this is ok?

-Barry


Re: Configuring JS Smooth Browser

Reply #19
You don't have to put the name of the view on the pattern input.
I did not. I simply copy/pasted in your syntax and clicked apply/ok and upon re-opening the Views page that is what I see!??