I know I'm not the only one who's learning Foobar2000 these days. It's not super easy to those who know nothing of scripting and so on, so let's get our heads together in this thread and see if we can solve our problems.
If there's anything, ask away!
I installed Foobar only yesterday, but it is coming together quite nicely. It takes a little while, but I'm figuring stuff out.
However, there are a few problems. Number 1 is that I have a problem with playlist sorting. I have a library tree which is set up with different filters or queries if you want. One shows all Mixed Artists Compilation albums (%album artist% IS Various artists). A problem I had when I first did this was that it was sorting by artist, then albums. However, I managed to sort out that by fiddling with the playlist sorting rules. I rewrote it to this :
Code:
$if2(%album artist%,<Various Artists>) [ - %album%]
Now I wanted to add another level to the playlist sorting hierarchy, one for disc number since many albums are on multiple discs - especially compilations.
I added a line so that my playlist sorting follows this script :
Code:
$if2(%album artist%,<Various Artists>) [ - %album%]
$if(%disc number% ISNOT empty,CD %disc number%)
This works beautifully

Check out the result
here!
However, the problem comes when I'm looking at albums which do
not have multiple discs. The level of the sorting hierarchy is still there, but since it has no information to sort by, it shows up as just a line basically.
You can see the problem
here. Check out the top album - under the line with the band and the album title, there's another line. I would like to be able to have a conditional sorting hierarchy where that line doesn't show if the %disc number% tag is empty!
Can anyone help?