Ottodix / Eole-foobar-theme

Eole blows gently into your ear his nicest melodies.
1.29k stars 85 forks source link

Change grouping #255

Closed benjaminmesser closed 4 months ago

benjaminmesser commented 1 year ago

No matter what I do, the playlists always seem to group by Album. I went into Preferences -> Display -> Columns UI -> Playlist view -> Grouping and changed the grouping to this:

$directory(%path%)

with everything in the same folder, and yet still the grouping is by Album. No matter what I change that script to it stays to grouping by album. Example:

image

What am I doing wrong?

It would also be nice to be able to remove the (0), which I'm assuming is the year, which is empty, from the track titles.

Would appreicate any help greatly.

GZ2E01 commented 1 year ago

Don't know about that but the (0) is actually the play count. You can easily disable that in eole settings by right clicking

JadeTank commented 4 months ago

The previous reply is correct, the 0 is just the play count and can be disabled in the right click menu settings.

As for the grouping, the playlist on Eole is not the same as the ColumnUI playlist view, and changing this in the settings won't alter anything. If you want it to change the grouping setting, you will have to edit the file foobar2000\profile\themes\eole\js\WSHsmoothplaylist_trackinfos.js

To have it group by directory edit line 116 and change it to be tf_groupkey: fb.TitleFormat("$directory(%path%) ^^ $if2(%album artist%,$if(%length%,'Unknown artist(s)',%title%)) ^^ %discnumber% ## $if2(%artist%,$if(%length%,'Unknown artist',%path%)) ^^ %title% ^^ [%genre%] ^^ [%date%]"),

I will look into adding a setting for the grouping directly to the skin, but for now this your only option.