![]() |
Foobar2000 - Support and Discussions
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%] I added a line so that my playlist sorting follows this script : Code:
$if2(%album artist%,<Various Artists>) [ - %album%] 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? |
Ah, nevermind!
I just did this all in one line : Code:
$if2(%album artist%,<Various Artists>) [ - %album%] $if(%disc number% ISNOT empty,- CD %disc number%) |
edit - too late! anyway i'll leave my post:
as far as i know, the existence of a line cannot be conditional. your best bet is to put it all on one line. by the way, you can also use this syntax which will return the first value if the tag is present, and the second (in this case null) value if it is empty: $if(%disc number%,CD %disc number%,) here is the script i use, and the result for multi-disc albums Code:
$puts(sep,$transition(' '$trim($repeat('―',2)),$rgb(200,200,200),$rgb(200,200,200))) |
Strange, I tried out your script, but it splits up my compilation albums. I can't see why as it organizes by %album artist% first which is Various Artists on all my compilation albums :confused:
edit : Ah, nevermind. It was the date tag! edit 2 : By the way, can I have conditions in my library tree? Compilation albums are like this : Code:
%album%\Disc %disc number%
However, if the %disc number% is empty, this happens :
I'd like it to be conditional so that CDs only come up if the %disc number% tag has a value. It's not a biggie, but why not? :D edit again : Sorry, I'm figuring out stuff on my own again .. :p Code:
%album%\$if(%disc number% PRESENT, Disc %disc number%) |
I've run into another problem which I can't figure out. All my soundtracks and compilations are sorting nicely, but with one exception. Blade Runner just won't and I can't for the life of me figure out why :confused:
Screenshot Any ideas? |
ok firstly, you can use square brackets [] to make things only show up if they are present
so [Disc %disc number%] will only appear if the tag is filled. for sorting on your blade runner - it might have to do with the option in the Library Tree dialog where you can tell the component how to sort files when it sends them to the playlist. |
Quote:
|
did you fix the blade runner issue?
sometimes if i just remove the tag then fill it out again it will fix little issues like that... |
Quote:
|
ok now i have a question for you :D
how do you keep your comps and soundtracks from showing up in your Albums/EPs/Singles area? |
All times are GMT -6. The time now is 10:15 PM. |
© 2003-2025 Advameg, Inc.