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: How to sort the folder name properly in facets (Read 2348 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to sort the folder name properly in facets

I'm using fb2k version 2.1.6 with the og ver of facets, which was installed on an older version that it is compatible natively with facets that later was updated to the current version. I have facets for showing the folders in the ui, and when I looked to them, folders with "the" in folder column, are in the wrong order, i tried to modify the "command" (idk how it is said) in the facets folder configuration panel putting this: $directory(%path%) $swapprefix(%folder%,The) | %album% | %tittle% having this a result of a test and error attempt to sort the albums properly, but now some albums (with that command), a folder with individual songs appear with no tags and no metadata showing incorrectly with a question mark in the "folder" column, as well as the albums with no tags (which indeed have tags and proper names and stuff in windows explorer) are mixed with others in the properties panel, Idk what to do, since I kinda new to fb2k, and searching in reddit helped a bit, but I still need a little more of help, thanks in advance
Fiio q11 (at the moment), kiwi ears quartet with switch 2 turned on, music lover since I can remember, apassionate about tech in general and amateur photographer

Re: How to sort the folder name properly in facets

Reply #1
That screen is the standard "ReFacets" for foobar2000 v2.1.6.
The separator is "Album List".
And "ReFacets" is "folder" and "Album List" is "by folder structure".
You cannot change "Album List" or "by folder structure".
It's probably better to leave "folder" in "ReFacets" and create a new one.

Instead, it would be better to organize your tags.
Organizing your library starts with organizing your tags.
Do you have a tag editor that you normally use?
For example, "MP3TAG".
Please do not add tags using Windows Explorer.
You can also edit them all at once using foobar2000 Properties, but please use whatever you are familiar with.

foobar2000 wiki
https://wiki.hydrogenaud.io/index.php?title=Foobar2000:Foobar2000

Preferences:Album List
https://wiki.hydrogenaud.io/index.php?title=Foobar2000:Preferences:Album_List

Components/Facets (foo_facets)
This is the previous version of "Facets", but it may be helpful.
https://wiki.hydrogenaud.io/index.php?title=Foobar2000:Components/Facets_%28foo_facets%29
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, HIFIMAN ANANDA, Bowers & Wilkins P7, FiiO FT5, FiiO FT1 Pro, 水月雨 (MOONDROP) 空鳴 - VOID, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: How to sort the folder name properly in facets

Reply #2
I'll give a try with the mp3tag editor, since I already edited them in the foobar properties panel, that album still shows like that, but thanks for the advice and your answer
Fiio q11 (at the moment), kiwi ears quartet with switch 2 turned on, music lover since I can remember, apassionate about tech in general and amateur photographer

 

Re: How to sort the folder name properly in facets

Reply #3
Only the original Facets has the option - Preferences > Media Library > Facets > 'Ignore leading "The" when sorting' - where you could simply uncheck the box.

However unless you have a dark Windows theme, what you are actually using is ReFacets (since it supports "dark mode" like your screenshots)

And this is yet another issue with ReFacets - it does that sorting behind the scenes with no option to switch it off, and completely contrary to how title formatting works throughout the rest of foobar, which is standard alphanumerical sorting.

Best you can do is ask the dev @Peter to please fix this / add the same option - unfortunately nothing has happened so far to many requests around ReFacets.  (I have to wonder is there even a roadmap for fixing or adding features or does Peter consider it done and dusted? Hey, Peter, any plans Re:ReFacets?)

...

Besides that though, I have to ask (I saw your post on reddit), why are you browsing by Folder first? Since 'Folder' column basically shows the "album" folder, you are browsing by Album -> Artist, which is backwards to usual way of browsing Artist -> Album. I think it would make more sense to remove the useless Folder column and go Artist -> Album -> Tracks.

Re: How to sort the folder name properly in facets

Reply #4
(I have to wonder is there even a roadmap for fixing or adding features or does Peter consider it done and dusted? Hey, Peter, any plans Re:ReFacets?)

💕💕💕

Re: How to sort the folder name properly in facets

Reply #5
About the folder column, it's easier for me to search for a certain album, since I have a folder with individual songs, I don't have to search those songs with the artist name, also, I'm kinda bad remembering people's name, so, using the artist column to find a album it's not a way, but I find this very intuitive, because I have my main archive in my HDD with every folder-album with its correct name that has properly and precise tags and properties, so If I remember an artist or an specific album, I just have to search and no problem, and last but least, my setup was from a video, I took inspiration and I liked it, I only added some visuals, changed the colors and font, and that's it, it's my final setup if I find how to resolve the problem with sorting "the"
Fiio q11 (at the moment), kiwi ears quartet with switch 2 turned on, music lover since I can remember, apassionate about tech in general and amateur photographer

Re: How to sort the folder name properly in facets

Reply #6
Well... I did think of a hacky workaround you could use, but it does make the 'Folder' column display a horizontal scrollbar.

1) make a new column named 'Folder Sort' in Preferences > Media Library > ReFacets with this pattern-

Code: [Select]
$if($strcmp($left(%directory%,3),The),The %directory%,%directory%)

Also note: If you have modified the original 'Folder' column, make sure to change it back to default or just use -

Code: [Select]
%directory%

2) back in foobar, right-click the Folder column header > Columns > tick 'Multiple Columns'. (It might already be enabled, if so leave it on)

3) right-click the Folder column header again > Columns > select new 'Folder Sort' column.

4) drag the divider / horizontal scroll bar to the right to reveal the new column.

5) click the 'Folder Sort' column header twice to sort ascending by this column. (The original 'Folder' column will change sorting to match)

6) drag the divider / horizontal scroll bar to the left to hide the 'Folder Sort' column from view. You have to leave it enabled to keep the sorting, which makes the horizontal scrollbar visible, but no need to have the sort column visible.

... As mentioned, what silly workaround...

Re: How to sort the folder name properly in facets

Reply #7
^ In fact, you CAN hide the horizontal scrollbar by just narrowing the width of the 'Folder Sort' column to nothing (drag the right side of the column header to the left)

I should've remembered this earlier because the same thing was possible in original Facets - hidden sort columns.

Re: How to sort the folder name properly in facets

Reply #8
Thank you so much for yall's replies and advices
Fiio q11 (at the moment), kiwi ears quartet with switch 2 turned on, music lover since I can remember, apassionate about tech in general and amateur photographer